Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 06:57:32 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        oberman@es.net
Cc:        ob@e-Gitt.NET, freebsd-current@FreeBSD.ORG
Subject:   Re: Question about devd concept 
Message-ID:  <20030202.065732.108375307.imp@bsdimp.com>
In-Reply-To: <20030201233621.916935D04@ptavv.es.net>
References:  <20030201182012.GC97784@e-Gitt.NET> <20030201233621.916935D04@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20030202.065732.108375307.imp>