From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 21 Nov 2005 06:15:13 +0000 Subject: Re: Can't make udev load kernel modules Message-Id: <20051121061513.GA31497@vrfy.org> List-Id: References: <43816321.4000408@terra.com.br> In-Reply-To: <43816321.4000408@terra.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id845&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