Date: Mon, 03 Feb 2003 14:19:39 -0800 From: "Kevin Oberman" <oberman@es.net> To: "M. Warner Losh" <imp@bsdimp.com> Cc: ob@e-Gitt.NET, freebsd-current@FreeBSD.ORG Subject: Re: Question about devd concept Message-ID: <20030203221939.265E25D04@ptavv.es.net> In-Reply-To: Your message of "Sun, 02 Feb 2003 06:57:32 MST." <20030202.065732.108375307.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner, I hate Mondays, especially when I am the front-line network trouble person (cleverly called Person of the Week or POW). I have not had much time, but I can confirm that pccard_ether is NOT called when the card is already inserted at boot time and IS called when the card is inserted after the system is booted. But this still works! The card configures just fine. ??? I now am loading both if_xe and if_wi in the loader and this seems to have made things generally happy. I hope to try your recommended patch shortly, but the kernel takes quite a while to build on this rather old system with all of the debug stuff enabled. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 > Date: Sun, 02 Feb 2003 06:57:32 -0700 (MST) > From: "M. Warner Losh" <imp@bsdimp.com> > > In message: <20030201233621.916935D04@ptavv.es.net> > "Kevin Oberman" <oberman@es.net> writes: > : > Date: Sat, 1 Feb 2003 19:20:12 +0100 > : > From: Oliver Brandmueller <ob@e-Gitt.NET> > : > Sender: owner-freebsd-current@FreeBSD.ORG > : > > : > Hi, > : > > : > I'm currently experimenting with 5-CURRENT on my Notebook an have a > : > question regarding the concept of devd. > : > > : > With 4-STABLE I had pccardd running. Whenever a pccard was inserted I > : > had pccardd starting the corresponding scripts. I have configured devd > : > to do so now (especially for my wavelan pccard). So far everything > : > works, except for one case: When the pccard is already inserted during > : > boot, devd does not recognize the card as newly inserted device (of > : > course, it's already there). So I have currently setup a script in > : > /usr/local/etc/rc.d which starts the script corresponding to the wavelan > : > pccard, if interface wi0 is found during boot. I think this cannot be > : > the considered solution for that problem? > : > > : > What am I missing about the concept of devd? > : > : While I think you have the concept down fine, the execution may still > : be a bit fuzzy in places. > : > : If the device is in place when the system boots, devd should not be > : required, as it should be probed in the traditional manner. But this > : does not seem to execute the added things that need to be done to > : bring up a new network interface. After the system is up I need to > : execute /etc/pccard_ether to get the interface on-line. > > Can you put a echo "I'm in pccard_ether" type line in > /etc/pccard_ether and see if that's being run at boot. Like I said in > my last response, I just confirmed that it is running on my machine. > > I've had some problems with CardBus cards on boot not probing, but > that's a different problem that I'm aware of and working on a solution > for and has nothing to do with devd. > > Warner > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030203221939.265E25D04>