From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ling, Xiaofeng" Date: Mon, 14 Jul 2003 01:44:51 +0000 Subject: RE: why usb hotplug not work in 2.5.73 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Ok, I have found the reason from the DEBUG message. I have installed the new kernel 2.5 modutiles, by default, it is installed in /usr/local/sbin. The old one for kernel 2.4 is at /sbin/, at command line, when I type "modprobe", the new one will be found first, but in hotplug scripts, the old one will be found first. So the usb-storage module can not be inserted. Thanks a lot. > -----Original Message----- > From: Greg KH [mailto:greg@kroah.com] > Sent: Saturday, July 12, 2003 6:21 AM > To: Ling, Xiaofeng > Cc: linux-hotplug-devel@lists.sourceforge.net > Subject: Re: why usb hotplug not work in 2.5.73 > > > On Fri, Jul 11, 2003 at 05:16:24PM +0800, Ling, Xiaofeng wrote: > > Hi, > > I've installed hotplug-2003_5_1, on Redhat7.3, it works fine. > > I use a flash memory usb disk, on Rehdat7.3, hotplug will find and > > insmod the module usb_storage.o when I plug in the disk. But on > > kernel2.5.73, it seems hotplug can not insert module usb_storage.o > > automatically, I must insert the usb_storage.o manually. > > I also tried to copy "modules.usbmap" from /lib/modules/2.4.18-3 to > > /lib/modules/2.5.73, same result. I can see the /sbin/hotplug is > > already been called and the evironment variable like ACTION > is set by > > kernel correctly. Is there anything more should I do for hotplug? > > Can you enable the debug messages for hotplug to see what it spits out > when you plug in your device? > > And don't copy modules.usbmap from one kernel to another, > they are tied > to that specific kernel version. > > thanks, > > greg k-h > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ 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