Hey guys, this is my first post. I'm a relative beginner with linux, but I am pretty good with the Google so I've been doing a decent bit of poking around.
I have a machine that has an integrated USB flash drive somewhere in it that I can not seem to mount. The OS knows it is there, as I can see it in the dmesg output, but the actual "node" in /dev doesn't actually exist. I'm baffled. Will you help me figure this out?
Here's what I came up with so far. The disk is attached to the USB bus, used as a SCSI block device. In dmesg, it is referred to at one point as sdf, as well as under /sys/class/scsi_device. When I go check /dev, /dev/sdf does not exist!:
Code:
cat /proc/bus/usb/devices
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=090c ProdID=1000 Rev=11.00
S: Manufacturer=SMI Corporation
S: Product=USB DISK
S: SerialNumber=AA04012700007530
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us
Code:
cat /proc/scsi/scsi
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: SMI Model: USB DISK Rev: 1100
Type: Direct-Access ANSI SCSI revision: 00
Code:
cat /proc/partitions
major minor #blocks name
8 0 976762584 sda
8 1 4194304 sda1
8 2 524288 sda2
8 3 972041438 sda3
8 16 976762584 sdb
8 17 4194304 sdb1
8 18 524288 sdb2
8 19 972041438 sdb3
8 32 976762584 sdc
8 33 4194304 sdc1
8 34 524288 sdc2
8 35 972041438 sdc3
8 48 976762584 sdd
8 49 4194304 sdd1
8 50 524288 sdd2
8 51 972041438 sdd3
8 64 976762584 sde
8 65 4194304 sde1
8 66 524288 sde2
8 67 972041438 sde3
9 2 3888165184 md2
9 1 1572816 md1
9 0 4194292 md0
253 0 3888119808 dm-0
Code:
ls -l /sys/class/scsi_device/
total 0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 0:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/scsi_device/0:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 1:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 2:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 3:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/scsi_device/3:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 4:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 6:0:0:0 -> ../../devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0
Code:
ls -l /sys/class/scsi_device/6\:0\:0\:0/device/block
total 0
drwxr-xr-x 6 root root 0 2001-12-31 19:00 sdf
Code:
dmesg
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sdf] 244736 512-byte hardware sectors: (125 MB/119 MiB)
sd 6:0:0:0: [sdf] Write Protect is off
sd 6:0:0:0: [sdf] Mode Sense: 43 00 00 00
sd 6:0:0:0: [sdf] Assuming drive cache: write through
sd 6:0:0:0: [sdf] Assuming drive cache: write through
sdf: sdf1
sd 6:0:0:0: [sdf] Attached SCSI removable disk
Code:
mount
/dev/md0 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /ramfs type ramfs (rw)
tmpfs on /USB type tmpfs (rw,size=16k)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/c/c on /c type ext4 (rw,noatime,acl,user_xattr,usrquota,grpquota)
I have no idea what else to look at or where to begin. I would greatly appreciate any tips or tricks you might have, as I am flat out stumped!