USB drives not working anymore - f39 - kernel 6.8.11 - thinkpad p14s gen3

Hello,
Since recent kernel updates, USB drives are detected but not mounted anymore:

lsusb
...
Bus 004 Device 006: ID 1b1c:1a03 Corsair Voyager 3.0
journalctl -f
...
kernel: usb 4-1: new SuperSpeed USB device number 6 using xhci_hcd
kernel: usb 4-1: New USB device found, idVendor=1b1c, idProduct=1a03, bcdDevice=10.75
kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 4-1: Product: Voyager 3.0
kernel: usb 4-1: Manufacturer: Corsair
kernel: usb 4-1: SerialNumber: 239271215127054F
mtp-probe[18540]: checking bus 4, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
mtp-probe[18540]: bus: 4, device: 6 was not an MTP device
kernel: uas: Unknown symbol usb_stor_sense_invalidCDB (err -2)
kernel: uas: Unknown symbol usb_stor_adjust_quirks (err -2)
mtp-probe[18543]: checking bus 4, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
mtp-probe[18543]: bus: 4, device: 6 was not an MTP device

Here some information about my laptop/os.

uname -r
6.8.11-200.fc39.x86_64
dmidecode
...
BIOS Information                                                                                                                                                                              
        Vendor: LENOVO                                                                                                                                                                        
        Version: N3BET60W (1.38 )                                                                                                                                                             
        Release Date: 03/20/2024                                                               
        ...                                                      
        BIOS Revision: 1.38                                                                    
        Firmware Revision: 1.20

System Information                                                                             
        Manufacturer: LENOVO                                                                   
        Product Name: 21AKCTO1WW
        Version: ThinkPad P14s Gen 3
       ...

Tests performed with multiple:

  • kernel versions: 6.8.11, 6.8.10, 6.8.9
  • 4 distinct USB drives
  • all USB ports: 2 USB-3 type-A and 2 USB-3 type-C

The title says 6.8.11 does not work but the OP shows 6.8.10
Is the title wrong?

What was the last know kernel version that works?

Are you loading any out-of-tree kernel modules to support usb?

It’s because I made multiple tests with all the kernel versions I have: 6.8.11, 6.8.10, 6.8.9. But it’s always the same result.
I edited my previous message to add details on performed tests.

Please post the output of inxi -Fzxx so we know that hardware you have.
Confirm that you are not installing any additional kernel modules.

I tried to downgrade the kernel using dnf

sudo dnf install kernel-6.5.6-300.fc39.x86_64

But it still does not work. I rarely use USB drives so I can’t remember the last time / last kernel version it was working.
The disk is not listed and I guess cannot be mounted.

lsblk   
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0  55,7M  1 loop /var/lib/snapd/snap/core18/2790
loop1         7:1    0  55,7M  1 loop /var/lib/snapd/snap/core18/2823
loop2         7:2    0  63,9M  1 loop /var/lib/snapd/snap/core20/2264
loop3         7:3    0  63,9M  1 loop /var/lib/snapd/snap/core20/2318
loop4         7:4    0  40,4M  1 loop /var/lib/snapd/snap/snapd/20671
loop5         7:5    0  38,7M  1 loop /var/lib/snapd/snap/snapd/21465
loop6         7:6    0     6M  1 loop /var/lib/snapd/snap/yq/2243
loop7         7:7    0   6,6M  1 loop /var/lib/snapd/snap/yq/2450
zram0       252:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 476,9G  0 disk 
├─nvme0n1p1 259:1    0   600M  0 part /boot/efi
├─nvme0n1p2 259:2    0     1G  0 part /boot
└─nvme0n1p3 259:3    0 475,4G  0 part /opt/sentinelone/rpm_mount
                                      /home
                                      /

Here the output for the hardware list:

System:
  Kernel: 6.5.6-300.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39
  Desktop: GNOME v: 45.7 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 21AKCTO1WW v: ThinkPad P14s Gen 3
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21AKCTO1WW v: SDK0T76530 WIN
    serial: <superuser required> part-nu: LENOVO_MT_21AK_BU_Think_FM_ThinkPad
    P14s Gen 3 UEFI: LENOVO v: N3BET60W (1.38 ) date: 03/20/2024
Battery:
  ID-1: BAT0 charge: 43.5 Wh (98.4%) condition: 44.2/52.5 Wh (84.2%)
    volts: 17.3 min: 15.5 model: Sunwoda 5B10W51867 serial: <filter>
    status: not charging
CPU:
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i7-1260P bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.1 MiB L2: 9 MiB
    L3: 18 MiB
  Speed (MHz): avg: 457 high: 617 min/max: 400/4700:3400 cores: 1: 517
    2: 600 3: 496 4: 400 5: 400 6: 400 7: 400 8: 547 9: 617 10: 536 11: 400
    12: 400 13: 400 14: 400 15: 400 16: 400 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.2 ports: active: DP-1,eDP-1 empty: DP-2,
    DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a6
  Device-2: NVIDIA TU117GLM [T550 Laptop GPU] vendor: Lenovo driver: nouveau
    v: kernel arch: Turing pcie: speed: 16 GT/s lanes: 4 bus-ID: 03:00.0
    chip-ID: 10de:1fb7 temp: 43.0 C
  Device-3: Bison Integrated RGB Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-4:2 chip-ID: 5986:2142
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x2280 s-dpi: 96
  Monitor-1: DP-1 pos: top model: Dell P2719H res: 1920x1080 dpi: 82
    diag: 686mm (27")
  Monitor-2: eDP-1 pos: primary,bottom model-id: CSO 0x1404 res: 1920x1200
    dpi: 161 diag: 356mm (14")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a6
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
  API: ALSA v: k6.5.6-300.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1f
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lenovo
    driver: ath11k_pci v: kernel pcie: speed: 8 GT/s lanes: 1 bus-ID: 09:00.0
    chip-ID: 17cb:1103
  IF: wlp9s0 state: up mac: <filter>
  IF-ID-1: br-819f99696b41 state: down mac: <filter>
  IF-ID-2: br-956ee8459dde state: down mac: <filter>
  IF-ID-3: br-979e8bbdccbb state: down mac: <filter>
  IF-ID-4: br-e6dc5c384fa4 state: down mac: <filter>
  IF-ID-5: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: USI driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-10:4 chip-ID: 10ab:9309
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 476.94 GiB used: 205.6 GiB (43.1%)
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDKBA512TFK size: 476.94 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
Partition:
  ID-1: / size: 475.35 GiB used: 205.21 GiB (43.2%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 385.9 MiB (39.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.1 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 205.21 GiB (43.2%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 43.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 31.03 GiB used: 4.66 GiB (15.0%)
  Processes: 415 Power: uptime: 40m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 25 Compilers: gcc: 13.3.1 Shell: Zsh v: 5.9
    running-in: tmux: inxi: 3.3.34

Sorry, my system knowledge is a bit limited I am not 100% sure if I have installed additional kernel modules but I don’t think so except maybe for NVIDIA kmod-nvidia- which btw was working fine until the kernel was upgraded, maybe because I have to perform operations after each kernel update.

Probably no related to the usb issue, but I note that you are using the nouveau driver. You probably will be much more satisfied overall if you install the nvidia driver for that GPU from the rpmfusion repo.

You stated that you may have those drivers already installed, which can be checked and verified by running dnf list installed \*nvidia\*. It also may be related to the fact the nouveau driver is shown in the inxi output.

You can check hardware by running lspci and lsusb to see what the system is showing.

Have you checked the firmware (bios) version installed on that laptop? Sometimes newer kernels require the latest bios version be installed to manage everything. There are several threads here where problems were fixed by performing a bios update on the hardware.

Originally I wanted to stick with the nouveau driver but I have noticed that my laptop was very slow during video meetings. Then when monitoring the GPUs I have noticed that only the intel graphics one (integrated in the CPU) was active. To remediate to this I installed the nvidia driver using sudo dnf install akmod-nvidia. If I remember correctly, I was contrained to switch back from wayland to xorg. It works fine until the kernel was upgraded. I assume that maybe something has to be recompiled but I never took the time to investigate.

dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                         3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.8.11-200.fc39.x86_64.x86_64   3:550.78-1.fc39   @@commandline                   
kmod-nvidia-6.8.9-200.fc39.x86_64.x86_64    3:550.78-1.fc39   @@commandline                   
nvidia-gpu-firmware.noarch                  20240513-1.fc39   @updates                        
nvidia-modprobe.x86_64                      3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                  3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                      3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                  3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64             3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686          3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64        3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64          3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686               3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64             3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64            3:550.78-1.fc39   @rpmfusion-nonfree-nvidia-driver
lspci
00:00.0 Host bridge: Intel Corporation Device 4621 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02)
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 02)
00:07.2 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #2 (rev 02)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 02)
00:0d.3 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #1 (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51b8 (rev 01)
00:1c.4 PCI bridge: Intel Corporation Device 51bc (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (16) I219-V (rev 01)
02:00.0 Non-Volatile memory controller: Micron Technology Inc 2450 NVMe SSD [HendrixV] (DRAM-less) (rev 01)
03:00.0 3D controller: NVIDIA Corporation TU117GLM [T550 Laptop GPU] (rev a1)
09:00.0 Network controller: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter (rev 01)
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 003 Device 002: ID 5986:2142 Bison Electronics Inc. Integrated RGB Camera
Bus 003 Device 003: ID 343c:0000 xxxxxxxx USB Type-C Digital AV Adapter
Bus 003 Device 004: ID 10ab:9309 USI Co., Ltd 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 004: ID 1b1c:1a03 Corsair Voyager 3.0

I ran the linux firmware update right before opening this thread.
The BIOS release is 03/20/2024, so it seems quite recent.
Maybe something that I can do is to reset my computer by re-installing fedora 40 but I can’t use media writer as USB is not working.

I see 3 thunderbolt usb hubs and one usb 3.2 hub in the lspci listing.
I am guessing those correspond to the lsusb Bus 001-3 and Bus 004 in that order.

Since all the usb ports show up there in the listings of the hardware it would appear that they “should” be functional.

If you were to attempt repair of the nvidia drivers first that should solve the issue with the GPU.

  1. sudo dnf remove kmod-nvidia-6.8.11-200.fc39.x86_64
  2. sudo akmods --force --kernels 6.8.11-200.fc39.x86_64
  3. reboot

This should once again have the nvidia drivers loading and usable.

Then attack the usb issue.
I cannot say which port is the usb 3.2, but it would seem that whichever that is would be best for a functional usb port.
My approach is to first download the iso installation media, verify the download with the checksum shown at the same site, then use media writer (or another tool such as dd) to write that image to the usb device. (you are not limited by download speed nor potential download errors during writing by this approach.)

One problem I often note is that users tend to insert the usb device without being aware A) that it normally is automatically mounted by the system, and B) that writing to it while mounted is often destined for failure. I have been bit by this ‘feature’ at times when I am in a hurry and I fail to ensure that I umount the device before writing the image to it.

MTP devices are usually android. Installing MTP tools may blacklist usb_storage. Without MTP support:

% lsmod | grep usb_storage
usb_storage            90112  1 uas

Try:

sudo modprobe --ignore-install usb_storage
sudo modprobe uas

See: Udev rules to mount specific device as USB mass storage