On Wed, 26 Dec 2007 11:29:38 -0800 (PST) [EMAIL PROTECTED] wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=9638 > > Summary: USB bad sense data [sense 0 00 00] causes corruption > Product: Drivers > Version: 2.5 > KernelVersion: 2.6.xx > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: USB > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > > Most recent kernel where this bug did not occur: > Distribution: Slackware 12.0.0 > Hardware Environment: EHCI/OCHI/UHCI > Software Environment: > Problem Description: > One device (USB to PATA/SATA bridge) fails only on EHCI and OHCI, but is fine > on the system with UHCI, the other device fails on ALL THREE > > Steps to reproduce: > Read or write from the device, check dmesg > > >>>>>>>>>>>>>>>>>>WD MYBOOK CASE > > usb 4-2.1: new high speed USB device using ehci_hcd and address 25 > usb 4-2.1: configuration #1 chosen from 1 choice > ubc: ubc1 > ub(4.15): dir w len/act 8192/1536 [sense 0 00 00] retry 1 > usb 4-2.3: reset high speed USB device using ehci_hcd and address 15 > <unplug device, plug in device, mount, ls> > usb 4-2.1: USB disconnect, address 25 > usb 4-2.1: new high speed USB device using ehci_hcd and address 26 > usb 4-2.1: configuration #1 chosen from 1 choice > ubc: ubc1 > ub(4.26): dir r len/act 4608/512 [sense 0 00 00] retry 1 > usb 4-2.1: reset high speed USB device using ehci_hcd and address 26 > > > /: Bus 04.Port 1: Dev 1, Class=root_hub, Drv=ehci_hcd/6p, 480M > |_ Port 2: Dev 14, If 0, Prod=, Class=hub, Drv=hub/4p, 480M > |_ Port 1: Dev 26, If 0, Prod=My Book, Class=stor., Drv=ub, 480M > |_ Port 3: Dev 15, If 0, Prod=External HDD, Class=stor., Drv=ub, 480M > |_ Port 4: Dev 24, If 0, Prod=External HDD, Class=stor., Drv=ub, 480M > /: Bus 03.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > /: Bus 02.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > /: Bus 01.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > > Bus 4 Device 26: ID 1058:1100 Western Digital Technologies, Inc. > Bus 4 Device 24: ID 1058:0900 Western Digital Technologies, Inc. > Bus 4 Device 15: ID 1058:0901 Western Digital Technologies, Inc. > Bus 4 Device 14: ID 058f:6254 Alcor Micro Corp. > Bus 4 Device 1: ID 0000:0000 > Bus 1 Device 1: ID 0000:0000 > Bus 3 Device 1: ID 0000:0000 > Bus 2 Device 1: ID 0000:0000 > > What is interesting is the other two WD MyBooks are and have been working fine > for over 1 year, and continue to do so. This particular one is the 500GiB > essentials model WD5000M1U-00, that I had just purchased, and tried on 2 > different machines, and even across usb 1.x hubs to verify that it is not a > speed issue. to verify that it is not a cable issue, 3 different sets of > cables > were used, all results presented the same bogus sense data on 2 different > machines. > > >>>>>>>>>>>>>>>> USB to PATA/SATA bridge case > > This particular device works fine on UHCI USB 1.10, an older Athalon 900 > motherboard. It errupts the same errors that the WD mybook does on EHCI/OHCI > with same results as the above mentioned hardware, using the same testing. > > usb 4-2.1: new high speed USB device using ehci_hcd and address 27 > usb 4-2.1: configuration #1 chosen from 1 choice > ubc: ubc1 > Bus 4 Device 27: ID 152d:2338 > Bus 4 Device 24: ID 1058:0900 Western Digital Technologies, Inc. > Bus 4 Device 15: ID 1058:0901 Western Digital Technologies, Inc. > Bus 4 Device 14: ID 058f:6254 Alcor Micro Corp. > Bus 4 Device 1: ID 0000:0000 > Bus 1 Device 1: ID 0000:0000 > Bus 3 Device 1: ID 0000:0000 > Bus 2 Device 1: ID 0000:0000 > /: Bus 04.Port 1: Dev 1, Class=root_hub, Drv=ehci_hcd/6p, 480M > |_ Port 2: Dev 14, If 0, Prod=, Class=hub, Drv=hub/4p, 480M > |_ Port 1: Dev 27, If 0, Prod=USB to ATA/ATAPI Bridge, Class=stor., > Drv=ub, 480M > |_ Port 3: Dev 15, If 0, Prod=External HDD, Class=stor., Drv=ub, 480M > |_ Port 4: Dev 24, If 0, Prod=External HDD, Class=stor., Drv=ub, 480M > /: Bus 03.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > /: Bus 02.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > /: Bus 01.Port 1: Dev 1, Class=root_hub, Drv=ohci_hcd/2p, 12M > > However this bug appears to only occur when slower devices or devices powered > by the unit, so it may be that the sense data is reporting some sort of drive > feature that is missing? perhaps to much draw from the hub? I still need to > test this on a powered hub, to see if it mitigates the issue, as well as try > different combinations of disk. > > Regardless, it's very apparent that this strange sense data means something, > what, I'm not sure. However I do know that massive corruption occurs when this > message pops up. Perhaps the right thing to do is to discard that entire > transaction and to retry it completely to avoid corruption. the rest I don't > think is needed, and possibly slows the entire process down. > > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html