You are not logged in.

#1 2019-02-28 23:35:44

StevenC21
Member
Registered: 2018-09-17
Posts: 59

USB Storage seen in dmesg, but not lsblk.

Hello all! I am running Arch Linux (of course) and I have a USB thumb drive that is causing peculiar issues.

dmesg reports the following:

[498409.075382] usb 1-5: new high-speed USB device number 7 using xhci_hcd
[498409.219546] usb 1-5: New USB device found, idVendor=154b, idProduct=00e1, bcdDevice= 1.00
[498409.219549] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[498409.219551] usb 1-5: Product: USB 2.0 FD                    
[498409.219552] usb 1-5: Manufacturer: PNY Technologies              
[498409.219553] usb 1-5: SerialNumber: 0123000000000002
[498409.308812] audit: type=1130 audit(1551396644.574:1321): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[498419.963327] audit: type=1131 audit(1551396655.228:1322): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[498521.585347] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[498521.729302] usb 1-2: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[498521.729309] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[498521.729313] usb 1-2: Product: USB Flash Memory
[498521.729317] usb 1-2: Manufacturer:         
[498521.729320] usb 1-2: SerialNumber: C03FD55EACAFC15090021DB6

This is a minor snippet of the full output, of course, but displays the issue.

lsblk, on the other hand, only displays the following:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0   700M  0 part /boot
├─sda2   8:2    0    60G  0 part /
├─sda3   8:3    0    58G  0 part 
└─sda4   8:4    0 571.3M  0 part 
sdb      8:16   0 931.5G  0 disk 
├─sdb1   8:17   0   200G  0 part /home
├─sdb2   8:18   0 716.5G  0 part /data
└─sdb3   8:19   0    15G  0 part 
sr0     11:0    1  1024M  0 rom  

lsusb reports the following:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
Bus 001 Device 007: ID 154b:00e1 PNY 
Bus 001 Device 003: ID 0b05:1854 ASUSTek Computer, Inc. 
Bus 001 Device 013: ID 0c76:0005 JMTek, LLC. Transcend Flash disk
Bus 001 Device 005: ID 13d3:5666 IMC Networks 
Bus 001 Device 002: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Please note that both sda and sdb are internal drives, and as such are not relevant to this discussion as far as I know. In addition, I have tested multiple drives. As you can see, dmesg notices both devices, but lsblk does not. I read the Wiki page (https://wiki.archlinux.org/index.php/US … the_system), but it is woefully incomplete, and my issue is not represented.

Does anyone know how I might fix this?

If it matters, I updated my kernel recently but have not yet rebooted.

Last edited by StevenC21 (2019-02-28 23:38:56)

Offline

#2 2019-03-01 08:13:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,626

Re: USB Storage seen in dmesg, but not lsblk.

The device is detected but seems to not register as mass storage (please post the complete dmesg, not what you consider relevant, after the serial number, you should get some "USB Mass Storage device detected"  and a bunch of storage related details)
If it's a "dumb" key, it's very likely broken - otherwise it might require some mode switch or special driver/protocol (eg. for MTP devices)

https://www.archlinux.org/packages/comm … odeswitch/


Edit, I really have to learn to read NC posts to the *very* end…

If it matters, I updated my kernel recently but have not yet rebooted.

Last edited by seth (2019-03-01 08:33:28)

Offline

#3 2019-03-01 08:16:46

unixman
Member
Registered: 2015-03-12
Posts: 182

Re: USB Storage seen in dmesg, but not lsblk.

hi.

StevenC21 wrote:

...
If it matters, ...

Yes it matters. So reboot please:)

StevenC21 wrote:

...
USB Storage seen in dmesg...

Wrong!  NO  "usb-storage"  in dmesg.  usb-storage is a kernel module which provide usb storage.

Offline

#4 2021-01-30 22:01:47

pogues
Member
Registered: 2021-01-30
Posts: 1

Re: USB Storage seen in dmesg, but not lsblk.

Same issue here - this is the first post found on a search.

After a bit of digging I did not have lsusb so could not list devices. I used

pacman -Qo

to see it was in usbutils

Install that, reboot and disks are appearing as expected.

Offline

#5 2021-01-31 00:05:43

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: USB Storage seen in dmesg, but not lsblk.

The OP has not been back since March 2019, so I am going to consider this thread abandoned and close it.

Offline

Board footer

Powered by FluxBB