All,
Have recently bought a Typhoon 128Mb USB 2.0 Pen Drive.
As usual all works ok on windows, but I can't mount the drive in linux. The drive is
detected and the relevant entries in /etc/fstab made, but no joy..
I wonder if it's something to do with the fact that it appears as 2 drive. The first
drive is small (2Mb) with a small program to enable/disable security, and the second
drive is the main part.
The only curiosity I noticed was that cdrecord showed only 1 drive for cdrecord
-scanbus.
I've included a text file with outputs from the following in case it would help...
1. sg_scan
2. sg_map
3. /var/log/messages
4. cdrecord -scanbus
5. /etc/fstab
6. lsusb
7. lsusb -v
8. lsmod
9. /proc/bus/usb/drivers
10. /proc/bus/usb/devices
11. /proc/scsi/usb-storage-0
12. /proc/scsi/scsi
+ outputs from mount commands.
Any help would be greatly apprecitated in getting this drive to work.
TIA
RikD.
> sg_scan
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em] type=0
/dev/sg1: scsi0 channel=0 id=0 lun=1 [em] type=0
> sg_map
/dev/sg0 /dev/sda
/dev/sg1 /dev/sdb
/var/log/messages:
Sep 8 19:35:11 zeus kernel: hub.c: USB new device connect on bus2/2, assigned device
number 5
Sep 8 19:35:11 zeus kernel: usb.c: USB device 5 (vend/prod 0x1005/0xb113) is not
claimed by any active driver.
Sep 8 19:35:12 zeus kernel: Initializing USB Mass Storage driver...
Sep 8 19:35:12 zeus kernel: usb.c: registered new driver usb-storage
Sep 8 19:35:12 zeus kernel: scsi: limiting sg entries to 204
Sep 8 19:35:12 zeus kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Sep 8 19:35:12 zeus kernel: Vendor: USB Model: Flash Drive Rev: 1.06
Sep 8 19:35:12 zeus kernel: Type: Direct-Access ANSI SCSI
revision: 02
Sep 8 19:35:12 zeus kernel: Vendor: USB Model: Flash Drive Rev: 1.06
Sep 8 19:35:12 zeus kernel: Type: Direct-Access ANSI SCSI
revision: 02
Sep 8 19:35:12 zeus kernel: sd: allocated major 8
Sep 8 19:35:12 zeus kernel: sd: find_free_slot ...<7>sd: ... found 08:00
Sep 8 19:35:12 zeus kernel: Attached scsi removable disk sda at scsi0, channel 0, id
0, lun 0
Sep 8 19:35:12 zeus kernel: sd: find_free_slot ...<7>sd: ... found 08:10
Sep 8 19:35:12 zeus kernel: Attached scsi removable disk sdb at scsi0, channel 0, id
0, lun 1
Sep 8 19:35:13 zeus kernel: SCSI device sda: 4093 512-byte hdwr sectors (2 MB)
Sep 8 19:35:13 zeus kernel: sda: Write Protect is off
Sep 8 19:35:13 zeus kernel: sda: sda1 sda2 sda3 sda4
Sep 8 19:35:13 zeus kernel: SCSI device sdb: 249856 512-byte hdwr sectors (128 MB)
Sep 8 19:35:13 zeus kernel: sdb: Write Protect is off
Sep 8 19:35:13 zeus kernel: sdb: sdb1 sdb2 sdb4
Sep 8 19:35:13 zeus kernel: WARNING: USB Mass Storage data integrity not assured
Sep 8 19:35:13 zeus kernel: USB Mass Storage device found at 5
Sep 8 19:35:13 zeus kernel: USB Mass Storage support registered.
Sep 8 19:35:13 zeus insmod: Using
/lib/modules/2.4.19-4GB/kernel/drivers/usb/storage/usb-storage.o
Sep 8 19:35:13 zeus insmod: Symbol version prefix ''
Sep 8 19:35:13 zeus kernel: sg_attach: dev0=(21:0)
Sep 8 19:35:13 zeus kernel: sg_attach: dev1=(21:1)
Sep 8 19:35:15 zeus /etc/hotplug/usb.agent[1366]: Can't ignore signal CHLD, forcing
to default.
> cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.2.0
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'USB ' 'Flash Drive ' '1.06' Removable Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
/etc/fstab:
/dev/sda1 /media/sda1 auto noauto,user,exec 0 0 #HOTPLUG B3Fu.SQqt4EZ1jDF
/dev/sdb1 /media/sdb1 auto noauto,user,exec 0 0 #HOTPLUG X2FE.XPGrUkZb8RB
> lsusb
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1063:1555 Motorola Electronics Taiwan Ltd. [hex] MC141555 Hub
Bus 002 Device 003: ID 046d:c501 Logitech Inc. Cordless Mouse Receiver
Bus 002 Device 004: ID 0000:4a48
Bus 002 Device 005: ID 1005:b113
Bus 001 Device 001: ID 0000:0000
> lsusb -v
Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 0.00
iManufacturer 0
iProduct 2 USB UHCI Root Hub
iSerial 1 d000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: (length=4)
0000 (null)((null))
Bus 002 Device 002: ID 1063:1555 Motorola Electronics Taiwan Ltd. [hex] MC141555 Hub
Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1063 Motorola Electronics Taiwan Ltd. [hex]
idProduct 0x1555 MC141555 Hub
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x60
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 1
bInterval 255
Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)
Bus 002 Device 003: ID 046d:c501 Logitech Inc. Cordless Mouse Receiver
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech Inc.
idProduct 0xc501 Cordless Mouse Receiver
bcdDevice 9.00
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 82
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Language IDs: (length=4)
0409 English(US)
Bus 002 Device 004: ID 0000:4a48
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x4a48
bcdDevice 1.00
iManufacturer 1 LG Electronics Inc.
iProduct 2 USB Monitor
iSerial 3 R31499
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x60
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 22
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 180
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: (length=4)
0409 English(US)
Bus 002 Device 005: ID 1005:b113
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1005
idProduct 0xb113
bcdDevice 1.00
iManufacturer 0
iProduct 1 USB Flash Drive
iSerial 2 077712340180060
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 0.00
iManufacturer 0
iProduct 2 USB UHCI Root Hub
iSerial 1 d400
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: (length=4)
0000 (null)((null))
> lsmod
Module Size Used by Tainted: P
osst 45352 0 (autoclean) (unused)
st 28460 0 (autoclean) (unused)
sg 29056 0 (autoclean)
usb-storage 57296 0
af_packet 13800 1 (autoclean)
videodev 6112 0 (autoclean)
sr_mod 14616 0 (autoclean) (unused)
isa-pnp 31520 0 (unused)
sblive 60224 1
uart401 7584 1 [sblive]
pnp 49652 1 [sblive]
ac97 16416 1 [sblive]
soundbase 567712 1 [sblive uart401 pnp ac97]
sndshield 11628 0 [sblive uart401 pnp ac97 soundbase]
ipv6 224220 -1 (autoclean)
hid 19332 0 (unused)
mousedev 4340 1
joydev 5920 0 (unused)
evdev 4640 0 (unused)
input 3296 0 [hid mousedev joydev evdev]
usb-uhci 23084 0 (unused)
usbcore 61760 1 [usb-storage hid usb-uhci]
8139too 15208 1
mii 1232 0 [8139too]
nls_iso8859-1 2844 1 (autoclean)
nls_cp437 4348 1 (autoclean)
vfat 10612 1 (autoclean)
fat 32376 0 (autoclean) [vfat]
lvm-mod 65408 0 (autoclean)
ide-cd 30340 0 (autoclean)
cdrom 28736 0 (autoclean) [sr_mod ide-cd]
reiserfs 210644 2
/proc/bus/usb/drivers:
usbdevfs
hub
96-111: hiddev
hid
usb-storage
/proc/bus/usb/devices:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=129/900 us (14%), #Int= 2, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 5
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1063 ProdID=1555 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c501 Rev= 9.00
S: Manufacturer=Logitech
S: Product=USB Receiver
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=02 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=4a48 Rev= 1.00
S: Manufacturer=LG Electronics Inc.
S: Product=USB Monitor
S: SerialNumber=R31499
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1005 ProdID=b113 Rev= 1.00
S: Product=USB Flash Drive
S: SerialNumber=077712340180060
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= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
/proc/scsi/usb-storage-0:
Host scsi0: usb-storage
Vendor: Unknown
Product: USB Flash Drive
Serial Number: 077712340180060
Protocol: Transparent SCSI
Transport: Bulk
GUID: 1005b1130077712340180060
Attached: Yes
/proc/scsi/sg/version:
30200 Version: 3.2.0 (20020804)
> ls /proc/bus/usb
001 002 devices drivers
> ls /proc/scsi
scsi sg usb-storage-0
> mount /dev/sdb1
/dev/sdb1: Input/output error
mount: I could not determine the filesystem type, and none was specified
> mount -t vfat /dev/sdb1 /media/sdb1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
or too many mounted file systems