android_kernel_xiaomi_sm8350/drivers/usb/storage
David Härdeman 63dc3ff3e0 [PATCH] USB: fix USB key generates ioctl_internal_command errors issue
On Wed, Nov 16, 2005 at 06:34:24PM -0800, Pete Zaitcev wrote:
>On Wed, 16 Nov 2005 23:52:32 +0100, David Härdeman <david@2gen.com> wrote:
>> usb-storage: waiting for device to settle before scanning
>>   Vendor: I0MEGA    Model: UMni1GB*IOM2K4    Rev: 1.01
>>   Type:   Direct-Access                      ANSI SCSI revision: 02
>> SCSI device sda: 2048000 512-byte hdwr sectors (1049 MB)
>> sda: Write Protect is off
>> sda: Mode Sense: 00 00 00 00
>> sda: assuming drive cache: write through
>> ioctl_internal_command: <8 0 0 0> return code = 8000002
>>    : Current: sense key=0x0
>>     ASC=0x0 ASCQ=0x0
>> SCSI device sda: 2048000 512-byte hdwr sectors (1049 MB)
>
>I think it's harmless. I saw things like that, and initially I plugged
>them with workarounds like this:

Thanks for the pointer, and yes, it is harmless, but it floods the
console with the messages which hides other (potentially important)
messages...following your example I've made a patch which fixes the
problem.

Signed-off-by: David Härdeman <david@2gen.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-23 23:04:28 -08:00
..
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c
freecom.h
initializers.c
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
Kconfig [PATCH] USB: onetouch doesn't suspend yet 2005-11-17 11:29:54 -08:00
Makefile
onetouch.c [PATCH] Input: convert onetouch to dynamic input_dev allocation 2005-10-28 09:52:53 -07:00
onetouch.h
protocol.c
protocol.h
scsiglue.c
scsiglue.h
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c [PATCH] usb-storage: Fix detection of kodak flash readers in shuttle_usbat driver 2005-11-17 11:29:54 -08:00
shuttle_usbat.h [PATCH] usb-storage: Some minor shuttle_usbat cleanups 2005-10-28 16:47:43 -07:00
transport.c [PATCH] PATCH: usb-storage: allocate separate sense buffer 2005-10-28 16:47:50 -07:00
transport.h [PATCH] usb-storage: Some minor shuttle_usbat cleanups 2005-10-28 16:47:43 -07:00
unusual_devs.h [PATCH] USB: fix USB key generates ioctl_internal_command errors issue 2005-11-23 23:04:28 -08:00
usb.c [PATCH] PATCH: usb-storage: use kthread API 2005-10-28 16:47:50 -07:00
usb.h [PATCH] PATCH: usb-storage: use kthread API 2005-10-28 16:47:50 -07:00