USB drive detected (dmesg) but no entry in /dev ?!
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB drive detected (dmesg) but no entry in /dev ?!
I cannot mount my USB drive any longer (it did work at some point, after the Ubuntu install) and cannot figure out the issue.
(Incidentally my USB printer also doesn't work but one thing at a time...).
Basically:
the drive is detected when I turn it on (see dmesg below)
weird "type does not exist" in dmesg
it's also in /proc/scsi/scsi (see below)
no corresponding entry can be found in /dev/
fdisk doesn't see it neither
all this was working fine on SuSE and *did* work right after Ubuntu install
All detail below...
Any idea?
Thanks in advance!
Breezy Badger Ubuntu Server 5.1.0
Code:
# uname -a
Linux oooo 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux
/var/log/messages when I turn on the drive:
Code:
Mar 31 23:18:16 localhost kernel: [4295656.599000] usb 5-2: USB disconnect, address 6
Mar 31 23:18:21 localhost kernel: [4295661.765000] usb 5-2: new high speed USB device using ehci_hcd and address 7
Mar 31 23:18:22 localhost kernel: [4295661.978000] scsi6 : SCSI emulation for USB Mass Storage devices
Mar 31 23:18:22 localhost usb.agent[6438]: usb-storage: already loaded
Mar 31 23:18:31 localhost kernel: [4295670.945000] Vendor: USB-HS Model: WDC WD2500BB-14G Rev: 0.01
Mar 31 23:18:31 localhost kernel: [4295670.945000] Type: Direct-Access ANSI SCSI revision: 00
Mar 31 23:18:31 localhost kernel: [4295670.978000] SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
Mar 31 23:18:31 localhost kernel: [4295670.998000] SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
Mar 31 23:18:31 localhost kernel: [4295670.999000] /dev/scsi/host6/bus0/target0/lun0: p1 p2
Mar 31 23:18:31 localhost kernel: [4295671.045000] Attached scsi disk sdc at scsi6, channel 0, id 0, lun 0
Mar 31 23:18:41 localhost scsi.agent[6475]: Attribute /sys/devices/pci0000:00/0000:00:10.4/usb5/5-2/5-2:1.0/host6/target6:0:0/6:0:0:0/type does not exist
Result of mount:
Code:
#mount -t ext3 /dev/sdc2 /mnt/usblin/
mount: special device /dev/sdc2 does not exist
# more /proc/scsi/usb-storage/6
Host scsi6: usb-storage
Vendor: BUFFALO INC.
Product: USB2-IDE Bridge
Serial Number: 00000701080B
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Nowhere to be found in /dev...
Code:
# ls /dev/s*
/dev/sda /dev/sda1
And fdisk doesn't seem to see it neither:
Code:
# fdisk -l
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4678 37576003+ 83 Linux
/dev/hdb2 4679 4865 1502077+ 5 Extended
/dev/hdb5 4679 4865 1502046 82 Linux swap / Solaris
Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 1246 10008463+ 83 Linux
/dev/hdc2 1247 1371 1004062+ 82 Linux swap / Solaris
/dev/hdc3 1372 3239 15004710 83 Linux
/dev/hdc4 3240 30401 218178765 5 Extended
/dev/hdc5 3240 30401 218178733+ 83 Linux
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 30514 245103673+ 83 Linux
Just in case, I did a:
Code:
update-usbids
No change.
Interestingly, lsusb doesn't seem too happy:
Code:
# lsusb
Unknown line at line 5924
Unknown line at line 5925
Unknown line at line 5926
Unknown line at line 5927
Unknown line at line 5928
Unknown line at line 5929
Unknown line at line 5930
Unknown line at line 5931
Unknown line at line 5932
Unknown line at line 5933
Unknown line at line 5934
Unknown line at line 5935
Bus 005 Device 007: ID 0411:002a MelCo., Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 04e8:324c Samsung Electronics Co., Ltd ML-1740 Printer
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Have you tried the modprobe? I have to use it with my zip to get suse to recognize sda in dev.
try modprobe imm. works for my zip to get it to show up. perhaps something like that.
rmmod imm, removes it. that's suse. perhaps there is something similar for you.
Hi again, I just tried something. do an lsmod. sd_mod, usb_storage, and usbcore.
if they aren't there, do a modprobe sd_mod. that by itself will cause the sda or whatever sd to not show up.
Hi again, I just tried something. do an lsmod. sd_mod, usb_storage, and usbcore.
if they aren't there, do a modprobe sd_mod. that by itself will cause the sda or whatever sd to not show up.
again, good luck.
Tom
Thanks Tom.
Yes, all these modules are there:
Code:
# lsmod | grep -i usb
usblp 12736 0
usb_storage 74560 2
usbcore 118204 4 usblp,usb_storage,uhci_hcd
scsi_mod 135944 5 sr_mod,sbp2,sd_mod,usb_storage,libata
ide_core 139028 5 usb_storage,ide_disk,ide_cd,ide_generic,via82cxxx
# modprobe sd_mod
#
# ls /dev/s*
/dev/sda /dev/sda1
# dmesg
{...}
[4890183.677000] Attached scsi disk sdc at scsi8, channel 0, id 0, lun 0
[4890183.697000] usb-storage: device scan complete
# mount -t ext3 /dev/sdc1 /mnt/usblin/
mount: special device /dev/sdc1 does not exist
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.