Description of problem: After upgrading my machine from FC3 to FC4, I found that the udevd process would no longer run. I am running a 2.6.12 without module support. This setup worked prior to FC4. After investigating this for some time. I have found the following. With when I boot FC4 with a modular kernel, /proc/sys/kernel/hotplug is set to /sbin/udevsend and udevd runs ok. If I boot with a non modular kernel, /proc/sys/kernel/hotplug is to /sbin/hotplug and after the system has booted, the udevd process is not running. If I add the following line: sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 after: # Initialize hardware if [ -f /proc/sys/kernel/modprobe ]; then if ! strstr "$cmdline" nomodules && [ -f /proc/modules ] ; then sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1 sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 else # We used to set this to NULL, but that causes 'failed to exec' messages" sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1 sysctl -w kernel.hotplug="/bin/true" >/dev/null 2>&1 fi fi in /etc/rc.d/rc.sysinit this allows udevd to work on a non modular kernel. Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. Boot a kernel without modules support 2. 3. Actual results: The udevd process is not running. Expected results: The udevd process to be running. Additional info: Just let me know if you need any more. Cheers, Andrew Clayton
Added in CVS, will be in 8.12-1.
Created attachment 115852 [details] Patch to fix udev with non moduar kernel.
Woops my comments got wacked. Basically, the fix in my initial submit has some issues. Namely device nodes weren't being created at boot for attached usb storage devices. The line I added needs to come out and a change made to a line a wee bit above it. The patch fix's the problem. Cheers, Andrew
Argghh. I forgot to mention that the patch is against the rc.sysinit from initscripts-8.11.1-1
Why would you need that? What is it set to before that?
OK, Booting a 2.6.12 with out modular support gives, $ cat /proc/sys/kernel/hotplug /sbin/hotplug And when the system is finished booting, udevd is not running and no device nodes for my attached (and swicthed on) usb storage devices have been created. With that patch, /proc/sys/kernel/hotplug is set to /sbin/udevsend and udevd is running as nornmal and device nodes for my usb storage devices do get created. Cheers,