Hi all,
The external HDD enclosure I've bought recently stops responding after
it's been idle for ~5 minutes. Excerpt from typical dmesg output
attached (the "Valid eCryptfs headers" are irrelevant, and there for
completeness).
After searching the web, eventually I've come upon this Q&A, which
contains a viable workaround:
https://ask.fedoraproject.org/en/question/87852/usb3-external-drive-caddy-goes-offline-after-a-while/
And indeed, blacklisting uas for this device makes it work fine, with no
problems for the last 24 hours or so.
Searching for "options usb-storage quirks=357d:7788:u"
(https://duckduckgo.com/?q=%22options+usb-storage+quirks%3D357d%3A7788%3Au%22&ia=web)
indicates that the same vendor/product is sold as "Icy Box IB-253U3" as
well.
Anyway, this seems bug report-worthy. Please ask any follow-up
questions, if there's hope of using UASP with this device, or blacklist
it in the driver.
Linux version: 4.4.0-36, as distributed in Ubuntu 16.04.1.
Best regards,
Dmitry.
[ 122.818813] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[ 122.835562] usb 2-1: New USB device found, idVendor=357d, idProduct=7788
[ 122.835569] usb 2-1: New USB device strings: Mfr=10, Product=11, SerialNumber=3
[ 122.835573] usb 2-1: Product: USB to ATA/ATAPI Bridge
[ 122.835577] usb 2-1: Manufacturer: JMicron
[ 122.835579] usb 2-1: SerialNumber: 000012345678
[ 122.838059] scsi host3: uas
[ 122.839769] scsi 3:0:0:0: Direct-Access ST1000LM 024 HN-M101MBB 0100 PQ: 0 ANSI: 6
[ 122.842824] sd 3:0:0:0: Attached scsi generic sg0 type 0
[ 122.843308] sd 3:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 122.843314] sd 3:0:0:0: [sda] 4096-byte physical blocks
[ 122.846431] sd 3:0:0:0: [sda] Write Protect is off
[ 122.846442] sd 3:0:0:0: [sda] Mode Sense: 67 00 10 08
[ 122.847759] sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 122.885586] sda: sda1
[ 122.905807] sd 3:0:0:0: [sda] Attached SCSI disk
[ 123.328817] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 185.202679] Valid eCryptfs headers not found in file header region or xattr region, inode 16389854
[ 185.202718] Valid eCryptfs headers not found in file header region or xattr region, inode 16390137
[ 234.814550] Valid eCryptfs headers not found in file header region or xattr region, inode 16390030
[ 867.819239] sd 3:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 867.819249] sd 3:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 34 27 c9 e0 00 01 00 00
[ 872.802908] sd 3:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[ 872.802919] sd 3:0:0:0: [sda] tag#1 CDB: Read(10) 28 00 34 27 ca e0 00 01 00 00
[ 872.803007] scsi host3: uas_eh_bus_reset_handler start
[ 875.070307] usb 2-1: reset SuperSpeed USB device number 3 using xhci_hcd
[ 875.085636] scsi host3: uas_eh_bus_reset_handler success
[ 875.085789] sd 3:0:0:0: [sda] tag#1 unexpected response iu 10 uas-tag 1 inflight: CMD
[ 875.085799] sd 3:0:0:0: [sda] tag#1 CDB: Test Unit Ready 00 00 00 00 00 00
[ 875.085830] sd 3:0:0:0: Device offlined - not ready after error recovery
[ 875.085835] sd 3:0:0:0: Device offlined - not ready after error recovery
[ 875.085848] sd 3:0:0:0: [sda] tag#1 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK
[ 875.085853] sd 3:0:0:0: [sda] tag#1 CDB: Read(10) 28 00 34 27 ca e0 00 01 00 00
[ 875.085858] blk_update_request: I/O error, dev sda, sector 875023072
[ 875.085887] sd 3:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
[ 875.085891] sd 3:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 34 27 c9 e0 00 01 00 00
[ 875.085894] blk_update_request: I/O error, dev sda, sector 875022816
[ 875.085970] sd 3:0:0:0: rejecting I/O to offline device
[ 875.086000] sd 3:0:0:0: rejecting I/O to offline device
[ 875.086376] sd 3:0:0:0: rejecting I/O to offline device
[ 875.086403] sd 3:0:0:0: rejecting I/O to offline device
[ 875.086430] sd 3:0:0:0: rejecting I/O to offline device
[ 875.086784] sd 3:0:0:0: rejecting I/O to offline device
[ 875.087063] sd 3:0:0:0: rejecting I/O to offline device
[ 875.087289] sd 3:0:0:0: rejecting I/O to offline device
[ 875.087514] sd 3:0:0:0: rejecting I/O to offline device
[ 875.087687] sd 3:0:0:0: rejecting I/O to offline device
[ 875.119049] sd 3:0:0:0: rejecting I/O to offline device
[ 875.119309] sd 3:0:0:0: rejecting I/O to offline device
[ 875.168993] sd 3:0:0:0: rejecting I/O to offline device
[ 875.169215] sd 3:0:0:0: rejecting I/O to offline device
[ 875.224576] sd 3:0:0:0: rejecting I/O to offline device
[ 875.258744] sd 3:0:0:0: rejecting I/O to offline device
[ 875.259015] sd 3:0:0:0: rejecting I/O to offline device
[ 875.259259] sd 3:0:0:0: rejecting I/O to offline device
[ 875.318534] sd 3:0:0:0: rejecting I/O to offline device
[ 875.318811] sd 3:0:0:0: rejecting I/O to offline device
[ 875.377673] sd 3:0:0:0: rejecting I/O to offline device
[ 875.377953] sd 3:0:0:0: rejecting I/O to offline device
[ 875.432302] sd 3:0:0:0: rejecting I/O to offline device
[ 875.432584] sd 3:0:0:0: rejecting I/O to offline device
[ 875.491114] sd 3:0:0:0: rejecting I/O to offline device
[ 875.491432] sd 3:0:0:0: rejecting I/O to offline device
[ 875.491699] sd 3:0:0:0: rejecting I/O to offline device
[ 875.549913] sd 3:0:0:0: rejecting I/O to offline device
[ 875.550184] sd 3:0:0:0: rejecting I/O to offline device
[ 875.599834] sd 3:0:0:0: rejecting I/O to offline device
[ 875.600078] sd 3:0:0:0: rejecting I/O to offline device
[ 875.649135] sd 3:0:0:0: rejecting I/O to offline device
[ 875.678891] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682302] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682321] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682375] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682381] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682391] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682397] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682406] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682418] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682485] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682505] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682517] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682530] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682537] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682548] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682854] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682975] sd 3:0:0:0: rejecting I/O to offline device
[ 875.682994] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683006] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683638] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683653] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683662] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683667] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683675] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683680] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683688] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683697] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683705] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683714] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683718] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683727] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683731] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683739] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683879] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683931] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683945] sd 3:0:0:0: rejecting I/O to offline device
[ 875.683952] sd 3:0:0:0: rejecting I/O to offline device
[ 875.684108] sd 3:0:0:0: rejecting I/O to offline device
[ 875.684120] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687221] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687234] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687259] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687267] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687278] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687284] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687295] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687305] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687315] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687326] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687332] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687342] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687347] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687357] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687505] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687568] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687581] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687590] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687784] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687796] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687807] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687813] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687823] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687828] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687838] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687848] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687857] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687867] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687873] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687883] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687888] sd 3:0:0:0: rejecting I/O to offline device
[ 875.687898] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688024] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688073] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688096] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688105] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688299] sd 3:0:0:0: rejecting I/O to offline device
[ 875.688315] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692057] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692076] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692113] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692123] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692138] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692147] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692162] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692176] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692190] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692205] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692213] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692227] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692234] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692248] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692474] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692558] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692580] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692592] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692862] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692879] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692895] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692904] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692918] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692926] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692939] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692953] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692966] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692980] sd 3:0:0:0: rejecting I/O to offline device
[ 875.692988] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693002] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693009] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693023] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693216] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693289] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693310] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693322] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693574] sd 3:0:0:0: rejecting I/O to offline device
[ 875.693596] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698660] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698680] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698717] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698727] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698742] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698750] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698764] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698779] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698793] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698808] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698816] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698832] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698842] sd 3:0:0:0: rejecting I/O to offline device
[ 875.698856] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699077] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699145] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699165] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699177] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699448] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699466] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699481] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699489] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699503] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699511] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699525] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699538] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699552] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699566] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699573] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699587] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699595] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699608] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699803] sd 3:0:0:0: rejecting I/O to offline device
[ 875.699859] sd 3:0:0:0: rejecting I/O to offline device
[ 875.791608] sd 3:0:0:0: rejecting I/O to offline device
[ 880.738175] sd 3:0:0:0: rejecting I/O to offline device
[ 880.738194] Aborting journal on device sda1-8.
[ 880.738204] sd 3:0:0:0: rejecting I/O to offline device
[ 880.738211] JBD2: Error -5 detected when updating journal superblock for sda1-8.