Re: PROBLEM: hotplugging an USB memorystick fails

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 18 Oct 2007, I Mouwen wrote:

> > > Oct 17 21:13:40 casper kernel: usb-storage: *** thread sleeping.
> > > Oct 17 21:13:40 casper kernel: sd 4:0:0:0: [sda] Attached SCSI disk
> > > Oct 17 21:13:40 casper kernel: usb-storage: queuecommand called
> > > Oct 17 21:13:40 casper kernel: usb-storage: *** thread awakened.
> > > Oct 17 21:13:40 casper kernel: usb-storage: Command INQUIRY (6 bytes)
> > > Oct 17 21:13:40 casper kernel: usb-storage:  12 00 00 00 fe 00
> >
> > This and the following commands look very bizarre.  They resemble
> > something that might be produced by a several-year-old version of HAL
> > or some other drive-monitoring program.
> 
> Hm, I run a pretty recent debian unstable, so it's most certainly not a
> several-year-old hal. Do you have a suggestion how I might debug this?

Go through the list of running processes and stop anything that looks 
like it might be relevant.  When the bad commands go away, you'll know 
you have found the guilty party.

You can recognize the bogus commands by the 6-byte pattern:

	12 00 00 00 fe 00

Normal INQUIRY commands (there should only be one) contain 24 in place 
of the fe:

	12 00 00 00 24 00

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.