public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: Thomas Molina <tmolina@cablespeed.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test problems loading network drivers
Date: Fri, 19 Sep 2003 12:12:52 -0700	[thread overview]
Message-ID: <20030919191252.GK6624@kroah.com> (raw)
In-Reply-To: <20030919091204.3a5e1c0c.shemminger@osdl.org>

On Fri, Sep 19, 2003 at 09:12:04AM -0700, Stephen Hemminger wrote:
> 
> > 
> > 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

This fix is in the last released version of the hotplug package if
people just want to use that instead of patching their scripts (it also
has some other 2.6 fixes in it.)

thanks,

greg k-h

      reply	other threads:[~2003-09-19 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18  0:41 2.6.0-test problems loading network drivers Thomas Molina
2003-09-19 16:12 ` Stephen Hemminger
2003-09-19 19:12   ` Greg KH [this message]

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=20030919191252.GK6624@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@osdl.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