Re: How to create vlan (four NIC into one) using lagg

2013-07-26 Thread Boris Astardzhiev
Hi Xu Zhe,

If I were you I would first of all check cables. They might be the cause.
Secondly, if cables are good, to me this report very much resembles a PR I
reported a
few weeks ago - http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/179926
Check its set and look at the patch I submitted. It's a pity there's no
response to it.

Greetings,
Boris


On Thu, Jul 25, 2013 at 3:55 PM, Xu Zhe pete...@cyphy.net wrote:

 Hi, all,

 I am trying to use lagg to bind four 1Gb NIC into 4Gb one. I was testing
 this using two machines running FreeBSD 8.2, each of the machine has
 four 1Gb ethernet card, and connected correspondingly, means:

 MACHINE1 MACHINE2
 em0 -em0
 em1 -em1
 em2 -em2
 em3 -em3

 Then I created vlan called 'lagg0' on each machine using:

 ifconfig lagg0 create
 ifconfig lagg0 laggproto lacp laggport em0 laggport em1 laggport em2
 laggport em3
 ifconfig lagg0 1.1.1.1/24
 ifconfig lagg0 up

 And do this on MACH2 too, only change IP from 1.1.1.1 to 1.1.1.2.

 But I cannot ping each other, since none of the link is both active:

 MACHINE1
 # ifconfig lagg0
 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

 options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC
 ether 00:08:9b:d4:91:64
 inet 1.1.1.1 netmask 0xff00 broadcast 1.1.1.255
 media: Ethernet autoselect
 status: active
 laggproto lacp
 laggport: em3 flags=1cACTIVE,COLLECTING,DISTRIBUTING
 laggport: em2 flags=18COLLECTING,DISTRIBUTING
 laggport: em1 flags=18COLLECTING,DISTRIBUTING
 laggport: em0 flags=18COLLECTING,DISTRIBUTING

 MACHINE2
 # ifconfig lagg0
 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

 options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC
 ether 00:08:9b:d3:72:60
 inet 1.1.1.2 netmask 0xff00 broadcast 1.1.1.255
 media: Ethernet autoselect
 status: active
 laggproto lacp
 laggport: em3 flags=18COLLECTING,DISTRIBUTING
 laggport: em2 flags=1cACTIVE,COLLECTING,DISTRIBUTING
 laggport: em1 flags=1cACTIVE,COLLECTING,DISTRIBUTING
 laggport: em0 flags=1cACTIVE,COLLECTING,DISTRIBUTING

 So, em3 is active on MACHINE1 but not active on MACH2, while em0-em2 are
 active on MACH2 but not on MACHI1.

 What might be the problem?

 Thanks!
 Peter
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installation hangs during Archive extraction phase (9.1)

2013-07-26 Thread Ewald Jenisch
Hi,

Upon trying to install FreeBSD 9.1 on a HP Proliant DL585G5
installation freezes when it comes to the point Archive Extraction
while extracting ports.

To be specific, the system freezes while extracting ports.txz at 23%
with Overal Progress being 29%.

First I thought about the installation medium, so I re-burned the
installation CD (disc1), tried the DVD-installation, even installing
over the network - the machine always freezes when it comes to archive
extraction.

For the hardware part:
HP Proliant DL585G5
128GB RAM
8 HDs a 146GB: two of them in Raid-1, the remainder Raid0
2x onboard LAN: (HP NC371i)
2 addon NIC-cards with 2 ports each (HP NC360T)

Harddisk has been set up with GPT, for the test automatic
partitioning.

Has anybody out there seen this type of problem? If yes, any known
cure/hint/???

Thanks much in advance for any clue,
-ewald

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation hangs during Archive extraction phase (9.1)

2013-07-26 Thread bw.mail.lists

On 7/26/2013 12:00 PM, Ewald Jenisch wrote:

Hi,

Upon trying to install FreeBSD 9.1 on a HP Proliant DL585G5
installation freezes when it comes to the point Archive Extraction
while extracting ports.

To be specific, the system freezes while extracting ports.txz at 23%
with Overal Progress being 29%.


You don't actually need to install ports.txz. All it does is populate 
/usr/ports, but you can do that after install using portsnap as 
documented in the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html):


portsnap fetch
portsnap extract




First I thought about the installation medium, so I re-burned the
installation CD (disc1), tried the DVD-installation, even installing
over the network - the machine always freezes when it comes to archive
extraction.

For the hardware part:
HP Proliant DL585G5
128GB RAM
8 HDs a 146GB: two of them in Raid-1, the remainder Raid0
2x onboard LAN: (HP NC371i)
2 addon NIC-cards with 2 ports each (HP NC360T)

Harddisk has been set up with GPT, for the test automatic
partitioning.

Has anybody out there seen this type of problem? If yes, any known
cure/hint/???

Thanks much in advance for any clue,
-ewald

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mari reduceri!!!!

2013-07-26 Thread SWISS-CORNER . RO
Pentru a vedea _[online][1]_ acest mesaj personalizat [click aici][2]

Va rugam sa adaugati adresa de mail **off...@swiss-corner.ro** in Address
Book pentru a va asigura ca primiti mesajele noastre in **Inbox**.

[1]: #
[2]: #

[3]: 
http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff?like=facebook
[4]: 
http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff?share=twitter
[5]: 
http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff?share=linkedin
[6]: 
http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff?like=plusone
[7]: 
http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff?share=pinterest

Reduceri estivale in limita stocului disponibil!

[8]: 
http://nl.kiccall.eu/clk/48846/53449894/996954/562e26cf25a48d17e048960b0e7610be 
Blanc D`or Bracelet
[9]: 
http://nl.kiccall.eu/clk/48846/53449894/996960/9b257a86d1bd7bab93efc9e066fa5fac 
Orange

##

[10]: 
http://nl.kiccall.eu/clk/48846/53449894/996956/c775d799f05d9c5b994cf0f1a5459d2a 
red
[11]: 
http://nl.kiccall.eu/clk/48846/53449894/996953/8262fc9854c3a2fae52cee2124196b0b 
Rosie Mumu Cow

##

**[http://nl.kiccall.eu/clk/48846/53449894/996958/9f600f442983760f2e2956ee3a313ebe][12]**

**[off...@swiss-corner.ro][13]**

[12]: 
http://nl.kiccall.eu/clk/48846/53449894/996952/7876a35b61325657953d25a6f53f284c
[13]: mailto:off...@swiss-corner.ro

**0256/220 823**

**0728/692 891**

Pentru a vedea [online][14] acest mesaj personalizat [click aici][15]

Pentru dezabonare instant [click aici][16].

[14]: http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff
[15]: http://nl.kiccall.eu/v/48846/53449894/b79edf1ae2df99e525e9152f96c132ff
[16]: 
http://nl.kiccall.eu/unsubscribe/653/48846/53449894/b79edf1ae2df99e525e9152f96c132ff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mari reduceri!!!!

2013-07-26 Thread SWISS-CORNER . RO
Pentru a vedea _[online][1]_ acest mesaj personalizat [click aici][2]

Va rugam sa adaugati adresa de mail **off...@swiss-corner.ro** in Address
Book pentru a va asigura ca primiti mesajele noastre in **Inbox**.

[1]: #
[2]: #

[3]: 
http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c?like=facebook
[4]: 
http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c?share=twitter
[5]: 
http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c?share=linkedin
[6]: 
http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c?like=plusone
[7]: 
http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c?share=pinterest

Reduceri estivale in limita stocului disponibil!

[8]: 
http://nl.kiccall.eu/clk/48846/53449911/996954/7069d6f9e7a3c120b11f7d8b2b8a799d 
Blanc D`or Bracelet
[9]: 
http://nl.kiccall.eu/clk/48846/53449911/996960/ce971fc578ee0fb2b2fc0ae54146281b 
Orange

##

[10]: 
http://nl.kiccall.eu/clk/48846/53449911/996956/b6ef30ecc89dd3049eae291e16f1a14e 
red
[11]: 
http://nl.kiccall.eu/clk/48846/53449911/996953/78804b63dccb55dcb5cceb67905c6941 
Rosie Mumu Cow

##

**[http://nl.kiccall.eu/clk/48846/53449911/996958/fcc7cc226cb8887227f7626d10ab2a19][12]**

**[off...@swiss-corner.ro][13]**

[12]: 
http://nl.kiccall.eu/clk/48846/53449911/996952/5649e4d24800fcb5ab6c839bb4f59848
[13]: mailto:off...@swiss-corner.ro

**0256/220 823**

**0728/692 891**

Pentru a vedea [online][14] acest mesaj personalizat [click aici][15]

Pentru dezabonare instant [click aici][16].

[14]: http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c
[15]: http://nl.kiccall.eu/v/48846/53449911/64a3728514d51dff9e2c6c515adced3c
[16]: 
http://nl.kiccall.eu/unsubscribe/653/48846/53449911/64a3728514d51dff9e2c6c515adced3c

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation hangs during Archive extraction phase (9.1)

2013-07-26 Thread Ewald Jenisch
On Fri, Jul 26, 2013 at 01:16:32PM +0200, bw.mail.lists wrote:
 You don't actually need to install ports.txz. All it does is populate 
 /usr/ports, but you can do that after install using portsnap as 
 documented in the handbook 
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html):
 
 portsnap fetch
 portsnap extract
 

Hi,

Thanks for the hint. Now I could finish the installation (which takes
like forever (speaking in terms of 2 hours which is pretty strange
given the raw power of this machine)) however after rebooting the box
behaves weird to say the last:

I started out be entering portsnap fetch. Everything runs fine up to
the point when I see Verifying snapshot integrity. Then the system
completely comes to a grind. After sending the portsnap fetch to the
background (^Z) and entering top the machine completely freezes
without any indication as to why.

I've already done a complete hardware diagnosis - everything OK.

Any ideas on how to track this one down?

Thanks much in advance,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation hangs during Archive extraction phase (9.1)

2013-07-26 Thread Adam Vande More
On Fri, Jul 26, 2013 at 8:51 AM, Ewald Jenisch a...@jenisch.at wrote:

 On Fri, Jul 26, 2013 at 01:16:32PM +0200, bw.mail.lists wrote:
  You don't actually need to install ports.txz. All it does is populate
  /usr/ports, but you can do that after install using portsnap as
  documented in the handbook
  (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
 ):
 
  portsnap fetch
  portsnap extract
 

 Hi,

 Thanks for the hint. Now I could finish the installation (which takes
 like forever (speaking in terms of 2 hours which is pretty strange
 given the raw power of this machine)) however after rebooting the box
 behaves weird to say the last:

 I started out be entering portsnap fetch. Everything runs fine up to
 the point when I see Verifying snapshot integrity. Then the system
 completely comes to a grind. After sending the portsnap fetch to the
 background (^Z) and entering top the machine completely freezes
 without any indication as to why.

 I've already done a complete hardware diagnosis - everything OK.

 Any ideas on how to track this one down?


Don't install ports during installation, try using 8.4 or 9.1BETA1 instead


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


disk is AWOL

2013-07-26 Thread Dieter BSD
8.2 amd64
ad8 is a 3TB Seagate on nforce4-ultra controller

At boot:
ad8: 2861588MB ST3000DM001 9YN166 CC4B at ata4-master UDMA100 SATA 3Gb/s
DEBUG g_part_gpt.c gpt_read_hdr() ad8 succeeded with pp-sectorsize=512

An hour later:
# dd if=/dev/ad8 bs=4k count=1 of=/dev/null
dd: /dev/ad8: No such file or directory

BUT: there was no ad8: FAILURE - device detached or similar message
on the console, in dmesg, or in /var/log/*.  The disk just disappeared
without a peep from the kernel. What's going on?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: disk is AWOL

2013-07-26 Thread Frank Leonhardt

On 26/07/2013 17:56, Dieter BSD wrote:

8.2 amd64
ad8 is a 3TB Seagate on nforce4-ultra controller

At boot:
ad8: 2861588MB ST3000DM001 9YN166 CC4B at ata4-master UDMA100 SATA 3Gb/s
DEBUG g_part_gpt.c gpt_read_hdr() ad8 succeeded with pp-sectorsize=512

An hour later:
# dd if=/dev/ad8 bs=4k count=1 of=/dev/null
dd: /dev/ad8: No such file or directory

BUT: there was no ad8: FAILURE - device detached or similar message
on the console, in dmesg, or in /var/log/*.  The disk just disappeared
without a peep from the kernel. What's going on?



Is this repeatable? Does it appear when you reboot and then vanish after 
a period of time?


At boot, what does atacontrol list say, and what about before and 
after you've tried to read from the drive?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr/src for 9.2 beta?

2013-07-26 Thread Walter Hurry
I'd like to try out 9.2-BETA1 on a test box.

From where do I check out the sources please (using svn)?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-26 Thread aurfalien

On Jul 25, 2013, at 9:15 PM, Trond Endrestøl wrote:

 On Thu, 25 Jul 2013 19:25-0700, aurfalien wrote:
 
 
 On Jul 24, 2013, at 12:51 PM, Alexandre Labarre wrote:
 
 Le mercredi 24 juillet 2013, aurfalien a écrit :
 
 On Jul 24, 2013, at 9:01 AM, Dan Nelson wrote:
 
 In the last episode (Jul 23), aurfalien said:
 On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote:
 In the last episode (Jul 23), aurfalien said:
 At any rate, could some one;
 
 a) Explain how I am loading my file system as I'm used to fstab?
 b) How to run tunefs on my zroot
 c) How to determine if I actually have the needed TRIM support in my
 kernel
 
 I'm not sure if there's a way to query TRIM status on arbitrary geom
 providers, but you can see whether zfs successfully sent any TRIM
 requests by watching the output of sysctl kstat.zfs.misc.zio_trim.  If
 .zio_trim.success increments and .unsupported (or .failed) doesn't, then
 you know that it's working.
 
 Looks like I don't have it.
 
 I keep reading that I must download the patch and make it which is not an
 issue.
 
 But I can't seem to find it.
 
 I've dl'd the 9.2 beta in hopes to check its src and see if its there.
 
 Looks like all I really need is the current rel.
 
 ZFS TRIM support was MFC'd into the 9 branch in June, so it wasn't in 9.1
 but will be available in 9.2:
 
 http://svnweb.freebsd.org/base?view=revisionrevision=251419
 
 
 I actually got the 9.2 src and found what i was looking for  so many thanks.
 
 Gonna figure out what step are required to compile this in to my current 
 9.1 rel.
 
 Thanks again.
 
 - aurf
 Hi,
 Why you do not track 9/Stable or wait 9.2-Release?
 We are at the first Beta stage of 9.2. (9.2-Beta 1). You cannot use 
 freebsd-update to upgrade your 9.1-Release to 9.2-Beta 1 because there 
 was a problem, but this will be resolved for 9.2-Beta 2 in the next days or 
 weeks.
 Just my .2 cents
 
 Kind regards,
 Alexandre
 
 Hi,
 
 Whats the best list to submit oddities regarding freeBSD 9.2 Beta 1?
 
 Specifically, this line in 9.1 creates and mounts the fs under /mnt;
 
 zpool create -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot mirror 
 /dev/gpt/disk0 /dev/gpt/disk1
 
 But in 9.2 beta 1, its under /mnt/zroot.
 
 Just seems a bit odd is all.
 
 - aurf
 
 What does zfs get mountpoint zroot tell you in each case?

Hi Trond,

Mind you, this is a Live CD env.  I am doing zpool mirror on a system during 
install.

At any rate, in 9.2 beta 1 it shows;

NAME   PROPERTYVALUE   SOURCE
zroot  mountpoint  /mnt/zroot  default

On 9.1 it shows;

NAME   PROPERTYVALUE   SOURCE
zroot  mountpoint  /mnt  local

HTH and hope I am doing something wrong.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-26 Thread aurfalien

On Jul 25, 2013, at 9:15 PM, Trond Endrestøl wrote:

 On Thu, 25 Jul 2013 19:25-0700, aurfalien wrote:
 
 
 On Jul 24, 2013, at 12:51 PM, Alexandre Labarre wrote:
 
 Le mercredi 24 juillet 2013, aurfalien a écrit :
 
 On Jul 24, 2013, at 9:01 AM, Dan Nelson wrote:
 
 In the last episode (Jul 23), aurfalien said:
 On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote:
 In the last episode (Jul 23), aurfalien said:
 At any rate, could some one;
 
 a) Explain how I am loading my file system as I'm used to fstab?
 b) How to run tunefs on my zroot
 c) How to determine if I actually have the needed TRIM support in my
 kernel
 
 I'm not sure if there's a way to query TRIM status on arbitrary geom
 providers, but you can see whether zfs successfully sent any TRIM
 requests by watching the output of sysctl kstat.zfs.misc.zio_trim.  If
 .zio_trim.success increments and .unsupported (or .failed) doesn't, then
 you know that it's working.
 
 Looks like I don't have it.
 
 I keep reading that I must download the patch and make it which is not an
 issue.
 
 But I can't seem to find it.
 
 I've dl'd the 9.2 beta in hopes to check its src and see if its there.
 
 Looks like all I really need is the current rel.
 
 ZFS TRIM support was MFC'd into the 9 branch in June, so it wasn't in 9.1
 but will be available in 9.2:
 
 http://svnweb.freebsd.org/base?view=revisionrevision=251419
 
 
 I actually got the 9.2 src and found what i was looking for  so many thanks.
 
 Gonna figure out what step are required to compile this in to my current 
 9.1 rel.
 
 Thanks again.
 
 - aurf
 Hi,
 Why you do not track 9/Stable or wait 9.2-Release?
 We are at the first Beta stage of 9.2. (9.2-Beta 1). You cannot use 
 freebsd-update to upgrade your 9.1-Release to 9.2-Beta 1 because there 
 was a problem, but this will be resolved for 9.2-Beta 2 in the next days or 
 weeks.
 Just my .2 cents
 
 Kind regards,
 Alexandre
 
 Hi,
 
 Whats the best list to submit oddities regarding freeBSD 9.2 Beta 1?
 
 Specifically, this line in 9.1 creates and mounts the fs under /mnt;
 
 zpool create -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot mirror 
 /dev/gpt/disk0 /dev/gpt/disk1
 
 But in 9.2 beta 1, its under /mnt/zroot.
 
 Just seems a bit odd is all.
 
 - aurf
 
 What does zfs get mountpoint zroot tell you in each case?

Hi again,

Specifying the command as follows forces same behavior as 9.1 so all is well 
with a slight mod;

zpool create -o altroot=/ -o cachefile=/var/tmp/zpool.cache zroot mirror 
/dev/gpt/disk0 /dev/gpt/disk1

The change is colored in red.  It was /mnt.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


supported cdrom not found by 8.4 setup

2013-07-26 Thread david coder

i'm trying to install 8.4 on a thinkpad x230, which uses a usb cdrom.
according to the hardward docs, 8.4 supports teac cd-210pu.  that is what i
am using.  the box boots up fine from the installation cd.  but when it comes
to choosing an installation medium, the system doesn't find the device.
idea, anyone?

thx.

david coder
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org