From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 09 Sep 2004 08:33:28 +0000 Subject: Re: Udev problem Message-Id: <1094718808.3360.10.camel@localhost.localdomain> List-Id: References: <200408300912.01950.sander@knopper.tk> In-Reply-To: <200408300912.01950.sander@knopper.tk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Wed, 2004-09-08 at 16:13 -0700, Greg KH wrote: > On Mon, Aug 30, 2004 at 09:12:01AM +0200, Sander Knopper wrote: > > Hi all, > >=20 > > I've just compiled udev with uclibc and busybox but when I start 'udevs= tart'=20 > > during boot it basically does nothing. When I use the supplied init scr= ipt=20 > > all it does is create those links to other files which isn't done by ud= ev but=20 > > besides that nothing is done. >=20 > Hm, try asking this on the busybox mailing lists, as I know some people > successfully do this, but I think that udev needs some tweaks to work > properly with uclibc. >=20 > If you do find that some changes are necessary, could you please tell us > so that udev will work "out of the box" properly with uclibc and > busybox? Oops, I missed the original mail. Feels like the mknod() is not working. Sander, could try a "strace" for any device present on your box, but with no device node currently in your udev-root? It may narrow down the problem. ACTION=ADd DEVPATH=3D/block/hda strace -s 1000 /sbin/udev block You will get a lot of output. Close to the end, it looks like this on my bo= x. You will find the return values of the system calls at the end of every lin= e: ... stat64("/udev/hda", 0xfeee2230) =3D -1 ENOENT (No such file or di= rectory) mknod("/udev/hda", S_IFBLK|0660, makedev(3, 0)) =3D 0 chmod("/udev/hda", 060660) =3D 0 chown32("/udev/hda", 0, 6) =3D 0 ... Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id=10808&op=3Dclick _______________________________________________ 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