Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 09:57:17 +0100
From:      Leslie Jensen <leslie@eskk.nu>
To:        Nikos Vassiliadis <nvass9573@gmx.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: kernel panic when if_lagg is not loaded.
Message-ID:  <4BA0996D.7010904@eskk.nu>
In-Reply-To: <4BA09486.8000604@gmx.com>
References:  <4BA08538.3050901@eskk.nu> <4BA09486.8000604@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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 net@.
>
> 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-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA0996D.7010904>