From owner-freebsd-current Sun Feb 2 5:58:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E428C37B401 for ; Sun, 2 Feb 2003 05:58:13 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2331543F75 for ; Sun, 2 Feb 2003 05:58:13 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h12Dw41e078181; Sun, 2 Feb 2003 06:58:04 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 02 Feb 2003 06:57:32 -0700 (MST) Message-Id: <20030202.065732.108375307.imp@bsdimp.com> To: oberman@es.net Cc: ob@e-Gitt.NET, freebsd-current@FreeBSD.ORG Subject: Re: Question about devd concept From: "M. Warner Losh" In-Reply-To: <20030201233621.916935D04@ptavv.es.net> References: <20030201182012.GC97784@e-Gitt.NET> <20030201233621.916935D04@ptavv.es.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20030201233621.916935D04@ptavv.es.net> "Kevin Oberman" writes: : > Date: Sat, 1 Feb 2003 19:20:12 +0100 : > From: Oliver Brandmueller : > 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