Skip to contentSkip to conversation

Udev problem

DISCUSSION Sander Knopper 3 participants 3 messages Aug 30, 2004 – Sep 9, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

I've just compiled udev with uclibc and busybox but when I start 'udevstart' during boot it basically does nothing. When I use the supplied init script all it does is create those links to other files which isn't done by udev but besides that nothing is done.

Hotplugging works fine, when I plug in my ipod I get a kernel message but udev doesn't create some block devices for me.

Is this a problem of udev, or shouldn't I be trying to use udev in a uclibc/busybox environment?

Ow, I'm using the latest version (030) by the way.....

Thanks in advance,

Sander Knopper

-------------------------------------------------------
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_id808&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 6 lines · Sander Knopper

Hi all,

I've just compiled udev with uclibc and busybox but when I start 'udevstart' during boot it basically does nothing. When I use the supplied init script all it does is create those links to other files which isn't done by udev but besides that nothing is done.

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.

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?

thanks,

greg k-h

-------------------------------------------------------
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_id808&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Sander Knopper
Quoted 8 lines · Greg KH
Quoted 6 lines · Sander Knopper

Hi all,

I've just compiled udev with uclibc and busybox but when I start 'udevstart' during boot it basically does nothing. When I use the supplied init script all it does is create those links to other files which isn't done by udev but besides that nothing is done.

Quoted 7 lines

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.

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­d DEVPATH=/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 box. You will find the return values of the system calls at the end of every line:

...
stat64("/udev/hda", 0xfeee2230) = -1 ENOENT (No such file or directory)
mknod("/udev/hda", S_IFBLK|0660, makedev(3, 0)) = 0
chmod("/udev/hda", 060660) = 0
chown32("/udev/hda", 0, 6) = 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_id808&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel