LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Inserting USB disk does not create block device (https://www.linuxquestions.org/questions/linux-hardware-18/inserting-usb-disk-does-not-create-block-device-4175656991/)

Sabexx 07-07-2019 12:36 AM

Inserting USB disk does not create block device
 
I've just upgraded from Slackware64 14.2 to -current, and now when I plug in a USB drive it does not create a block device so I can't mount it.

lsusb lists the drive, and kernel messages note that the drive has been detected:

Code:

[ 6150.220219] usb 3-1: new high-speed USB device number 5 using ehci-pci
[ 6150.352257] usb 3-1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[ 6150.352263] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6150.352266] usb 3-1: Product: USB DISK
[ 6150.352269] usb 3-1: Manufacturer: SMI Corporation
[ 6150.352272] usb 3-1: SerialNumber: AA09012700007503

root@darkstar:/etc/rc.d# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 5986:055e Acer, Inc Lenovo EasyCamera
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0bda:b728 Realtek Semiconductor Corp. Bluetooth Radio
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 005: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@darkstar:/etc/rc.d#

Udev is running and so is messagebus. blkid doesn't display any information on the drive at all. Anybody have any ideas on what I'm doing wrong?

ehartman 07-07-2019 03:34 AM

Quote:

Originally Posted by Sabexx (Post 6012724)
[ 6150.352272] usb 3-1: SerialNumber: AA09012700007503

There normally should be something about the partitions ON the stick after that, like this
Code:

scsi 5:0:0:0: Direct-Access    ATA      WDC WD10EADS-00L 01.0 PQ: 0 ANSI: 5
sd 5:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 5:0:0:0: Attached scsi generic sg6 type 0
sd 5:0:0:0: [sde] Write Protect is off
sd 5:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 5:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1
sd 5:0:0:0: [sde] Attached SCSI disk

Quote:

Anybody have any ideas on what I'm doing wrong?
Could it be that you haven't loaded the usb-storage kernel module?

Sabexx 07-07-2019 03:40 AM

Quote:

Originally Posted by ehartman (Post 6012746)
There normally should be something about the partitions ON the stick after that, like this
Code:

scsi 5:0:0:0: Direct-Access    ATA      WDC WD10EADS-00L 01.0 PQ: 0 ANSI: 5
sd 5:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 5:0:0:0: Attached scsi generic sg6 type 0
sd 5:0:0:0: [sde] Write Protect is off
sd 5:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 5:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1
sd 5:0:0:0: [sde] Attached SCSI disk


Could it be that you haven't loaded the usb-storage kernel module?

It looks like my kernel modules are snafu. Somehow my kernel is a different version to the kernel modules I have installed.Thanks for pointing me in the right direction!


All times are GMT -5. The time now is 02:48 PM.