Bug 4329
Summary: | USB-HDD were not recognized | ||
---|---|---|---|
Product: | Drivers | Reporter: | Felix Hammer (f.hammer) |
Component: | USB | Assignee: | David Brownell (dbrownell) |
Status: | REJECTED DUPLICATE | ||
Severity: | normal | CC: | greg |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.10 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Felix Hammer
2005-03-11 12:56:50 UTC
Felix, are you able to test a later kernel? 2.6.12-rc1 or, better, 2.6.12-rc1-mm1? Thanks. i tried 2.6.12-rc1-mm1 when i plug in i get: usb 5-7: new high speed USB device using ehci_hcd and address 4 ACPI: No ACPI bus support for 5-7 ACPI: No ACPI bus support for 5-7:1.0 Initializing USB Mass Storage driver... usb-storage: USB Mass Storage device detected usb-storage: -- associate_dev usb-storage: Vendor: 0x067b, Product: 0x3507, Revision: 0x0001 usb-storage: Interface Subclass: 0x06, Protocol: 0x50 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 usb-storage: GetMaxLUN command result is 1, data is 0 usb-storage: *** thread sleeping. scsi2 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 4 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: Status code 0; transferred 36/36 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Vendor: Maxtor 6 Model: Y120L0 Rev: YAR4 Type: Direct-Access ANSI SCSI revision: 00 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 0x2 L 0 F 0 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: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x2 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x3 L 8 F 128 Trg 0 LUN 0 CL 10 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 8 bytes usb-storage: Status code 0; transferred 8/8 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x3 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. SCSI device sdc: 240121727 512-byte hdwr sectors (122942 MB) sdc: assuming drive cache: write through 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 0x4 L 0 F 0 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: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x4 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x5 L 8 F 128 Trg 0 LUN 0 CL 10 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 8 bytes usb-storage: Status code 0; transferred 8/8 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x5 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. SCSI device sdc: 240121727 512-byte hdwr sectors (122942 MB) sdc: assuming drive cache: write through sdc:<7>usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 usb-storage: Bulk Command S 0x43425355 T 0x6 L 4096 F 128 Trg 0 LUN 0 CL 10 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_sglist: xfer 4096 bytes, 1 entries usb-storage: Status code 0; transferred 4096/4096 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x6 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sdc1 Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0 ACPI: No ACPI bus support for 2:0:0:0 Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (1:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (2:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (3:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (4:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (5:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (6:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (7:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: device scan complete but i cannot mount. i get allways: SCSI error : <2 0 0 0> return code = 0x70000 end_request: I/O error, dev sdc, sector 27 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 1c 00 00 04 00 usb-storage: Bulk Command S 0x43425355 T 0x13ec L 2048 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code -71; transferred 0/31 usb-storage: -- unknown error usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting 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: Soft reset failed: -71 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. SCSI error : <2 0 0 0> return code = 0x70000 end_request: I/O error, dev sdc, sector 28 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 1d 00 00 03 00 usb-storage: Bulk Command S 0x43425355 T 0x13ed L 1536 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code -71; transferred 0/31 usb-storage: -- unknown error usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting 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: Soft reset failed: -71 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. SCSI error : <2 0 0 0> return code = 0x70000 end_request: I/O error, dev sdc, sector 29 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 1e 00 00 02 00 usb-storage: Bulk Command S 0x43425355 T 0x13ee L 1024 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code -71; transferred 0/31 usb-storage: -- unknown error usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting 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: Soft reset failed: -71 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. SCSI error : <2 0 0 0> return code = 0x70000 end_request: I/O error, dev sdc, sector 30 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 1f 00 00 01 00 usb-storage: Bulk Command S 0x43425355 T 0x13ef L 512 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code -71; transferred 0/31 usb-storage: -- unknown error usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting 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: Soft reset failed: -71 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. SCSI error : <2 0 0 0> return code = 0x70000 end_request: I/O error, dev sdc, sector 31 i dont know why, but today i tried 2.6.12-rc1 with latest mm1 patch again. i get following when pluggin in: usb 5-7: new high speed USB device using ehci_hcd and address 4 usb 5-7: device descriptor read/all, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 5 usb 5-7: unable to read config index 0 descriptor/start usb 5-7: can't read configurations, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 6 usb 5-7: device descriptor read/64, error -71 usb 5-7: device descriptor read/64, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 7 usb 5-7: unable to read config index 0 descriptor/start usb 5-7: can't read configurations, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 8 usb 5-7: device descriptor read/all, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 9 usb 5-7: device descriptor read/all, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 10 usb 5-7: device descriptor read/64, error -71 usb 5-7: device descriptor read/64, error -71 usb 5-7: new high speed USB device using ehci_hcd and address 11 usb 5-7: device descriptor read/64, error -71 usb 5-7: device descriptor read/64, error -71 This looks like you're still having HCD problems. The EHCI maintainer probably needs to look at this. The last time we got lots of "-71" errors (-EPROTO) it was due to missing delays in the hub driver. See if 2.6.11 or 2.6.12-rc1 has those issues. We might need to lengthen the TRSTRCY timeout past the minimum; hard to say. The "can't mount" issue looks to be another case where usb-storage is only using the weak/ineffectual reset mechanism rather than the more robust port reset that for example Windows uses. So it gets an error and can't recover. Why it gets the error is another issue; this might need an unusual_devices entry. i tried 2.6.11, 2.6.12-rc1 and 2.6.12-rc1-mm1. all of them has those issue. can i help you debugging? can i send you more information, output, ...? please tell me how i can help. No bright ideas here other than changing drivers/usb/core/hub.c near the TRSTRCY comment ... make the msleep(10) read msleep(20) or more, see if that makes a difference. I think this report actually covers two bugs. One's the one seen elsewhere with enumeration being unhappy; that's what I suggested the TRSTRCY tweak to address. The other is a usb-storage/SCSI error handling issue (one of several). *** This bug has been marked as a duplicate of 4149 *** That SCSI error is the old "drive reports one more sector than it really has" bug. It's a known problem with the PL-3507 controller. The problem has already been fixed in the latest USB developement kernels; the fix is probably in 2.6.12-rc2. Alternatively, you could work around the problem by turning off support for EFI GUID Partitions in the kernel configuration, under File systems/Partition Types. for me this works: i disabled following usbcore-options: #options usbcore use_both_schemes=y #options usbcore old_scheme_first=y (some people told me to use this for getting more speed with usb-stick) now it all works fine with the original kernel-2.6.11 |