You are not logged in.

#1 2022-09-28 14:34:51

canol
Member
Registered: 2022-09-28
Posts: 2

[SOLVED] External USB Drive isn't recognized as block device

The USB Drives works and is freshly formatted on Windows with NTFS.
It's recognized as a USB mass storage device (see dmesg and corresponding lsusb output), but doesn't get a corresponding device path to mount (see fdisk and lsblk output)

dmesg:

[710886.352944] usb 1-14: new high-speed USB device number 7 using xhci_hcd
[710886.540860] usb 1-14: New USB device found, idVendor=1058, idProduct=2620, bcdDevice=10.18
[710886.540869] usb 1-14: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[710886.540872] usb 1-14: Product: Elements 2620
[710886.540874] usb 1-14: Manufacturer: Western Digital
[710886.540876] usb 1-14: SerialNumber: 575837324439304E38593658

lsusb -vd 1058:2620:

Bus 001 Device 007: ID 1058:2620 Western Digital Technologies, Inc. Elements 2620
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x2620 
  bcdDevice           10.18
  iManufacturer           2 Western Digital
  iProduct                3 Elements 2620
  iSerial                 1 575837324439304E38593658
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

fdisk -l:

Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM006-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5C649673-F4C4-4294-9B6F-8D5A95983DD7

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 3907029134 3907027087  1.8T Linux filesystem


Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM006-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A0B0853E-51EE-4A90-BE5D-D2CEBF28B101

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 3907029134 3907027087  1.8T Linux filesystem


Disk /dev/sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM006-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A02DB731-DE91-4D3C-AB27-85107E7FFF72

Device     Start        End    Sectors  Size Type
/dev/sdc1   2048 3907029134 3907027087  1.8T Linux filesystem


Disk /dev/nvme0n1: 1.86 TiB, 2048408248320 bytes, 4000797360 sectors
Disk model: Samsung SSD 960 PRO 2TB                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CAD28BDA-5ABD-470D-BCF9-5F619A6FD1EE

Device             Start        End    Sectors  Size Type
/dev/nvme0n1p1      2048    1050623    1048576  512M EFI System
/dev/nvme0n1p2   1050624  630196223  629145600  300G Linux filesystem
/dev/nvme0n1p3 630196224 4000797326 3370601103  1.6T Linux home


Disk /dev/loop0: 81.59 MiB, 85549056 bytes, 167088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 18.2 MiB, 19083264 bytes, 37272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/md0: 3.64 TiB, 4000527155200 bytes, 7813529600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes

lsblk -l:

NAME      MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINTS
loop0       7:0    0 81.6M  1 loop  /var/lib/snapd/snap/core/4110
loop1       7:1    0 18.2M  1 loop  /var/lib/snapd/snap/solc/460
sda         8:0    0  1.8T  0 disk  
sda1        8:1    0  1.8T  0 part  
sdb         8:16   0  1.8T  0 disk  
sdb1        8:17   0  1.8T  0 part  
sdc         8:32   0  1.8T  0 disk  
sdc1        8:33   0  1.8T  0 part  
md0         9:0    0  3.6T  0 raid5 /home/roman/array
nvme0n1   259:0    0  1.9T  0 disk  
nvme0n1p1 259:1    0  512M  0 part  /boot/efi
nvme0n1p2 259:2    0  300G  0 part  /
nvme0n1p3 259:3    0  1.6T  0 part  /home

udevadm monitor --udev:

UDEV  [712111.177457] remove   /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14/1-14:1.0 (usb)
UDEV  [712111.188355] unbind   /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14 (usb)
UDEV  [712111.199262] remove   /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14 (usb)
UDEV  [712114.252011] add      /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14 (usb)
UDEV  [712114.253760] add      /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14/1-14:1.0 (usb)
UDEV  [712114.258883] bind     /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-14 (usb)

Kernel is 5.19.6-arch1-1
ntfs-3g is installed and up to date.

Last edited by canol (2022-09-28 15:14:17)

Offline

#2 2022-09-28 14:40:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] External USB Drive isn't recognized as block device

Your kernel is outdated and likely you actually ran an update.

You need to reboot after kernel updates, otherwise the modules for your running kernel will not be present anymore which can lead to the kind of failures you are seeing as your running kernel can't load it's modules.

Offline

#3 2022-09-28 15:13:43

canol
Member
Registered: 2022-09-28
Posts: 2

Re: [SOLVED] External USB Drive isn't recognized as block device

V1del wrote:

Your kernel is outdated and likely you actually ran an update.

You need to reboot after kernel updates, otherwise the modules for your running kernel will not be present anymore which can lead to the kind of failures you are seeing as your running kernel can't load it's modules.

Thanks, that fixed it. I accidentally deleted the linux package from IgnorePkg.

Offline

Board footer

Powered by FluxBB