linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't make udev load kernel modules
@ 2005-11-21  6:03 Piter PUNK
  2005-11-21  6:15 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Piter PUNK @ 2005-11-21  6:03 UTC (permalink / raw)
  To: linux-hotplug

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_id\x16845&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't make udev load kernel modules
  2005-11-21  6:03 Can't make udev load kernel modules Piter PUNK
@ 2005-11-21  6:15 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2005-11-21  6:15 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Nov 21, 2005 at 04:03:13AM -0200, Piter PUNK wrote:
> 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!

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_id\x16845&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-21  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21  6:03 Can't make udev load kernel modules Piter PUNK
2005-11-21  6:15 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).