LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-07-2019, 12:36 AM   #1
Sabexx
LQ Newbie
 
Registered: May 2019
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
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?

Last edited by Sabexx; 07-07-2019 at 12:38 AM.
 
Old 07-07-2019, 03:34 AM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Sabexx View Post
[ 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?
 
Old 07-07-2019, 03:40 AM   #3
Sabexx
LQ Newbie
 
Registered: May 2019
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
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!
 
  


Reply

Tags
dbus, slackware -current, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable a Hard Disk to read/write to a USB device but disable the USB device to read/write to the hard disk without user permission? ce309 Linux - General 33 05-22-2019 04:30 PM
mknod: does the creation of a block device write data into the device? stf92 Slackware 7 11-20-2013 11:54 AM
Inserting a block of text into a text file on system boot krptodr Linux - Newbie 5 02-14-2012 07:11 PM
How to stop mounts on /media when inserting a USB device. (SD, Flash, etc.) MrUmunhum Linux - General 16 06-27-2009 06:41 PM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration