All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: call_usermodehelper returns a negative value during boot up
Date: Fri, 16 Feb 2007 07:03:54 +0000	[thread overview]
Message-ID: <20070216070354.GA30398@kroah.com> (raw)
In-Reply-To: <520C5E108EFD11468EB43142EFEAD1BD0AFC9D82@BANMLVEM02.e2k.ad.ge.com>

On Fri, Feb 16, 2007 at 11:42:49AM +0530, Babu, Narendra (GE Healthcare) wrote:
> 
> When does this happen?  Before userspace starts up?
> 
> >>> This happens before the userspace starts up means prior to INIT:
> Entering runlevel....
> >>> So I feel it is not getting the hotplug script.

That's because there is no userspace program to run at that time :)

> >>> Is there any way to detect USB devices only after user space starts
> (during boot process)
> 
> And what is the value returned?
> 
> >>> The value it returns is 0xfffffffe

Which is -2, or -ENOENT which means there is no file found to run.

> And what exact kernel version are you using?
> 
> >>> The kernel version is 2.4.20.

What happens if you use the latest 2.6 kernel version?  No one except a
few companies supports 2.4.20 anymore.  You are on your own if you use
that kernel version.

good luck,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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

  parent reply	other threads:[~2007-02-16  7:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15 13:53 call_usermodehelper returns a negative value during boot up Babu, Narendra (GE Healthcare)
2007-02-15 19:39 ` Greg KH
2007-02-16  6:24 ` Babu, Narendra (GE Healthcare)
2007-02-16  7:03 ` Greg KH [this message]
2007-02-16  7:46 ` Babu, Narendra (GE Healthcare)
2007-02-17  2:06 ` Greg KH
2007-02-23 19:37 ` Babu, Narendra (GE Healthcare)
2007-02-23 23:25 ` 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=20070216070354.GA30398@kroah.com \
    --to=greg@kroah.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.