Question about devd concept

2003-02-01 Thread Oliver Brandmueller
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 pcca

Re: Question about devd concept

2003-02-01 Thread Kevin Oberman
> Date: Sat, 1 Feb 2003 19:20:12 +0100 > From: Oliver Brandmueller <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > 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

Re: Question about devd concept

2003-02-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Oliver Brandmueller <[EMAIL PROTECTED]> writes: : 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 pccar

Re: Question about devd concept

2003-02-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Kevin Oberman" <[EMAIL PROTECTED]> writes: : > Date: Sat, 1 Feb 2003 19:20:12 +0100 : > From: Oliver Brandmueller <[EMAIL PROTECTED]> : > Sender: [EMAIL PROTECTED] : > : > Hi, : > : > I'm currently experimenting with 5-CURRENT on my Notebook an have a

Re: Question about devd concept

2003-02-02 Thread Oliver Brandmueller
Hi Warner. On Sun, Feb 02, 2003 at 06:47:07AM -0700, M. Warner Losh wrote: > devd works for me when I have devices in my machine at boot. It does > run the start script for me. I just confirmed this on my machine. I > put my wi card in, booted and it picked up a dhcp address. > > What script a

Re: Question about devd concept

2003-02-02 Thread Oliver Brandmueller
Hi. Sorry for answering my own mail now. On Sun, Feb 02, 2003 at 03:19:24PM +0100, Oliver Brandmueller wrote: > action "/usr/local/etc/netconf/bin/netconf $device-name start"; David Wolfskill gave a good pointer, that devd starts before all non-root disks are mounted. I'm just trying to

Re: Question about devd concept

2003-02-02 Thread Robert Watson
On Sun, 2 Feb 2003, Oliver Brandmueller wrote: > Sorry for answering my own mail now. > > On Sun, Feb 02, 2003 at 03:19:24PM +0100, Oliver Brandmueller wrote: > > action "/usr/local/etc/netconf/bin/netconf $device-name start"; > > David Wolfskill gave a good pointer, that devd starts bef

Re: Question about devd concept

2003-02-02 Thread Oliver Brandmueller
Hi. On Sun, Feb 02, 2003 at 12:19:26PM -0500, Robert Watson wrote: > > I'll keep you informed 'bout my findings. > > I ran into a similar problem, actually -- programs like dhclient rely on > being able to write to lease and pid files. It's almost as though we'd > like an additional set of even

Re: Question about devd concept

2003-02-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Robert Watson <[EMAIL PROTECTED]> writes: : I ran into a similar problem, actually -- programs like dhclient rely on : being able to write to lease and pid files. It's almost as though we'd : like an additional set of events when the system is "more boot

Re: Question about devd concept

2003-02-02 Thread M. Warner Losh
Consider the following patch. Since you have custom configuration, it might rely on other parts of the system being active before they will work. This patch moves devd from starting 'first' to starting before we have to mount the 'critical' remote disks. If you require critical remote disks to d

Re: Question about devd concept

2003-02-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Oliver Brandmueller <[EMAIL PROTECTED]> writes: : fine. Any ideas? Thanks for the info! I've sent in a different message that I think will fix this problem. The problem is that /usr/local isn't mounted when devd starts, so /usr/local/etc/netconf/bin/ne

Re: Question about devd concept

2003-02-02 Thread Terry Lambert
"M. Warner Losh" wrote: > In message: <[EMAIL PROTECTED]> > Oliver Brandmueller <[EMAIL PROTECTED]> writes: > : fine. Any ideas? > > Thanks for the info! I've sent in a different message that I think > will fix this problem. The problem is that /usr/local isn't mounted > when devd st

Re: Question about devd concept

2003-02-03 Thread Oliver Brandmueller
Hello Warner. On Sun, Feb 02, 2003 at 12:30:30PM -0700, M. Warner Losh wrote: > Consider the following patch. Since you have custom configuration, it [changes in devd rc script require / before] That helped perfectly; my system is quite happy with this, even without the sleep patch. Thanx! Grea

Re: Question about devd concept

2003-02-03 Thread Daniel C. Sobral
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Robert Watson <[EMAIL PROTECTED]> writes: : I ran into a similar problem, actually -- programs like dhclient rely on : being able to write to lease and pid files. It's almost as though we'd : like an additional set of events when t

Re: Question about devd concept

2003-02-03 Thread Kevin Oberman
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

Re: Question about devd concept

2003-02-03 Thread Kevin Oberman
Warner, Please ignore my last message about re-building the kernel. I just actually LOOKED at the patch and I have implemented it. (Of course, no kernel rebuild.) I still don't see anything. I am both doing the requested "echo" and writing a log entry. Neither shows up. Since it works, I now won

Re: Question about devd concept

2003-02-07 Thread Joerg Wunsch
"M. Warner Losh" <[EMAIL PROTECTED]> wrote: > devd works for me when I have devices in my machine at boot. It > does run the start script for me. I've got a related problem. My kernel is a bit modularized, and with devd, when i insert the card into the running machine, the script framework prop