Can't make udev load kernel modules
Hi,
I am using kernel 2.6.15-rc2 and udev-075. I put one little
modified SuSE's boot.udev as rc.udev in my distro and changes all udev/rules.d by the rules in SuSE's package.
But i can't make the udev to loads kernel modules. I think
it's only a boot problem, try to play uevent after boot:
for i in find /sys -name "uevent"; do
echo "add" > $i
done
And look with udevmonitor. Many events happens, but no module
are loaded. I recheck the rules dir, the /lib/udev dir and if udev are running. After almost one hour searching for the bug i try:
echo "/sbin/hotplug" > /proc/sys/kernel/hotplug for i in find /sys -name "uevent"; do
echo "add" > $i
done
And look with udevmonitor again. Much more events happens, and
all modules are loaded!
Obviously i am making some mistake, anyone had one clue what i
miss? Something in kernel? Some obscure udev.conf rule?
Hope someone can help,
Piter PUNK
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 17 lines · Piter PUNK
Hi,
I am using kernel 2.6.15-rc2 and udev-075. I put one little
modified SuSE's boot.udev as rc.udev in my distro and changes all udev/rules.d by the rules in SuSE's package.But i can't make the udev to loads kernel modules. I think
it's only a boot problem, try to play uevent after boot:for i in
find /sys -name "uevent"; do
echo "add" > $i
doneAnd look with udevmonitor. Many events happens, but no module
are loaded. I recheck the rules dir, the/lib/udevdir and if udev are running. After almost one hour searching for the bug i try:
Quoted 7 lines
echo "
/sbin/hotplug" >/proc/sys/kernel/hotplugfor i infind /sys -name "uevent"; do
echo "add" > $i
doneAnd look with udevmonitor again. Much more events happens, and
all modules are loaded!
You probably need to tell udev to run modprobe :)
ACTION="add", ENV{MODALIAS}="?*", RUN+="/sbin/modprobe $modalias"
Kay
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel