Re: [SLUG] usb thumbdrive AAARRGH

From: Mike Branda (mike@wackyworld.tv)
Date: Thu Jan 05 2006 - 15:31:07 EST


On Thu, 2006-01-05 at 13:53 -0600, Levi Bard wrote:
> When you plug it in, do you get a bunch of messages on the system
> console about usb-storage claiming it?
>

it001:~ # tail -f /var/log/messages
Jan 5 15:15:54 it001 kernel: usb 1-1: new full speed USB device using uhci_hcd and address 11
Jan 5 15:15:55 it001 kernel: hub 1-1:1.0: USB hub found
Jan 5 15:15:55 it001 kernel: hub 1-1:1.0: 1 port detected
Jan 5 15:15:55 it001 kernel: usb 1-1.1: new full speed USB device using uhci_hcd and address 12
Jan 5 15:15:55 it001 kernel: scsi9 : SCSI emulation for USB Mass Storage devices
Jan 5 15:15:55 it001 kernel: usb-storage: device found at 12
Jan 5 15:15:55 it001 kernel: usb-storage: waiting for device to settle before scanning
Jan 5 15:16:00 it001 kernel: Vendor: Sony Model: Storage Media Rev: 1.00
Jan 5 15:16:00 it001 kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 5 15:16:00 it001 kernel: SCSI device sdb: 512000 512-byte hdwr sectors (262 MB)
Jan 5 15:16:00 it001 kernel: sdb: Write Protect is off
Jan 5 15:16:00 it001 kernel: sdb: Mode Sense: 00 06 00 00
Jan 5 15:16:00 it001 kernel: sdb: assuming drive cache: write through
Jan 5 15:16:00 it001 kernel: SCSI device sdb: 512000 512-byte hdwr sectors (262 MB)
Jan 5 15:16:00 it001 kernel: sdb: Write Protect is off
Jan 5 15:16:00 it001 kernel: sdb: Mode Sense: 00 06 00 00
Jan 5 15:16:00 it001 kernel: sdb: assuming drive cache: write through
Jan 5 15:16:00 it001 kernel: sdb: unknown partition table
Jan 5 15:16:00 it001 kernel: Attached scsi removable disk sdb at scsi9, channel 0, id 0, lun 0
Jan 5 15:16:00 it001 kernel: Attached scsi generic sg1 at scsi9, channel 0, id 0, lun 0, type 0
Jan 5 15:16:00 it001 kernel: usb-storage: device scan complete
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: cannot reset port 1 (err = -110)
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: cannot reset port 1 (err = -71)
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: cannot reset port 1 (err = -71)
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: cannot reset port 1 (err = -71)
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: cannot reset port 1 (err = -71)
Jan 5 15:16:04 it001 kernel: hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?

edit -- last 6 lines repeated 4 times

Jan 5 15:16:05 it001 kernel: SCSI error : <9 0 0 0> return code = 0x70000
Jan 5 15:16:05 it001 kernel: end_request: I/O error, dev sdb, sector 64
Jan 5 15:16:05 it001 kernel: printk: 2 messages suppressed.
Jan 5 15:16:05 it001 kernel: Buffer I/O error on device sdb, logical block 8
Jan 5 15:16:05 it001 kernel: SCSI error : <9 0 0 0> return code = 0x70000
Jan 5 15:16:05 it001 kernel: end_request: I/O error, dev sdb, sector 72
Jan 5 15:16:05 it001 kernel: Buffer I/O error on device sdb, logical block 9
Jan 5 15:16:05 it001 kernel: SCSI error : <9 0 0 0> return code = 0x70000
Jan 5 15:16:05 it001 kernel: end_request: I/O error, dev sdb, sector 80

edit -- basically the same 3 lines all the way through block 15

Jan 5 15:16:05 it001 kernel: hub 1-1:1.0: hub_port_status failed (err = -71)
Jan 5 15:16:05 it001 kernel: sdb : READ CAPACITY failed.
Jan 5 15:16:05 it001 kernel: sdb : status=0, message=00, host=7, driver=00
Jan 5 15:16:05 it001 kernel: sdb : sense not available.
Jan 5 15:16:05 it001 kernel: sdb: Write Protect is off
Jan 5 15:16:05 it001 kernel: sdb: Mode Sense: 00 00 00 00
Jan 5 15:16:05 it001 kernel: sdb: assuming drive cache: write through

edit -- last 6 lines repeated 6 times

Jan 5 15:16:06 it001 kernel: sdb: unable to read partition table

edit -- then the previous 6 lines repeated 25 times

So we see usb-storage claim it, we see it attach at sdb, then it whines
about resetting port 1. What the heck is that? Then it can't enable
port 1, then a bunch of buffer I/O problems, then a bunch more crap and
finally, it can't read the partition table which doesn't surprise me as
these drives don't really have them by default right?

So now what??

Mike Branda Jr.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:03:56 EDT