From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 08:57:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF6521065672 for ; Wed, 17 Mar 2010 08:57:23 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 9D06A8FC18 for ; Wed, 17 Mar 2010 08:57:23 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 85D4E10E77C; Wed, 17 Mar 2010 09:59:31 +0100 (CET) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RtqA7Pdaq5vy; Wed, 17 Mar 2010 09:59:26 +0100 (CET) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 64D0110E50A; Wed, 17 Mar 2010 09:59:26 +0100 (CET) Message-ID: <4BA0996D.7010904@eskk.nu> Date: Wed, 17 Mar 2010 09:57:17 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Nikos Vassiliadis References: <4BA08538.3050901@eskk.nu> <4BA09486.8000604@gmx.com> In-Reply-To: <4BA09486.8000604@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: kernel panic when if_lagg is not loaded. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 08:57:24 -0000 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