Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Sansa Clip+
  • Severity High
  • Priority Very Low
  • Reported Version Release 3.13
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by dunpeal - 2014-04-22
Last edited by saratoga - 2016-08-28

FS#12976 - USB connection breaks in the middle of transfer to MSDXC card

Here's the steps to reproduce:

1. Connect Sansa Clip+ running latest stable (3.13) release or latest development build (532b814-140418 tested).
2. Transfer a large album to the MSDXC (I get this problem consistently with a 150MB album, though a 60MB one transferred successfully).
3. USB connection will suddenly break, leaving the destination MSDXC filesystem in error state.

This bug occurs consistently with 2 Transcend 64GB MicroSDXC Class10 UHS-1 (TS64GUSDU1E) I've tested. The failure doesn't occur at the exact moment at all times, with more files ending up transferred some times but not others. But it does consistently occur: I was never able to successfully transfer a 150MB album.

Amazon link for the exact card model I bought: http://www.amazon.com/gp/product/B00CHHTOII/

The problem does not occur with a different 64GB MSDXC card model: SanDisk Ultra SDSDQU-064G-AFFP-A http://www.amazon.com/SanDisk-microSDXC-Memory-Adapter-SDSDQU-064G-AFFP-A/dp/B009QZH6JS

It also does not occur on the exact same player running the same Rockbox using lower capacity (16-32GB) MSDHCs.

Full dmesg log, from the time I connect the player to the point the connection is unexpectedly broken:

[23987.230979] usb 3-2: new high-speed USB device number 44 using xhci_hcd
[23987.248986] usb 3-2: New USB device found, idVendor=0781, idProduct=74d1
[23987.248989] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23987.248999] usb 3-2: Product: Rockbox media player
[23987.249000] usb 3-2: Manufacturer: Rockbox.org
[23987.249001] usb 3-2: SerialNumber: 1A8C381000DFB16A300000000
[23992.245522] usb 3-2: can't set config #1, error -110
[23992.465409] usb 3-2: USB disconnect, device number 44
[23993.217176] usb 3-2: new high-speed USB device number 45 using xhci_hcd
[23993.765367] usb 3-2: Device not responding to set address.
[23993.968935] usb 3-2: Device not responding to set address.
[23994.172770] usb 3-2: device not accepting address 45, error -71
[23994.468699] usb 3-2: new high-speed USB device number 47 using xhci_hcd
[23994.485361] usb 3-2: New USB device found, idVendor=0781, idProduct=74d1
[23994.485367] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23994.485371] usb 3-2: Product: Rockbox media player
[23994.485374] usb 3-2: Manufacturer: Rockbox.org
[23994.485377] usb 3-2: SerialNumber: 1A8C381000DFB16A300000000
[23994.488080] usb-storage 3-2:1.0: USB Mass Storage device detected
[23994.488351] scsi31 : usb-storage 3-2:1.0
[23995.484810] scsi 31:0:0:0: Direct-Access Rockbox Internal Storage 0.00 PQ: 0 ANSI: 4
[23995.485010] scsi 31:0:0:1: Direct-Access Rockbox SD Card Slot 0.00 PQ: 0 ANSI: 4
[23995.485263] sd 31:0:0:0: Attached scsi generic sg2 type 0
[23995.485439] sd 31:0:0:0: [sdb] 7683072 512-byte logical blocks: (3.93 GB/3.66 GiB)
[23995.485442] sd 31:0:0:1: Attached scsi generic sg3 type 0
[23995.485876] sd 31:0:0:0: [sdb] Write Protect is off
[23995.485879] sd 31:0:0:0: [sdb] Mode Sense: 0b 00 00 08
[23995.485980] sd 31:0:0:1: [sdc] 123795456 512-byte logical blocks: (63.3 GB/59.0 GiB)
[23995.486452] sd 31:0:0:0: [sdb] No Caching mode page found
[23995.486455] sd 31:0:0:0: [sdb] Assuming drive cache: write through
[23995.486616] sd 31:0:0:1: [sdc] Write Protect is off
[23995.486619] sd 31:0:0:1: [sdc] Mode Sense: 0b 00 00 08
[23995.486732] sd 31:0:0:1: [sdc] No Caching mode page found
[23995.486734] sd 31:0:0:1: [sdc] Assuming drive cache: write through
[23995.489534] sd 31:0:0:0: [sdb] No Caching mode page found
[23995.489537] sd 31:0:0:0: [sdb] Assuming drive cache: write through
[23995.489667] sd 31:0:0:1: [sdc] No Caching mode page found
[23995.489670] sd 31:0:0:1: [sdc] Assuming drive cache: write through
[23995.491168] sdb: sdb1
[23995.492639] sdc: sdc1
[23995.493774] sd 31:0:0:0: [sdb] No Caching mode page found
[23995.493776] sd 31:0:0:0: [sdb] Assuming drive cache: write through
[23995.493778] sd 31:0:0:0: [sdb] Attached SCSI removable disk
[23995.493875] sd 31:0:0:1: [sdc] No Caching mode page found
[23995.493877] sd 31:0:0:1: [sdc] Assuming drive cache: write through
[23995.493879] sd 31:0:0:1: [sdc] Attached SCSI removable disk
[24005.474441] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[24145.305341] usb 3-2: reset high-speed USB device number 47 using xhci_hcd
[24150.303536] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24150.507633] usb 3-2: Device not responding to set address.
[24150.711383] usb 3-2: device not accepting address 47, error -71
[24150.823451] usb 3-2: reset high-speed USB device number 47 using xhci_hcd
[24155.821791] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24161.024105] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24161.228037] usb 3-2: device not accepting address 47, error -62
[24161.340018] usb 3-2: reset high-speed USB device number 47 using xhci_hcd
[24166.338413] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24166.542445] usb 3-2: Device not responding to set address.
[24166.746292] usb 3-2: device not accepting address 47, error -71
[24166.858309] usb 3-2: reset high-speed USB device number 47 using xhci_hcd
[24171.856697] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24177.059051] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24177.262947] usb 3-2: device not accepting address 47, error -62
[24177.262970] usb 3-2: USB disconnect, device number 47
[24177.262980] sd 31:0:0:1: Device offlined - not ready after error recovery
[24177.262985] sd 31:0:0:1: [sdc] Unhandled error code
[24177.262987] sd 31:0:0:1: [sdc]
[24177.262988] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[24177.262989] sd 31:0:0:1: [sdc] CDB:
[24177.262990] Write(10): 2a 00 00 29 f9 00 00 00 f0 00
[24177.262994] end_request: I/O error, dev sdc, sector 2750720
[24177.263004] sd 31:0:0:1: rejecting I/O to offline device
[24177.263006] sd 31:0:0:1: killing request
[24177.263017] sd 31:0:0:1: rejecting I/O to offline device
[24177.263018] sd 31:0:0:1: [sdc] killing request
[24177.263020] sd 31:0:0:1: rejecting I/O to offline device
[24177.263026] sd 31:0:0:1: rejecting I/O to offline device
[24177.263032] sd 31:0:0:1: rejecting I/O to offline device
[24177.263038] sd 31:0:0:1: rejecting I/O to offline device
[24177.263044] sd 31:0:0:1: rejecting I/O to offline device
[24177.263052] sd 31:0:0:1: rejecting I/O to offline device
[24177.263060] sd 31:0:0:1: rejecting I/O to offline device
[24177.263067] sd 31:0:0:1: rejecting I/O to offline device
[24177.263074] sd 31:0:0:1: rejecting I/O to offline device
[24177.263081] sd 31:0:0:1: rejecting I/O to offline device
[24177.263087] sd 31:0:0:1: rejecting I/O to offline device
[24177.263094] sd 31:0:0:1: rejecting I/O to offline device
[24177.263101] sd 31:0:0:1: rejecting I/O to offline device
[24177.263108] sd 31:0:0:1: rejecting I/O to offline device
[24177.263115] sd 31:0:0:1: rejecting I/O to offline device
[24177.263122] sd 31:0:0:1: rejecting I/O to offline device
[24177.263129] sd 31:0:0:1: rejecting I/O to offline device
[24177.263135] sd 31:0:0:1: rejecting I/O to offline device
[24177.263143] sd 31:0:0:1: rejecting I/O to offline device
[24177.263150] sd 31:0:0:1: rejecting I/O to offline device
[24177.263157] sd 31:0:0:1: rejecting I/O to offline device
[24177.263164] sd 31:0:0:1: rejecting I/O to offline device
[24177.263172] sd 31:0:0:1: rejecting I/O to offline device
[24177.263179] sd 31:0:0:1: rejecting I/O to offline device
[24177.263187] sd 31:0:0:1: rejecting I/O to offline device
[24177.263194] sd 31:0:0:1: rejecting I/O to offline device
[24177.263201] sd 31:0:0:1: rejecting I/O to offline device
[24177.263209] sd 31:0:0:1: rejecting I/O to offline device
[24177.263218] sd 31:0:0:1: rejecting I/O to offline device
[24177.263228] sd 31:0:0:1: rejecting I/O to offline device
[24177.263235] sd 31:0:0:1: rejecting I/O to offline device
[24177.263242] sd 31:0:0:1: rejecting I/O to offline device
[24177.263249] sd 31:0:0:1: rejecting I/O to offline device
[24177.263257] sd 31:0:0:1: rejecting I/O to offline device
[24177.263264] sd 31:0:0:1: rejecting I/O to offline device
[24177.263271] sd 31:0:0:1: rejecting I/O to offline device
[24177.263278] sd 31:0:0:1: rejecting I/O to offline device
[24177.263287] sd 31:0:0:1: rejecting I/O to offline device
[24177.263294] sd 31:0:0:1: rejecting I/O to offline device
[24177.263302] sd 31:0:0:1: rejecting I/O to offline device
[24177.263310] sd 31:0:0:1: rejecting I/O to offline device
[24177.263318] sd 31:0:0:1: rejecting I/O to offline device
[24177.263326] sd 31:0:0:1: rejecting I/O to offline device
[24177.263333] sd 31:0:0:1: rejecting I/O to offline device
[24177.263341] sd 31:0:0:1: rejecting I/O to offline device
[24177.263349] sd 31:0:0:1: rejecting I/O to offline device
[24177.263356] sd 31:0:0:1: rejecting I/O to offline device
[24177.263364] sd 31:0:0:1: rejecting I/O to offline device
[24177.263372] sd 31:0:0:1: rejecting I/O to offline device
[24177.263379] sd 31:0:0:1: rejecting I/O to offline device
[24177.263387] sd 31:0:0:1: rejecting I/O to offline device
[24177.263394] sd 31:0:0:1: rejecting I/O to offline device
[24177.263402] sd 31:0:0:1: rejecting I/O to offline device
[24177.263410] sd 31:0:0:1: rejecting I/O to offline device
[24177.263417] sd 31:0:0:1: rejecting I/O to offline device
[24177.263425] sd 31:0:0:1: rejecting I/O to offline device
[24177.263432] sd 31:0:0:1: rejecting I/O to offline device
[24177.263440] sd 31:0:0:1: rejecting I/O to offline device
[24177.263448] sd 31:0:0:1: rejecting I/O to offline device
[24177.263456] sd 31:0:0:1: rejecting I/O to offline device
[24177.263464] sd 31:0:0:1: rejecting I/O to offline device
[24177.263471] sd 31:0:0:1: rejecting I/O to offline device
[24177.263479] sd 31:0:0:1: rejecting I/O to offline device
[24177.263486] sd 31:0:0:1: rejecting I/O to offline device
[24177.263494] sd 31:0:0:1: rejecting I/O to offline device
[24177.263502] sd 31:0:0:1: rejecting I/O to offline device
[24177.263509] sd 31:0:0:1: rejecting I/O to offline device
[24177.263517] sd 31:0:0:1: rejecting I/O to offline device
[24177.263525] sd 31:0:0:1: rejecting I/O to offline device
[24177.263533] sd 31:0:0:1: rejecting I/O to offline device
[24177.263541] sd 31:0:0:1: rejecting I/O to offline device
[24177.263548] sd 31:0:0:1: rejecting I/O to offline device
[24177.263556] sd 31:0:0:1: rejecting I/O to offline device
[24177.263564] sd 31:0:0:1: rejecting I/O to offline device
[24177.263572] sd 31:0:0:1: rejecting I/O to offline device
[24177.263579] sd 31:0:0:1: rejecting I/O to offline device
[24177.263587] sd 31:0:0:1: rejecting I/O to offline device
[24177.263595] sd 31:0:0:1: rejecting I/O to offline device
[24177.263603] sd 31:0:0:1: rejecting I/O to offline device
[24177.263611] sd 31:0:0:1: rejecting I/O to offline device
[24177.263619] sd 31:0:0:1: rejecting I/O to offline device
[24177.263627] sd 31:0:0:1: rejecting I/O to offline device
[24177.263635] sd 31:0:0:1: rejecting I/O to offline device
[24177.263642] sd 31:0:0:1: rejecting I/O to offline device
[24177.263649] sd 31:0:0:1: rejecting I/O to offline device
[24177.263657] sd 31:0:0:1: rejecting I/O to offline device
[24177.263665] sd 31:0:0:1: rejecting I/O to offline device
[24177.263668] sd 31:0:0:1: rejecting I/O to offline device
[24177.263676] sd 31:0:0:1: rejecting I/O to offline device
[24177.263685] sd 31:0:0:1: rejecting I/O to offline device
[24177.263693] sd 31:0:0:1: rejecting I/O to offline device
[24177.263701] sd 31:0:0:1: rejecting I/O to offline device
[24177.263708] sd 31:0:0:1: rejecting I/O to offline device
[24177.263718] sd 31:0:0:1: rejecting I/O to offline device
[24177.263727] sd 31:0:0:1: rejecting I/O to offline device
[24177.263731] sd 31:0:0:1: rejecting I/O to offline device
[24177.263738] sd 31:0:0:1: rejecting I/O to offline device
[24177.263746] sd 31:0:0:1: rejecting I/O to offline device
[24177.263753] sd 31:0:0:1: rejecting I/O to offline device
[24177.263761] sd 31:0:0:1: rejecting I/O to offline device
[24177.263769] sd 31:0:0:1: rejecting I/O to offline device
[24177.263777] sd 31:0:0:1: rejecting I/O to offline device
[24177.263785] sd 31:0:0:1: rejecting I/O to offline device
[24177.263790] sd 31:0:0:1: rejecting I/O to offline device
[24177.263795] sd 31:0:0:1: rejecting I/O to offline device
[24177.263801] sd 31:0:0:1: rejecting I/O to offline device
[24177.263806] sd 31:0:0:1: rejecting I/O to offline device
[24177.263811] sd 31:0:0:1: rejecting I/O to offline device
[24177.263816] sd 31:0:0:1: rejecting I/O to offline device
[24177.263822] sd 31:0:0:1: rejecting I/O to offline device
[24177.263828] sd 31:0:0:1: rejecting I/O to offline device
[24177.263833] sd 31:0:0:1: rejecting I/O to offline device
[24177.263838] sd 31:0:0:1: rejecting I/O to offline device
[24177.263843] sd 31:0:0:1: rejecting I/O to offline device
[24177.263848] sd 31:0:0:1: rejecting I/O to offline device
[24177.263853] sd 31:0:0:1: rejecting I/O to offline device
[24177.263858] sd 31:0:0:1: rejecting I/O to offline device
[24177.263863] sd 31:0:0:1: rejecting I/O to offline device
[24177.263868] sd 31:0:0:1: rejecting I/O to offline device
[24177.263873] sd 31:0:0:1: rejecting I/O to offline device
[24177.263879] sd 31:0:0:1: rejecting I/O to offline device
[24177.263884] sd 31:0:0:1: rejecting I/O to offline device
[24177.263889] sd 31:0:0:1: rejecting I/O to offline device
[24177.263894] sd 31:0:0:1: rejecting I/O to offline device
[24177.263899] sd 31:0:0:1: rejecting I/O to offline device
[24177.263903] sd 31:0:0:1: rejecting I/O to offline device
[24177.263908] sd 31:0:0:1: rejecting I/O to offline device
[24177.263913] sd 31:0:0:1: rejecting I/O to offline device
[24177.263918] sd 31:0:0:1: rejecting I/O to offline device
[24177.263922] sd 31:0:0:1: rejecting I/O to offline device
[24177.263927] sd 31:0:0:1: rejecting I/O to offline device
[24177.263932] sd 31:0:0:1: rejecting I/O to offline device
[24177.263936] sd 31:0:0:1: rejecting I/O to offline device
[24177.263941] sd 31:0:0:1: rejecting I/O to offline device
[24177.263946] sd 31:0:0:1: rejecting I/O to offline device
[24177.263951] sd 31:0:0:1: rejecting I/O to offline device
[24177.263956] sd 31:0:0:1: rejecting I/O to offline device
[24177.263961] sd 31:0:0:1: rejecting I/O to offline device
[24177.263965] sd 31:0:0:1: rejecting I/O to offline device
[24177.263970] sd 31:0:0:1: rejecting I/O to offline device
[24177.263975] sd 31:0:0:1: rejecting I/O to offline device
[24177.263980] sd 31:0:0:1: rejecting I/O to offline device
[24177.263985] sd 31:0:0:1: rejecting I/O to offline device
[24177.263990] sd 31:0:0:1: rejecting I/O to offline device
[24177.263994] sd 31:0:0:1: rejecting I/O to offline device
[24177.263999] sd 31:0:0:1: rejecting I/O to offline device
[24177.264004] sd 31:0:0:1: rejecting I/O to offline device
[24177.264009] sd 31:0:0:1: rejecting I/O to offline device
[24177.264013] sd 31:0:0:1: rejecting I/O to offline device
[24177.264018] sd 31:0:0:1: rejecting I/O to offline device
[24177.264023] sd 31:0:0:1: rejecting I/O to offline device
[24177.264028] sd 31:0:0:1: rejecting I/O to offline device
[24177.264032] sd 31:0:0:1: rejecting I/O to offline device
[24177.264037] sd 31:0:0:1: rejecting I/O to offline device
[24177.264050] sd 31:0:0:1: [sdc] Unhandled error code
[24177.264051] sd 31:0:0:1: [sdc]
[24177.264052] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[24177.264054] sd 31:0:0:1: [sdc] CDB:
[24177.264055] Write(10): 2a 00 00 29 f9 f0 00 00 f0 00
[24177.264061] end_request: I/O error, dev sdc, sector 2750960
[24177.264067] sd 31:0:0:1: rejecting I/O to offline device
[24177.264074] sd 31:0:0:1: rejecting I/O to offline device
[24177.264078] sd 31:0:0:1: rejecting I/O to offline device
[24177.264081] sd 31:0:0:1: rejecting I/O to offline device
[24177.264090] sd 31:0:0:1: rejecting I/O to offline device
[24177.264093] FAT-fs (sdc1): unable to read inode block for updating (i_pos 41897481)
[24177.264096] sd 31:0:0:1: rejecting I/O to offline device
[24177.264098] FAT-fs (sdc1): unable to read inode block for updating (i_pos 41897483)
[24177.264100] sd 31:0:0:1: rejecting I/O to offline device
[24177.264103] FAT-fs (sdc1): unable to read inode block for updating (i_pos 41897485)
[24177.264105] sd 31:0:0:1: rejecting I/O to offline device
[24177.264108] FAT-fs (sdc1): unable to read inode block for updating (i_pos 41897487)
[24177.264136] sd 31:0:0:1: rejecting I/O to offline device
[24177.264148] sd 31:0:0:1: rejecting I/O to offline device
[24177.264156] sd 31:0:0:1: rejecting I/O to offline device
[24177.264409] sd 31:0:0:1: rejecting I/O to offline device
[24177.264415] sd 31:0:0:1: rejecting I/O to offline device
[24177.264419] sd 31:0:0:1: rejecting I/O to offline device
[24177.264424] sd 31:0:0:1: rejecting I/O to offline device
[24177.264429] sd 31:0:0:1: rejecting I/O to offline device
[24177.264433] sd 31:0:0:1: rejecting I/O to offline device
[24177.264438] sd 31:0:0:1: rejecting I/O to offline device
[24177.264442] sd 31:0:0:1: rejecting I/O to offline device
[24177.264446] sd 31:0:0:1: rejecting I/O to offline device
[24177.264451] sd 31:0:0:1: rejecting I/O to offline device
[24177.264455] sd 31:0:0:1: rejecting I/O to offline device
[24177.264460] sd 31:0:0:1: rejecting I/O to offline device
[24177.264464] sd 31:0:0:1: rejecting I/O to offline device
[24177.264468] sd 31:0:0:1: rejecting I/O to offline device
[24177.264473] sd 31:0:0:1: rejecting I/O to offline device
[24177.264477] sd 31:0:0:1: rejecting I/O to offline device
[24177.264528] sd 31:0:0:1: rejecting I/O to offline device
[24177.264533] sd 31:0:0:1: rejecting I/O to offline device
[24177.264538] sd 31:0:0:1: rejecting I/O to offline device
[24177.264542] sd 31:0:0:1: rejecting I/O to offline device
[24177.264546] sd 31:0:0:1: rejecting I/O to offline device
[24177.264863] sd 31:0:0:1: rejecting I/O to offline device
[24177.264878] sd 31:0:0:1: rejecting I/O to offline device
[24177.274988] FAT-fs (sdb1): unable to read boot sector to mark fs as dirty
[24177.308541] FAT-fs (sdc1): unable to read inode block for updating (i_pos 41897489)
[24177.312311] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8807e77ec780
[24177.312316] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8807e77ec7c0
[24177.478927] usb 3-2: new high-speed USB device number 48 using xhci_hcd
[24182.477311] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24182.681323] usb 3-2: Device not responding to set address.
[24182.885216] usb 3-2: device not accepting address 48, error -71
[24182.997198] usb 3-2: new high-speed USB device number 49 using xhci_hcd
[24187.995678] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24193.197923] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24193.401878] usb 3-2: device not accepting address 49, error -62
[24193.514010] usb 3-2: new high-speed USB device number 50 using xhci_hcd
[24198.512279] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24198.716429] usb 3-2: Device not responding to set address.
[24198.920114] usb 3-2: device not accepting address 50, error -71
[24199.032182] usb 3-2: new high-speed USB device number 51 using xhci_hcd
[24204.030622] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24209.232908] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[24209.436841] usb 3-2: device not accepting address 51, error -62
[24209.436880] hub 3-0:1.0: unable to enumerate USB device on port 2

Closed by  saratoga
2016-08-28 20:00
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

We replaced the old USB stack with a newer one.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing