[SLUG] usb thumbdrive AAARRGH

From: Mike Branda (mike@wackyworld.tv)
Date: Thu Jan 05 2006 - 14:46:44 EST


Hey all,

Got an issue with a thumbdrive that's irritating me. The drive is
recognized on the usb bus and usbview shows it using the usb-storage
driver module. The problem is that it doesn't show up as /dev/sdX. My
system is using usbfs and works fine with other drives and they show up
as /dev/sdbX. Any idea since the driver is loaded and the device
recognized as to how to get it to show up as a usable block device??

You'll have to excuse the line wrapping in a few places.

it001:~# cat /proc/bus/usb/devices

--snip--

T: Bus=01 Lev=02 Prnt=09 Port=00 Cnt=01 Dev#= 10 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=054c ProdID=008b Rev= 0.01
S: Manufacturer=Sony
S: Product=USB Mass Storage Device
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50
Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

it001:~ # lsmod | grep -i usb
usb_storage 81600 0
usbhid 50656 0
usbcore 126720 4 usb_storage,usbhid,uhci_hcd
scsi_mod 142952 7
usb_storage,st,sr_mod,sg,aic79xx,scsi_transport_spi,sd_mod
ide_core 136528 5 usb_storage,ide_cd,generic,piix,ide_disk

Does the 0 after usb_storage mean it's not really attached to anything?

I've seen a few forums that complain about scsi_mod has to be loaded but
mine is there and again, I have another dive that works immediately when
I plug it in.

it001:~ # ls -la /sys/block/
total 0
drwxr-xr-x 30 root root 0 2006-01-05 13:42 .
drwxr-xr-x 10 root root 0 2005-12-27 09:37 ..
drwxr-xr-x 3 root root 0 2006-01-05 13:32 fd0
drwxr-xr-x 3 root root 0 2006-01-05 13:32 hda
drwxr-xr-x 2 root root 0 2006-01-05 13:32 loop0

--snip--

drwxr-xr-x 2 root root 0 2006-01-05 13:32 loop7
drwxr-xr-x 2 root root 0 2006-01-05 13:32 md0
drwxr-xr-x 2 root root 0 2006-01-05 13:32 ram0

--snip--

drwxr-xr-x 2 root root 0 2006-01-05 13:32 ram9
drwxr-xr-x 5 root root 0 2006-01-05 13:32 sda

where sda is my main HD.

it001:~ # fdisk -l

Disk /dev/sda: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 1 131 1052226 82 Linux swap /
Solaris
/dev/sda2 * 132 8923 70621740 83 Linux

Any ideas?? Am I misunderstanding something?

TIA!!

Mike Branda Jr.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:03:24 EDT