You are not logged in.

#1 2023-07-14 11:13:32

masenko
Member
Registered: 2022-12-09
Posts: 29

[SOLVED] USB devices only show in dmesg, can't be mounted

Hi,

So i have this problem quite often, I insert my usb stick or any storage device that uses usb, and it will only show up in dmesg. I can't mount it, it's not in /dev.
This problem persists until i reboot, this is very inconvenient cause i don't want to have to reboot every time i wanna use a usb stick.
It's a very random problem and i have no idea why it happens, it happens on 2 different machines and i recently did a re-install of arch and it still happens.
I'm running gnome DE, with a LUKS encrypted drive, if that matters.
I don't think its my hardware since on windows it works all the time.

Here's dmesg when it happens:

usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd
usb 4-3: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-3: Product: Flash Drive
usb 4-3: Manufacturer: Samsung
usb 4-3: SerialNumber: 0374721080004304

I did search for this problem before but i never really found a solution. Would be amazing if fixed :)

Last edited by masenko (2024-04-06 15:00:02)

Offline

#2 2023-07-14 12:16:49

seth
Member
Registered: 2012-09-03
Posts: 51,560

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

This problem persists until i reboot, this is very inconvenient cause i don't want to have to reboot every time i wanna use a usb stick.

You updated the kernel, the modules for the running kernel got deleted and can no longer be loaded.
Either reboot after kernel updates, preserve the old modules across the update (afair there's some AUR package that does so w/ questionable quality) or make sure to explicitly load the modules you might need later on before the update (usb-storage, vfat - that kind of stuff)

I don't think its my hardware since on windows it works all the time.

Also 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#3 2023-07-14 17:42:50

masenko
Member
Registered: 2022-12-09
Posts: 29

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

seth wrote:

You updated the kernel, the modules for the running kernel got deleted and can no longer be loaded.
Either reboot after kernel updates, preserve the old modules across the update (afair there's some AUR package that does so w/ questionable quality) or make sure to explicitly load the modules you might need later on before the update (usb-storage, vfat - that kind of stuff)

Nope, sometimes happens even minutes after boot or when i haven't done any updates.

seth wrote:

Also 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Already have and it still happens.

Offline

#4 2023-07-14 17:50:06

seth
Member
Registered: 2012-09-03
Posts: 51,560

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

Next time it happens run

lsmod | grep -E 'usb|fat'; sudo modprobe usb_storage vfat

If you still have, please post the complete system journal of a boot where this happend, eg.

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io

for the previous boot.

Offline

#5 2024-04-06 10:27:51

masenko
Member
Registered: 2022-12-09
Posts: 29

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

seth wrote:

Next time it happens run

lsmod | grep -E 'usb|fat'; sudo modprobe usb_storage vfat

If you still have, please post the complete system journal of a boot where this happend, eg.

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io

for the previous boot.

I hope this isn't necrobumping but i want to mark this thread as solved, the issue was with the hardware itself. The title is too long to add [SOLVED].

Last edited by masenko (2024-04-06 10:28:48)

Offline

#6 2024-04-06 13:17:21

dakota
Member
Registered: 2016-05-20
Posts: 280

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

masenko wrote:

...the issue was with the hardware itself.

I'm curious. Do you mean the USB port or hub? Or the stick itself?

masenko wrote:

The title is too long to add [SOLVED]

What about: "[SOLVED] USB devices only show in dmesg, can't be mounted" ?


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#7 2024-04-06 14:59:42

masenko
Member
Registered: 2022-12-09
Posts: 29

Re: [SOLVED] USB devices only show in dmesg, can't be mounted

dakota wrote:

I'm curious. Do you mean the USB port or hub? Or the stick itself?

USB port on hardware

Offline

Board footer

Powered by FluxBB