From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 16 Feb 2007 07:03:54 +0000 Subject: Re: call_usermodehelper returns a negative value during boot up Message-Id: <20070216070354.GA30398@kroah.com> List-Id: References: <520C5E108EFD11468EB43142EFEAD1BD0AFC9D82@BANMLVEM02.e2k.ad.ge.com> In-Reply-To: <520C5E108EFD11468EB43142EFEAD1BD0AFC9D82@BANMLVEM02.e2k.ad.ge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Fri, Feb 16, 2007 at 11:42:49AM +0530, Babu, Narendra (GE Healthcare) wr= ote: >=20 > When does this happen? Before userspace starts up? >=20 > >>> 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) >=20 > And what is the value returned? >=20 > >>> 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? >=20 > >>> 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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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