Quote:
|
Originally Posted by Randux
There's something going on in rc.S but I don't understand what it's doing.
|
Do you mean this ?
Code:
# Initialize udev to manage /dev entries for 2.6.x kernels:
if [ -x /etc/rc.d/rc.udev ]; then
if ! grep -w nohotplug /proc/cmdline 1> /dev/null 2> /dev/null ; then
/etc/rc.d/rc.udev
fi
fi
This doesn't start udevd. It starts the rc.udev script but in rwcooper's case it isn't executed since rc.udev doesn't
have execute permission.
In older udev releases (the one that slackware uses), udev was called from the hotplug subsystem. That is, when you
plug a usb flash disk, the hotplug insmoded the driver and udev mknoded the device. udevd is called when needed by
udevsend.
In newer udev releases this is deprecated and all the work is done by udevd.
I can't say for sure that this is your case, but it a possible cause.
Try "cat /proc/sys/kernel/hotplug" and see if it has some value like "/sbin/hotplug" or something else.
what permission does /etc/rc.d/rc.hotplug have ?
If you see in /etc/hotplug.d/default you will see 10-udev.hotplud which is called in order for the device to be made
according to the procedure i described above.
If the thing i describe is the cause for udevd being loaded (most probably is), you can try one of the following
1) echo "/dev/null" > /proc/sys/kernel/hotplug
2) rm /etc/hotplug.d/default/10-udev.hotplug
Try it and see if it works.