USB key generates ioctl_internal_command errors
Subsystems (2)
Quoted 11 lines · David Härdeman
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 throughioctl_internal_command: <8 0 0 0> return code = 8000002
: Current: sense key=0x0ASC=0x0 ASCQ=0x0SCSI 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:
/*
* Pete Zaitcev <[email protected]>, from Patrick C. F. Ernzer, bz#162559.
* The key does not actually break, but it returns zero sense which
* makes our SCSI stack to print confusing messages.
*/
UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
"USBest Technology", /* sold by Transcend */
"USB Mass Storage Device",
US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
But perhaps we want the SCSI stack to do something about it, dunno.
If you're nervous about messages, use ub, it's mostly silent :-)
-- Pete
Quoted 13 lines · Pete Zaitcev
Quoted 11 lines · David Härdeman
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 throughioctl_internal_command: <8 0 0 0> return code = 8000002
: Current: sense key=0x0ASC=0x0 ASCQ=0x0SCSI device sda: 2048000 512-byte hdwr sectors (1049 MB)
Quoted 2 lines
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. It's trivial so I hope It'll find it's way into the kernel soon.
Re,
David Härdeman
drivers/usb/storage/unusual_devs.h renamed from drivers/usb/storage/unusual_devs.h.orig +9 -0
@@ -1086,6 +1086,15 @@ US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_GO_SLOW ), +/* +* David H�rdeman <[email protected]> +* The key makes the SCSI stack print confusing (but harmless) messages +*/ +UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100, + "Iomega", + "Micro Mini 1GB", + US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ), +#ifdef CONFIG_USB_STORAGE_SDDR55 UNUSUAL_DEV( 0x55aa, 0xa103, 0x0000, 0x9999, "Sandisk",