Re: kernel panic when if_lagg is not loaded.

2010-03-23 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2010/03/17 00:31, Leslie Jensen wrote:
 
 I have set upp aggregation of my wlan and and wired NIC following the
 instructions in the handbook.
 
 http://www.freebsd.org/doc/handbook/network-aggregation.html
 
 I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I
 rebooted I got a kernel panic.
 
 Should this be considerd normal or is it something I should report?
 
 
 
 Secondly I see there'a a reference to the lagg(4) man page. I think it
 would help future readers of the above page if a comment about loading
 if_lagg_load=YES in /boot/loader.conf would be added.

Panics can hardly be considered normal...  I was unable to reproduce the
issue though, is it possible for you to get a backtrace and tell us what
release are you using?

Cheers,
- -- 
Xin LI delp...@delphij.nethttp://www.delphij.net/
FreeBSD - The Power to Serve!  Live free or die
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLqWtUAAoJEATO+BI/yjfBHSkIAJC1Ooov8JiddJk+3cw9uZsK
f2LvLoQerHY+NVwG0yjdXjhj67FWht4piXewNngePzOzjcXJQybfbrFUxW2zDc3X
LSrOLSLtf8CKDhdVK+octUUjYyT1lbkeoyf1Ci1y2h/DE7QY360rzfXhA1VfHJCr
3PTcaHsony3AD6Fwcg3U+7hGseL+zxLfV0DwUtyNIhVZHIrp5hElPseVXnxVPFTT
nKaaw4AldH6JYOhT1IZWQObMNJgVhCs48LdAwSCCg7x9Bjias606yY3C1RNupXPM
5TxjmMpiQUhBc/MIAU7mAb27SQY2Lwx6+S9S+4HJoVgr2/eMwjCCOYvXxIt5hXs=
=BGMq
-END PGP SIGNATURE-
___
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: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Nikos Vassiliadis

Leslie Jensen wrote:


I have set upp aggregation of my wlan and and wired NIC following the 
instructions in the handbook.


http://www.freebsd.org/doc/handbook/network-aggregation.html

I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I 
rebooted I got a kernel panic.


Should this be considerd normal or is it something I should report?



No, it's not normal. Please, report it in an explicit way, commands
given and/or changes to rc.conf, loader.conf etc. Try first here
questions@ and then n...@.

Nonetheless I see no such behavior on my system. if_lagg loads
automatically when needed(ifconfig lagg create etc).



Secondly I see there'a a reference to the lagg(4) man page. I think it 
would help future readers of the above page if a comment about loading 
if_lagg_load=YES in /boot/loader.conf would be added.



On 8.0-STABLE if_lagg loads automatically and I think it always
did load automatically, though I am not sure. What's the FreeBSD
version you are working on?

Nikos
___
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: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Leslie Jensen



On 2010-03-17 09:36, Nikos Vassiliadis wrote:

Leslie Jensen wrote:


I have set upp aggregation of my wlan and and wired NIC following the
instructions in the handbook.

http://www.freebsd.org/doc/handbook/network-aggregation.html

I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I
rebooted I got a kernel panic.

Should this be considerd normal or is it something I should report?



No, it's not normal. Please, report it in an explicit way, commands
given and/or changes to rc.conf, loader.conf etc. Try first here
questions@ and then n...@.

Nonetheless I see no such behavior on my system. if_lagg loads
automatically when needed(ifconfig lagg create etc).



Secondly I see there'a a reference to the lagg(4) man page. I think it
would help future readers of the above page if a comment about loading
if_lagg_load=YES in /boot/loader.conf would be added.



On 8.0-STABLE if_lagg loads automatically and I think it always
did load automatically, though I am not sure. What's the FreeBSD
version you are working on?

Nikos
___
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


I'm on a 8.0-RELEASE-p2 system.

Actually after more testing I found out that the line

ifconfig_iwn0=ether 00:16:ea:61:01:e8

in my rc.conf is the culprit. If I comment it out the system will start 
but only with the wired interface working.


I have if_lagg_load=YES in /boot/loader.conf

and the following in /etc/rc.conf

wpa_supplicant_enable=YES
ifconfig_em0=up
# ifconfig_iwn0=ether 00:16:ea:61:01:e8
wlans_iwn0=wlan0
ifconfig_wlan0=WPA
cloned_interfaces=lagg0
ifconfig_lagg0=laggproto failover laggport em0 laggport wlan0 DHCP

/Leslie
___
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: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Nikos Vassiliadis

Leslie Jensen wrote:


I'm on a 8.0-RELEASE-p2 system.

Actually after more testing I found out that the line

ifconfig_iwn0=ether 00:16:ea:61:01:e8

in my rc.conf is the culprit. If I comment it out the system will start 
but only with the wired interface working.


If you don't comment the line it causes a kernel panic?
If that's the case, you should report it to n...@. If you
could include a backtrace of the panic, it would be most helpful.



I have if_lagg_load=YES in /boot/loader.conf

and the following in /etc/rc.conf

wpa_supplicant_enable=YES
ifconfig_em0=up
# ifconfig_iwn0=ether 00:16:ea:61:01:e8
wlans_iwn0=wlan0
ifconfig_wlan0=WPA
cloned_interfaces=lagg0
ifconfig_lagg0=laggproto failover laggport em0 laggport wlan0 DHCP

/Leslie


hm, what you do really matches the process described in the handbook.
It should work, please report it.

Nikos

___
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