usb mass storage problem

Submitted by lixinsun
on April 6, 2006 - 1:19am

the version of linux kernel is 2.6.11.6 and host control chip is isp1561. Main chip of system is pnx8550, which has one mips core and two dsp core.
Now while plugging some usb disk, there are error messages.
the dmesg inforamtion is as bellow.
usb 2-2: new full speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-2: hotplug
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usb 2-2:1.0: hotplug
usb-storage 2-2:1.0: usb_probe_interface
usb-storage 2-2:1.0: usb_probe_interface - got id
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x0204, Product: 0x6025, Revision: 0x0100
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Vendor: Unknown, Product: Unknown
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
ohci_hcd 0000:00:09.0: urb 82d796e0 path 2 ep0in 82d60000 cc 8 --> status -79
usb-storage: GetMaxLUN command result is -79, data is 0
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: command_abort called
usb-storage: usb_stor_stop_transport called
usb-storage: -- cancelling URB
usb-storage: Status code -131; transferred 0/36
usb-storage: -- transfer cancelled
usb-storage: Bulk data transfer result 0x4
usb-storage: -- command was aborted
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Timeout -- cancelling URB
usb-storage: Soft reset failed: -131
usb-storage: scsi command aborted
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: command_abort called
usb-storage: usb_stor_stop_transport called
usb-storage: -- cancelling URB
usb-storage: Status code -131; transferred 0/31
usb-storage: -- transfer cancelled
usb-storage: Bulk command transfer result=4
usb-storage: -- command was aborted
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
ohci_hcd 0000:00:09.0: urb 82d796e0 path 2 ep0out 5ec20000 cc 5 --> status -145
usb-storage: Soft reset failed: -145
usb-storage: scsi command aborted
usb-storage: *** thread sleeping.
usb-storage: device_reset called
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
ohci_hcd 0000:00:09.0: urb 82d796e0 path 2 ep0out 5ec20000 cc 5 --> status -145
usb-storage: Soft reset failed: -145
usb-storage: bus_reset called
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: reset full speed USB device using ohci_hcd and address 2
usb 2-2: scsi_eh_0 timed out on ep0in
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
hub 2-0:1.0: reset change on port 2
usb 2-2: device descriptor read/64, error -145
usb 2-2: scsi_eh_0 timed out on ep0in
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: device descriptor read/64, error -145
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: reset full speed USB device using ohci_hcd and address 2
usb 2-2: scsi_eh_0 timed out on ep0in
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: device descriptor read/64, error -145
usb 2-2: scsi_eh_0 timed out on ep0in
ohci_hcd 0000:00:09.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PS
usb 2-2: device descriptor read/64, error -145

What is problem? how to fix it?
thanks!

USB work still happening

on
April 6, 2006 - 10:36am

I'd seriously consider upgrading your kernel if you're having problems. There's always new USB tweaks going on. There are known issues with USB-Storage that are actively being worked on and fixes keep going into new kernels.

Re:USB work still happening

on
April 10, 2006 - 4:16am

Thanks!
I have considered upgrading linux kernel. But my system is based on embedded mips chip. Kernel porting is chip manufacturer work. If I porting new kernel, there are some problems.
if not upgrading kernel, do you tell me some method for fix this bug?
Thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.