Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pklaus/cd937010a9a5e15aa17be65be332d1f3 to your computer and use it in GitHub Desktop.
Save pklaus/cd937010a9a5e15aa17be65be332d1f3 to your computer and use it in GitHub Desktop.
Issues with Mac Mini 2018 running Linux from M.2 SSD in a IB-1817M-C31 USB-C Case

Issues with Mac Mini 2018 running Linux from M.2 SSD in a IB-1817M-C31 USB-C Case

As the internal SSD is hidden behind the encryption done by the T2 chip, the Linux system has to be on some external storage. For now, I'm using my M.2 SSD on a Raidsonic Icy Box IB-1817M-C31 USB-C case equipped with a JMicron USB to PCIE Bridge (JMS583 chipset). Its connection resets sometimes (~ 3x per hour resulting in system stall of ~1 min – annoying).

Offtopic:

Later I want to use a i-tec MySafe Thunderbolt 3 M.2 NVMe (PN: TB3MYSAFEM2). I ordered it almost two months ago but they seem to have difficulties producing it in reasonable amounts. Hope I get my hands on it soon and the issue in this gist might disappear!

[ 2392.084736] usb 4-1: cmd cmplt err -71
[ 2392.091747] usb 4-1: cmd cmplt err -71
[ 2392.098691] usb 4-1: cmd cmplt err -71
[ 2392.105667] usb 4-1: cmd cmplt err -71
[ 2392.112685] usb 4-1: cmd cmplt err -71
[ 2392.119653] usb 4-1: cmd cmplt err -71
[ 2392.126624] usb 4-1: cmd cmplt err -71
[ 2392.133735] usb 4-1: cmd cmplt err -71
[ 2392.140659] usb 4-1: cmd cmplt err -71
[ 2392.147684] usb 4-1: cmd cmplt err -71
[ 2392.154603] usb 4-1: cmd cmplt err -71
[ 2392.161673] usb 4-1: cmd cmplt err -71
[ 2392.168689] usb 4-1: cmd cmplt err -71
[ 2392.175766] usb 4-1: cmd cmplt err -71
[ 2392.182747] usb 4-1: cmd cmplt err -71
[ 2392.189741] usb 4-1: cmd cmplt err -71
[ 2392.196662] usb 4-1: cmd cmplt err -71
[ 2392.203756] usb 4-1: cmd cmplt err -71
[ 2392.210759] usb 4-1: cmd cmplt err -71
[ 2392.217733] usb 4-1: cmd cmplt err -71
[ 2392.224741] usb 4-1: cmd cmplt err -71
[ 2392.231609] usb 4-1: cmd cmplt err -71
[ 2392.238737] usb 4-1: cmd cmplt err -71
[ 2392.245664] usb 4-1: cmd cmplt err -71
[ 2392.252728] usb 4-1: cmd cmplt err -71
[ 2392.259612] usb 4-1: cmd cmplt err -71
[ 2409.794581] usb 4-1: cmd cmplt err -71
[ 2420.654242] usb 4-1: cmd cmplt err -71
[ 2422.272428] sd 0:0:0:0: [sda] tag#25 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
[ 2422.272430] sd 0:0:0:0: [sda] tag#25 CDB: Write(10) 2a 00 0f e4 57 a8 00 00 18 00
[ 2422.272456] sd 0:0:0:0: [sda] tag#24 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD OUT
[ 2422.272457] sd 0:0:0:0: [sda] tag#24 CDB: Write(10) 2a 00 0f e4 0b a0 00 00 40 00
[ 2422.272539] sd 0:0:0:0: [sda] tag#23 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD OUT
[ 2422.272540] sd 0:0:0:0: [sda] tag#23 CDB: Write(10) 2a 00 0f e4 0a c8 00 00 48 00
[ 2422.272605] sd 0:0:0:0: [sda] tag#22 uas_eh_abort_handler 0 uas-tag 19 inflight: CMD OUT
[ 2422.272606] sd 0:0:0:0: [sda] tag#22 CDB: Write(10) 2a 00 0f e4 0a 48 00 00 58 00
[ 2422.272700] sd 0:0:0:0: [sda] tag#21 uas_eh_abort_handler 0 uas-tag 18 inflight: CMD OUT
[ 2422.272701] sd 0:0:0:0: [sda] tag#21 CDB: Write(10) 2a 00 0f e4 57 70 00 00 30 00
[ 2422.272761] sd 0:0:0:0: [sda] tag#20 uas_eh_abort_handler 0 uas-tag 17 inflight: CMD OUT
[ 2422.272762] sd 0:0:0:0: [sda] tag#20 CDB: Write(10) 2a 00 0f e4 54 70 00 00 30 00
[ 2422.272814] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD OUT
[ 2422.272815] sd 0:0:0:0: [sda] tag#19 CDB: Write(10) 2a 00 0f e4 50 48 00 00 48 00
[ 2422.272854] sd 0:0:0:0: [sda] tag#18 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD OUT
[ 2422.272855] sd 0:0:0:0: [sda] tag#18 CDB: Write(10) 2a 00 0f e4 4f 48 00 00 38 00
[ 2422.272919] sd 0:0:0:0: [sda] tag#17 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT
[ 2422.272920] sd 0:0:0:0: [sda] tag#17 CDB: Write(10) 2a 00 0f e4 45 60 00 00 18 00
[ 2422.272934] sd 0:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT
[ 2422.272935] sd 0:0:0:0: [sda] tag#16 CDB: Write(10) 2a 00 0f e4 43 88 00 00 58 00
[ 2422.272974] sd 0:0:0:0: [sda] tag#15 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT
[ 2422.272975] sd 0:0:0:0: [sda] tag#15 CDB: Write(10) 2a 00 0f e4 40 98 00 00 30 00
[ 2422.273014] sd 0:0:0:0: [sda] tag#14 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT
[ 2422.273015] sd 0:0:0:0: [sda] tag#14 CDB: Write(10) 2a 00 0f e4 3f 90 00 00 28 00
[ 2422.273054] sd 0:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT
[ 2422.273055] sd 0:0:0:0: [sda] tag#13 CDB: Write(10) 2a 00 0f e4 3b 40 00 00 18 00
[ 2422.273093] sd 0:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT
[ 2422.273094] sd 0:0:0:0: [sda] tag#12 CDB: Write(10) 2a 00 0f e4 27 08 00 00 30 00
[ 2422.273134] sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT
[ 2422.273135] sd 0:0:0:0: [sda] tag#11 CDB: Write(10) 2a 00 0f e4 15 48 00 00 50 00
[ 2422.273174] sd 0:0:0:0: [sda] tag#10 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT
[ 2422.273175] sd 0:0:0:0: [sda] tag#10 CDB: Write(10) 2a 00 0f e4 11 98 00 00 18 00
[ 2422.273214] sd 0:0:0:0: [sda] tag#9 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT
[ 2422.273215] sd 0:0:0:0: [sda] tag#9 CDB: Write(10) 2a 00 0f e4 11 00 00 00 20 00
[ 2422.273254] sd 0:0:0:0: [sda] tag#8 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT
[ 2422.273255] sd 0:0:0:0: [sda] tag#8 CDB: Write(10) 2a 00 0f e4 10 b0 00 00 30 00
[ 2422.273294] sd 0:0:0:0: [sda] tag#7 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT
[ 2422.273294] sd 0:0:0:0: [sda] tag#7 CDB: Write(10) 2a 00 0f e4 10 70 00 00 18 00
[ 2422.273333] sd 0:0:0:0: [sda] tag#6 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
[ 2422.273334] sd 0:0:0:0: [sda] tag#6 CDB: Write(10) 2a 00 0f e4 0f 68 00 00 20 00
[ 2422.273374] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT
[ 2422.273375] sd 0:0:0:0: [sda] tag#5 CDB: Write(10) 2a 00 0f e4 0d f0 00 00 20 00
[ 2422.273414] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
[ 2422.273414] sd 0:0:0:0: [sda] tag#4 CDB: Write(10) 2a 00 0f e4 0d 58 00 00 38 00
[ 2440.405330] sd 0:0:0:0: [sda] tag#26 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD IN
[ 2440.405333] sd 0:0:0:0: [sda] tag#26 CDB: Read(10) 28 00 0e 08 b8 40 00 00 20 00
[ 2450.858413] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD IN
[ 2450.858415] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 0e 10 5f a0 00 00 20 00
[ 2450.873413] scsi host0: uas_eh_device_reset_handler start
[ 2450.995369] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 2451.014623] scsi host0: uas_eh_device_reset_handler success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment