Skip to contentSkip to conversation

modprobe before udevstart

DISCUSSION Bob Barry 2 participants 2 messages Mar 10, 2004 – Mar 12, 2004

lore
Share & tools
lore

Bob Barry

author
#0 lore raw

I have the usual rule for loop devices in my udev.rules, but loop devices were not getting created at startup because the loop entries were not yet in sysfs. Re-running the "populate_udev" script, or udevstart, after the system was running, created the devices OK. Devices associated with ALSA sound and LTmodem behaved similarly. Putting an "autoload modules" loop into the startup script (rc in Gentoo) ahead of "populate_udev" (or udevstart) made it work properly for me. Is "modprobe essential modules before udevstart" desireable or acceptable practice?

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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 9 lines · Bob Barry

I have the usual rule for loop devices in my udev.rules, but loop devices were not getting created at startup because the loop entries were not yet in sysfs. Re-running the "populate_udev" script, or udevstart, after the system was running, created the devices OK. Devices associated with ALSA sound and LTmodem behaved similarly. Putting an "autoload modules" loop into the startup script (rc in Gentoo) ahead of "populate_udev" (or udevstart) made it work properly for me. Is "modprobe essential modules before udevstart" desireable or acceptable practice?

It shouldn't be necessary at all.

It works for me without it, I really don't understand why it wouldn't for you.

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel