linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ling, Xiaofeng" <xiaofeng.ling@intel.com>
To: linux-hotplug@vger.kernel.org
Subject: RE: why usb hotplug not work in 2.5.73
Date: Mon, 14 Jul 2003 01:44:51 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-105814730225890@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-105791741208150@msgid-missing>

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

      parent reply	other threads:[~2003-07-14  1:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-105814730225890@msgid-missing \
    --to=xiaofeng.ling@intel.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).