Samsung Portable SSD T5 not detected when system boot on Manjaro 21.0.7 and newer

Issue: kernel version newer than 5.10.41-1 didnot detect the portable ssd, so can’t boot system installed on it. The issue occurred when upgrade Manjaro from version 21.0.6 to version 21.0.7.

I have installed Manjaro on Samsung Portable SSD T5, enable LUKS. It works fine on kernel version 5.10.41-1 and before. But after upgrade kernel to 5.10.42-1 the system can’t boot. I had try to resolve it, but only downgrade kernel can work. And I also replied on this link

https://forum.manjaro.org/t/stable-update-2021-06-14-kernels-browsers-mesa-deepin-systemd-gnome-apps-40-2-pipewire-haskell/70192/246?u=philliex

Two days ago, I upgrade the system to latest kernel version 5.10.49-1, unfortunely, boot failed again. So I had to downgrade kernel back to 5.10.41-1 again. This time I found that lsusb not found Portable SSD T5, but lsusb -v found it:

# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0781:5581 SanDisk Corp. Ultra
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05ac:026c Apple, Inc. Magic Keyboard with Numeric Keypad
Bus 001 Device 004: ID 05ac:8511 Apple, Inc. FaceTime HD Camera (Built-in)
Bus 001 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# lsusb -v
Bus 004 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0781:5581 SanDisk Corp. Ultra
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05ac:026c Apple, Inc. Magic Keyboard with Numeric Keypad
Bus 001 Device 004: ID 05ac:8511 Apple, Inc. FaceTime HD Camera (Built-in)
Bus 001 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And dmesg after run lsusb -v:

# dmesg
[   90.209677] usb 4-1: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd
[   90.237348] usb 4-1: New USB device found, idVendor=04e8, idProduct=61f5, bcdDevice= 1.00
[   90.237357] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[   90.237361] usb 4-1: Product: Portable SSD T5
[   90.237364] usb 4-1: Manufacturer: Samsung
[   90.237366] usb 4-1: SerialNumber: 1234567E0E64
[   90.243935] scsi host2: uas
[   90.244571] scsi 2:0:0:0: Direct-Access     Samsung  Portable SSD T5  0    PQ: 0 ANSI: 6
[   90.245962] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   90.246101] sd 2:0:0:0: [sdb] Write Protect is off
[   90.246105] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[   90.246264] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   90.246520] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[   90.284703]  sdb: sdb1 sdb2 sdb3
[   90.323368] sd 2:0:0:0: [sdb] Attached SCSI disk

The issue also occurred on other kernel from Manjaro 21.0.7, I tested 5.4.124-1, 5.4.131-1, 5.12.9-1, 5.13.1-3.
I have no idea now. Could somebody help me?

I don’t have a solution, but it looks like I have exactly the same problem.

Since Manjaro 21.0.7, I cannot boot from either of the following two devices when they are connected directly to a USB-C Thunderbolt port of a MacBookPro14,3:

ID 0781:558c SanDisk Corp. Extreme Portable SSD
ID 0bc2:2323 Seagate RSS LLC Expansion+

Interestingly, booting from the quite a bit older

ID 0480:a20c Toshiba America Inc External USB 3.0

does work. The device is in USB 2.0 mode after booting from it though.

Also, when I connect the SanDisk SSD to a USB-C hub that uses

ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
ID 2109:0817 VIA Labs, Inc. USB3.0 Hub

instead of directly to a USB-C Thunderbolt port, booting does work. The device is in USB 2.0 mode after booting and listed as being connected to the 2.0 Hub.

Manjaro 21.0.6 boots from all the three devices without problems.

As far as I can tell, the MacBook uses the following Thunderbolt / USB controller:

Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)

I’d be happy to supply any additional information that could be helpful to fix this issue.

Thanks for your reply. I have no any USB hub for now, so I can’t test it. But if this issue is still not solved for a long time, I will try to use your method.

The issue is so strange on kernel 5.10.42-1 or newer:

  • The Portable SSD can not be found by command lsusb, no matter how many times try.
-- not run 'lsusb -v', lsusb's output
# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
...
  • But after run the command lsusb -v, the Portable SSD can be found by command lsusb.
-- after run 'lsusb -v', lsusb's output
# lsusb
Bus 004 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
...

That was so confuse me. What dose the command lsusb -v do to make lsusb work again?

BTW:
The issue reproduced when I try to install arch linux. I create an Installer USB with Arch Linux 2021.07.01. On liveUSB system, the output of lsusb is same as above.

That is weird.
lsusb -v would try to get more info and thus somehow triggers detection of that device.

Interesting find! I can confirm this on my system. The Arch Installer image 2021.07.01 does not boot from the affected devices, 2021.06.01 boots just fine. So this is no Manjaro specific issue (perhaps even a kernel bug?). Would you mind reporting this as bug in the Arch Linux forum?

I Make another liveUSB with Arch Linux 2021.06.01, compare dmesg with previous liveUSB (arch version 2021.07.01), found that new kernel can detect USB 3.0 or lower device, but cannot detect USB 3.1 device.

Arch Linux 2021.06.01 dmesg:

usb 4-1: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd
usb 4-1: Product: Portable SSD T5
usb 4-1: Manufacturer: Samsung

usb 2-4: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
usb 2-4: Product: Ultra
usb 2-4: Manufacturer: SanDisk

Arch Linux 2021.07.01 dmesg:

usb 2-4: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
usb 2-4: Product: Ultra
usb 2-4: Manufacturer: SanDisk

It seems is a kernel bug of detect USB 3.1 device.

@Torr_Samaho Yes I’ll do it a few later. And thanks your reply again.

@freggel.doe Thanks your reply too.