Linux Hotplug development
 help / color / mirror / Atom feed
From: Dave Dodge <dododge@dododge.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: hotplug in initrd/initramfs?
Date: Wed, 15 Dec 2004 22:50:24 +0000	[thread overview]
Message-ID: <20041215230348.GE13061@basmati> (raw)
In-Reply-To: <pan.2004.12.15.14.37.04.490554@leogic.com>

On Wed, Dec 15, 2004 at 03:37:04PM +0100, Andreas Jellinghaus wrote:
> as far as I can tell, the kernel doesn't call
> /sbin/hotplug while in initrd/initramfs.

Note that this is just guesswork and I haven't tried any of it:

There was a code change in April 2004 which might have something to do
with this.  Check the call_usermodehelper function near the end of
kernel/kmod.c and see if it has this (the new code):

	if (!khelper_wq)
		return -EBUSY

If the code instead mentions "system_running", I think you'll need a
newer kernel.  The new khelper stuff probably showed up around 2.6.6.

                                                  -Dave Dodge


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      reply	other threads:[~2004-12-15 22:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15 14:37 hotplug in initrd/initramfs? Andreas Jellinghaus
2004-12-15 22:50 ` Dave Dodge [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=20041215230348.GE13061@basmati \
    --to=dododge@dododge.net \
    --cc=linux-hotplug@vger.kernel.org \
    /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