Closed
Description
If I do cat /dev/sda1 > /dev/null & and let it run on a pendrive or USB hdd plugged directly into the Pi, after several seconds the device stops responding. About 10 seconds after this, the device gets reset due to some sort of timeout. During this period, CPU is 99% wa time, 0% idle time.
If the device is plugged into a downstream hub, this never happens. The command runs until the end of the drive is reached.
Pendrive breakage:
[ 154.023059] usb 1-1: USB disconnect, device number 3
[ 154.043164] sd 1:0:0:0: [sda] Unhandled error code
[ 154.043200] sd 1:0:0:0: [sda]
[ 154.043211] Result: hostbyte=0x01 driverbyte=0x00
[ 154.043224] sd 1:0:0:0: [sda] CDB:
[ 154.043233] cdb[0]=0x28: 28 00 00 01 08 70 00 00 f0 00
[ 154.043273] end_request: I/O error, dev sda, sector 67696
[ 154.043289] quiet_error: 50 callbacks suppressed
[ 154.043301] Buffer I/O error on device sda1, logical block 8458
[ 154.043337] Buffer I/O error on device sda1, logical block 8459
[ 154.043356] Buffer I/O error on device sda1, logical block 8460
[ 154.043371] Buffer I/O error on device sda1, logical block 8461
[ 154.043384] Buffer I/O error on device sda1, logical block 8462
[ 154.043397] Buffer I/O error on device sda1, logical block 8463
[ 154.043411] Buffer I/O error on device sda1, logical block 8464
[ 154.043424] Buffer I/O error on device sda1, logical block 8465
[ 154.043437] Buffer I/O error on device sda1, logical block 8466
[ 154.043450] Buffer I/O error on device sda1, logical block 8467
[ 154.043733] sd 1:0:0:0: [sda] Unhandled error code
[ 154.043753] sd 1:0:0:0: [sda]
[ 154.043764] Result: hostbyte=0x01 driverbyte=0x00
[ 154.043775] sd 1:0:0:0: [sda] CDB:
[ 154.043783] cdb[0]=0x28: 28 00 00 01 09 60 00 00 40 00
[ 154.043818] end_request: I/O error, dev sda, sector 67936
[ 154.232992] Indeed it is in host mode hprt0 = 00021501
[ 154.412988] usb 1-1: new high-speed USB device number 4 using dwc_otg
[ 154.413465] Indeed it is in host mode hprt0 = 00001101
[ 154.615922] usb 1-1: New USB device found, idVendor=05dc, idProduct=a761
[ 154.615950] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 154.615965] usb 1-1: Product: JD FireFly
[ 154.615977] usb 1-1: Manufacturer: Lexar
[ 154.615990] usb 1-1: SerialNumber: L7IIICTQ421A99161YKW
[ 154.626128] scsi2 : usb-storage 1-1:1.0
[ 156.428219] scsi 2:0:0:0: Direct-Access Lexar JD FireFly 1100 PQ: 0 ANSI: 0 CCS
[ 156.430479] sd 2:0:0:0: [sda] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
[ 156.431291] sd 2:0:0:0: [sda] Write Protect is off
[ 156.431323] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 156.432208] sd 2:0:0:0: [sda] No Caching mode page present
[ 156.432238] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 156.438599] sd 2:0:0:0: [sda] No Caching mode page present
[ 156.438632] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 156.440189] sda: sda1
[ 156.444186] sd 2:0:0:0: [sda] No Caching mode page present
[ 156.444219] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 156.444237] sd 2:0:0:0: [sda] Attached SCSI removable disk
USB HDD breakage:
[ 193.194254] Indeed it is in host mode hprt0 = 00001101
[ 193.374195] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[ 193.374390] Indeed it is in host mode hprt0 = 00001101
[ 226.185542] Indeed it is in host mode hprt0 = 00001101
[ 226.425294] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[ 226.425576] Indeed it is in host mode hprt0 = 00001101
[ 226.665342] usb 1-1: device descriptor read/64, error -32
[ 226.775515] Indeed it is in host mode hprt0 = 00001101
[ 227.015252] usb 1-1: device descriptor read/64, error -32
[ 227.125290] Indeed it is in host mode hprt0 = 00001101
[ 227.305405] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[ 227.305677] Indeed it is in host mode hprt0 = 00001101
[ 227.485261] usb 1-1: device descriptor read/64, error -32
[ 227.595490] Indeed it is in host mode hprt0 = 00001101
[ 227.775269] usb 1-1: device descriptor read/64, error -32
[ 227.885303] Indeed it is in host mode hprt0 = 00001101
[ 228.065273] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[ 228.085578] usb 1-1: device descriptor read/8, error -71
[ 228.215635] usb 1-1: device descriptor read/8, error -71
[ 228.325316] Indeed it is in host mode hprt0 = 00001101
[ 228.505291] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[ 228.525565] usb 1-1: device descriptor read/8, error -71
[ 228.655612] usb 1-1: device descriptor read/8, error -71
[ 228.765369] usb 1-1: USB disconnect, device number 2
[ 228.778680] sd 0:0:0:0: Device offlined - not ready after error recovery
[ 228.786321] sd 0:0:0:0: [sda] Unhandled error code
[ 228.786351] sd 0:0:0:0: [sda]
[ 228.786363] Result: hostbyte=0x01 driverbyte=0x00
[ 228.786376] sd 0:0:0:0: [sda] CDB:
[ 228.786386] cdb[0]=0x28: 28 00 00 03 fb 60 00 00 f0 00
[ 228.786425] end_request: I/O error, dev sda, sector 260960
[ 228.786445] Buffer I/O error on device sda1, logical block 32364
[ 228.786484] Buffer I/O error on device sda1, logical block 32365
[ 228.786502] Buffer I/O error on device sda1, logical block 32366
[ 228.786517] Buffer I/O error on device sda1, logical block 32367
[ 228.786530] Buffer I/O error on device sda1, logical block 32368
[ 228.786544] Buffer I/O error on device sda1, logical block 32369
[ 228.786556] Buffer I/O error on device sda1, logical block 32370
[ 228.786569] Buffer I/O error on device sda1, logical block 32371
[ 228.786582] Buffer I/O error on device sda1, logical block 32372
[ 228.786596] Buffer I/O error on device sda1, logical block 32373
[ 228.786759] sd 0:0:0:0: [sda] Unhandled error code
[ 228.786779] sd 0:0:0:0: [sda]
[ 228.786788] Result: hostbyte=0x01 driverbyte=0x00
[ 228.786800] sd 0:0:0:0: [sda] CDB:
[ 228.786807] cdb[0]=0x28: 28 00 00 03 fc 50 00 00 f0 00
[ 228.786841] end_request: I/O error, dev sda, sector 261200
[ 229.045327] Indeed it is in host mode hprt0 = 00001501
[ 229.225301] usb 1-1: new high-speed USB device number 3 using dwc_otg
[ 229.225567] Indeed it is in host mode hprt0 = 00001101
[ 229.405352] usb 1-1: device descriptor read/64, error -32
[ 229.515530] Indeed it is in host mode hprt0 = 00001101
[ 229.695313] usb 1-1: device descriptor read/64, error -32
[ 229.805444] Indeed it is in host mode hprt0 = 00001101
[ 229.985337] usb 1-1: new high-speed USB device number 4 using dwc_otg
[ 229.985604] Indeed it is in host mode hprt0 = 00001101
[ 230.165384] usb 1-1: device descriptor read/64, error -32
[ 230.275545] Indeed it is in host mode hprt0 = 00001101
[ 230.455398] usb 1-1: device descriptor read/64, error -32
[ 230.565483] Indeed it is in host mode hprt0 = 00001101
[ 230.745353] usb 1-1: new high-speed USB device number 5 using dwc_otg
[ 230.765658] usb 1-1: device descriptor read/8, error -71
[ 230.895621] usb 1-1: device descriptor read/8, error -71
[ 231.005420] Indeed it is in host mode hprt0 = 00001101
[ 231.185382] usb 1-1: new high-speed USB device number 6 using dwc_otg
[ 231.205701] usb 1-1: device descriptor read/8, error -71
[ 231.335663] usb 1-1: device descriptor read/8, error -71
[ 231.445414] hub 1-0:1.0: unable to enumerate USB device on port 1
The USB HDD appears to have more of a tantrum and stops responding altogether, even through a Pi reboot.
This happens with or without dwc_otg.fiq_fix_enable=0 OR dwc_otg.speed=1 on the command line.
Metadata
Metadata
Assignees
Labels
No labels