* why usb hotplug not work in 2.5.73
@ 2003-07-11 9:16 Ling, Xiaofeng
2003-07-11 22:21 ` Greg KH
2003-07-14 1:44 ` Ling, Xiaofeng
0 siblings, 2 replies; 3+ messages in thread
From: Ling, Xiaofeng @ 2003-07-11 9:16 UTC (permalink / raw)
To: linux-hotplug
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?
============
Best Regard
Ling XiaoFeng(Daniel Ling)
*This email message solely contains my own personal views, and not necessarily those of my employer*
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: why usb hotplug not work in 2.5.73
2003-07-11 9:16 why usb hotplug not work in 2.5.73 Ling, Xiaofeng
@ 2003-07-11 22:21 ` Greg KH
2003-07-14 1:44 ` Ling, Xiaofeng
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2003-07-11 22:21 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: why usb hotplug not work in 2.5.73
2003-07-11 9:16 why usb hotplug not work in 2.5.73 Ling, Xiaofeng
2003-07-11 22:21 ` Greg KH
@ 2003-07-14 1:44 ` Ling, Xiaofeng
1 sibling, 0 replies; 3+ messages in thread
From: Ling, Xiaofeng @ 2003-07-14 1:44 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-14 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-11 9:16 why usb hotplug not work in 2.5.73 Ling, Xiaofeng
2003-07-11 22:21 ` Greg KH
2003-07-14 1:44 ` Ling, Xiaofeng
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).