LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb-storage buffer i/o error (https://www.linuxquestions.org/questions/linux-hardware-18/usb-storage-buffer-i-o-error-170123/)

zedmango 04-14-2004 01:45 PM

usb-storage buffer i/o error
 
I have a question about usb-storage:

I am running linux-2.6.5-rc3-ben0 on ppc and have a USB storage unit attached
to my USB port. I get the following in /var/log/messages:

Apr 11 19:15:42 esse kernel: SCSI device sda: 240121729 512-byte hdwr
sectors (122942 MB)
Apr 11 19:15:42 esse kernel: sda: assuming drive cache: write through
Apr 11 19:15:42 esse kernel: sda:<7>usb-storage: queuecommand called
Apr 11 19:15:42 esse kernel: scsi: Device offlined - not ready after
error recovery: host 0 channel 0 id 0 lun 0
Apr 11 19:15:42 esse kernel: SCSI error : <0 0 0 0> return code =
0x70000
Apr 11 19:15:42 esse kernel: end_request: I/O error, dev sda, sector 0
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 0
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 1
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 2
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 3
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 4
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 5
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 6
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 7
Apr 11 19:15:42 esse kernel: scsi0 (0:0): rejecting I/O to offline
device
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 0
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 1
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 2
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 3
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 4
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 5
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 6
Apr 11 19:15:42 esse nfslock: rpc.statd startup succeeded
Apr 11 19:15:42 esse rpc.statd[656]: Version 1.0.1 Starting
Apr 11 19:15:42 esse kernel: Buffer I/O error on device sda, logical
block 7
Apr 11 19:15:42 esse keytable: Loading keymap:
Apr 11 19:15:42 esse kernel: unable to read partition table
Apr 11 19:15:42 esse kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
Apr 11 19:15:42 esse keytable:
Apr 11 19:15:42 esse kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0, type 0

Is there something wrong with my hardware? Is there some way to get
the drive working? I have not yet been able to access it.

The drive is a Maxtor DiamondMax Plus 9 (120GB) and is not known to work.

This is the lsusb output:


Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 10.01
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 6.02
iManufacturer 3 Linux 2.6.5-rc3-ben0 ohci_hcd
iProduct 2 Apple Computer Inc. KeyLargo USB (#2)
iSerial 1 0001:01:19.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 255
Language IDs: (length=4)
0409 English(US)

Bus 001 Device 003: ID cf04:2200
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 10.01
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0xcf04
idProduct 0x2200
bcdDevice 1.01
iManufacturer 2 USB Keyboard
iProduct 2 USB Keyboard
iSerial 2 USB Keyboard
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 2
bmAttributes 0xa0
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 202
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Language IDs: (length=4)
0409 English(US)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 10.01
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 6.02
iManufacturer 3 Linux 2.6.5-rc3-ben0 ohci_hcd
iProduct 2 Apple Computer Inc. KeyLargo USB
iSerial 1 0001:01:18.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 255
Language IDs: (length=4)
0409 English(US)

These are the error messages lsubs produces:

Unknown line at line 58
Unknown line at line 2296
Unknown line at line 2297
Unknown line at line 2298
Unknown line at line 2299
Unknown line at line 2300
Unknown line at line 2301
Unknown line at line 2302
Unknown line at line 2303
Unknown line at line 2304
Unknown line at line 2305
Unknown line at line 2306
Unknown line at line 2307
Unknown line at line 2308
Unknown line at line 2309
Unknown line at line 2310
Unknown line at line 2311
Unknown line at line 2312
Unknown line at line 2313
Unknown line at line 2314
Unknown line at line 2315
Unknown line at line 2316
Unknown line at line 2317
Unknown line at line 2318
Unknown line at line 2319
Unknown line at line 2320
Unknown line at line 2321
Unknown line at line 2322
Unknown line at line 2323
Unknown line at line 2324
Unknown line at line 2325
Unknown line at line 2326
Unknown line at line 2327
Unknown line at line 2328
Unknown line at line 2329
Unknown line at line 2330
Unknown line at line 2331
Unknown line at line 2332
Unknown line at line 2333
Unknown line at line 2334
Unknown line at line 2335

I would appreciate any help anyone can offer.

Thanks,
Jeremy


All times are GMT -5. The time now is 01:51 PM.