From owner-freebsd-net@FreeBSD.ORG Wed Dec 8 19:25:43 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3548A106564A; Wed, 8 Dec 2010 19:25:43 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE5A8FC0C; Wed, 8 Dec 2010 19:25:42 +0000 (UTC) Received: by wwf26 with SMTP id 26so1468252wwf.31 for ; Wed, 08 Dec 2010 11:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Z9IJ1ynv8m5Za/PTxjy4yPDbAi8HRKYPVRKQSm6VIa8=; b=x2DTF0tAQXeavUwqTLKxPsAzEf7arVJNWq1/UEER3+Z6OTtbaRVabwkHbc8+UEnTWK DhXG3clVwKJmXFKQGnejt3yD23n9PzoIdiCHSgr8mtsm0biiZx65sUGE78ha/bfEPzmQ VU0RKKxjqikWeBdMusg2KD9wrhz6oAzUTtshs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=p2rTCTYzz5bCfZejER9+/XY2Lwp2NIRrOrSKtzy1TxD3rhGA1lxc3CpN/m7+KXMpXy izmoVdWMtNfsUn7LApnfvalk6rs58dNhITHB1hiHI18MmSddkpz0dNsoK9YgAzyIN8rn OHROH0RSEViIq6g2iJMIIHtQLMFW+gsdbEmSs= MIME-Version: 1.0 Received: by 10.227.128.141 with SMTP id k13mr9535680wbs.32.1291836340497; Wed, 08 Dec 2010 11:25:40 -0800 (PST) Received: by 10.227.23.203 with HTTP; Wed, 8 Dec 2010 11:25:40 -0800 (PST) In-Reply-To: <201012081258.51694.jhb@freebsd.org> References: <201012080923.31048.jhb@freebsd.org> <201012081258.51694.jhb@freebsd.org> Date: Wed, 8 Dec 2010 14:25:40 -0500 Message-ID: From: Kim Culhan To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: 8.2-PRERELESE ifconfig_bridge has no members unless run from rc.local X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2010 19:25:43 -0000 On Wed, Dec 8, 2010 at 12:58 PM, John Baldwin wrote: > On Wednesday, December 08, 2010 11:29:49 am Kim Culhan wrote: > > On Wed, Dec 8, 2010 at 9:23 AM, John Baldwin wrote: > > > > > On Tuesday, December 07, 2010 5:17:30 pm Kim Culhan wrote: > > > > Had been running a wireless bridge for some months in rc.conf: > > > > > > > > ifconfig_bridge0="addm wlan0 addm re1 up" > > > > > > > > Updated to 8.2-PRERELEASE 2 days ago and when the machine boots > > > > the bridge has no members. > > > > > > > > Reversing the order of the members results in the bridge having just > > > > the re1 member. > > > > > > > > Running the above command from a shell works and running from > > > > an rc.local file also works. > > > > > > > > FWIW, running from a shell there is about a 3 second delay after hit > > > enter > > > > before it returns the shell prompt, members are then present. > > > > > > > > The lines in rc.conf: > > > > > > > > cloned_interfaces="bridge0" > > > > ifconfig_wlan0="inet 192.168.1.50/24 channel 11" > > > > wlans_rum0="wlan0" > > > > create_args_wlan0="wlanmode hostap mode 11g" > > > > ifconfig_bridge0="addm wlan0 addm re1 up" > > > > > > > > Tried replacing the re device with em, no change. > > > > > > > > Any help is very greatly appreciated. > > > > > > Most likely the bridge0 device is created by /etc/rc.d/netif before the > > > wlan0 > > > device is created, so when the system startup tries to configure > bridge0, > > > the > > > ifconfig statement fails. > > > > > > What does 'ifconfig -l' show after you have booted? > > > > > It shows: > > > > re0 em0 plip0 lo0 bridge0 > > > > On the console at boot there is, after the file partition status and > setting > > the hostname: > > ifconfig: BRDGADD wlan0: No such file or directory > > > > Following this is: > > > > Starting Network: lo0 re0 em0 bridge0 > > > > Which is followed by output the same as from ifconfig -a including > bridge0 > > which > > has no members. > > > > Next is: > > > > Starting Network: rum0 > > rum0: flags=8843 > Hmm, I wonder why rum0 shows up so late. Do you not plug it in until after > boot, or does it depend on devd loading firmware into the device, etc.? > Its plugged in at boot and rum is in the kernel. There is a mention in rum(4) about uploading microcode for the onboard controller. The machine has an Intel D945GCLF2 Atom motherboard, which has been in use for some months without this problem, prior to updating the bits now 4 days ago. There is a second machine running 8.2-PRERELEASE which has a faster core2 quad processor and does not have this problem when run with the same rum device, also updated 4 days ago. This machine has an Intel DG45ID motherboard. Replaced the drive in the Atom machine and installed 8.2-BETA1 thinking a mistake may have been made in the update process over the preceeding weeks to cause this, no change. -kim