From: Stephen Hemminger <shemminger@osdl.org>
To: Thomas Molina <tmolina@cablespeed.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test problems loading network drivers
Date: Fri, 19 Sep 2003 09:12:04 -0700 [thread overview]
Message-ID: <20030919091204.3a5e1c0c.shemminger@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0309172010410.1856-600000@localhost.localdomain>
>
> Sep 15 22:02:58 localhost cardmgr[1482]: socket 0: Intersil PRISM2 11 Mbps Wireless Adapter
> Sep 15 22:02:58 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
> Sep 15 22:02:58 localhost cardmgr[1482]: executing: 'modprobe hermes'
> Sep 15 22:02:58 localhost cardmgr[1482]: executing: 'modprobe orinoco'
> Sep 15 22:02:58 localhost cardmgr[1482]: executing: 'modprobe orinoco_cs'
> Sep 15 22:02:58 localhost cardmgr[1482]: executing: './network start eth0'
> Sep 15 22:02:58 localhost /etc/hotplug/net.agent: NET add event not supported
> Sep 15 22:03:45 localhost login(pam_unix)[1783]: session closed for user root
> Sep 15 22:03:50 localhost login(pam_unix)[1894]: session opened for user tmolina by (uid=0)
network hotplug changed slightly in 2.6 so the kernel passes: 'add' instead of 'register'
to the scripts. This is because network devices are kobjects and go through the generic
hotplug path.
The fix is:
--- /etc/hotplug/net.agent.old 2003-09-19 09:10:06.390819425 -0700
+++ /etc/hotplug/net.agent 2003-09-19 09:10:34.545620648 -0700
@@ -26,7 +26,7 @@
fi
case $ACTION in
-register)
+add|register)
# Don't do anything if the network is stopped
if [ ! -f /var/lock/subsys/network ]; then
exit 0
next prev parent reply other threads:[~2003-09-19 16:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-18 0:41 Thomas Molina
2003-09-19 16:12 ` Stephen Hemminger [this message]
2003-09-19 19:12 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030919091204.3a5e1c0c.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tmolina@cablespeed.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®