2.5.70: AXIS usb flash disk problem

Bob Tracy (rct@gherkin.frus.com)
Fri, 6 Jun 2003 02:51:00 -0500 (CDT)


Well... *That* was exciting :-(. I plugged a 64 MB AXIS usb flash
disk into my Linux machine, and the following syslog messages were
recorded before the machine locked up solid:

Jun 6 02:20:32 gherkin kernel: Initializing USB Mass Storage driver...
Jun 6 02:20:33 gherkin kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jun 6 02:20:33 gherkin kernel: Vendor: STORIX Model: AXIS Rev: 1.00
Jun 6 02:20:33 gherkin kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 6 02:20:33 gherkin kernel: SCSI device sdb: 128000 512-byte hdwr sectors (66 MB)
Jun 6 02:20:33 gherkin kernel: usb-storage: Buffer length smaller than header!!<4>usb-storage: Had to truncate MODE_SENSE_10 buffer into MODE_SENSE.
Jun 6 02:20:33 gherkin kernel: usb-storage: outputBufferSize is 10 and length is 4.
Jun 6 02:20:33 gherkin kernel: usb-storage: Command will be truncated to fit in SENSE6 buffer.
Jun 6 02:20:33 gherkin kernel: sdb: Write Protect is off
Jun 6 02:20:33 gherkin kernel: sdb: Mode Sense: 00 00 00 00
Jun 6 02:20:33 gherkin kernel: usb-storage: Buffer length smaller than header!!<4>usb-storage: Command will be truncated to fit in SENSE6 buffer.
Jun 6 02:20:33 gherkin kernel: usb-storage: Buffer length smaller than header!!<4>usb-storage: Had to truncate MODE_SENSE_10 buffer into MODE_SENSE.
Jun 6 02:20:33 gherkin kernel: usb-storage: outputBufferSize is 4 and length is 1.
Jun 6 02:20:33 gherkin kernel: usb-storage: Command will be truncated to fit in SENSE6 buffer.

Any reason why SCSI emulation and the real thing might not get along?
The scsi0 device is an Adaptec 2930U2 (aic7xxx driver). Haven't tried
using the usb flash disk on a Linux IDE machine yet.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/