1 |
I've a problem with a recently bought usb disk:there is a /dev/sda node |
2 |
but no /dev/sda1 . When I try to access /dev/sda, I've the following |
3 |
errors : |
4 |
sanduleak ~ # fdisk /dev/sda |
5 |
|
6 |
Unable to open /dev/sda |
7 |
sanduleak ~ # dd if=/dev/sda of=/dev/null |
8 |
dd: opening `/dev/sda': No medium found |
9 |
|
10 |
|
11 |
When I plug it, tje following entries are added to dmesg : |
12 |
|
13 |
usb 3-2: new full speed USB device using uhci_hcd and address 6 |
14 |
scsi2 : SCSI emulation for USB Mass Storage devices |
15 |
usb-storage: device found at 6 |
16 |
usb-storage: waiting for device to settle before scanning |
17 |
Vendor: Generic Model: USB Flash Drive Rev: 1.04 |
18 |
Type: Direct-Access ANSI SCSI revision: |
19 |
02 |
20 |
sd 2:0:0:0: Attached scsi removable disk sda |
21 |
usb-storage: device scan complete |
22 |
|
23 |
The strangest part is the lsusb output (verbose output at the end of the |
24 |
mail): |
25 |
sanduleak ~ # lsusb -s6 |
26 |
Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. |
27 |
Flash Disk 32 MB |
28 |
|
29 |
This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite |
30 |
1GB drive. I did some first tests with small files, and it worked OK. I |
31 |
then loaded a ~100MB file from a windows computer on the usb key and |
32 |
went away to travel (It shold be "DataTraveler" disk, after all). I'm |
33 |
now in China, with no access to this disk :-(. |
34 |
|
35 |
Is that |
36 |
1. a user bug (I did something very stupid), |
37 |
2. a disk bug (My disk is corrupted some how), |
38 |
3. or a software bug. |
39 |
|
40 |
In case 1. and 2., how can I check it ? |
41 |
|
42 |
The lsusb output let me suspect it's case 3, especially the false 32 MB |
43 |
disk size. If it's the case, can I possibly correct it ? Where should I |
44 |
look ? And Where should I report the bug ? |
45 |
|
46 |
Thanks for having read until here. |
47 |
|
48 |
Fred |
49 |
|
50 |
PS: here is the output of lsusb -vs6 , if it can be useful. |
51 |
|
52 |
Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk |
53 |
32 MB |
54 |
Device Descriptor: |
55 |
bLength 18 |
56 |
bDescriptorType 1 |
57 |
bcdUSB 1.10 |
58 |
bDeviceClass 0 (Defined at Interface level) |
59 |
bDeviceSubClass 0 |
60 |
bDeviceProtocol 0 |
61 |
bMaxPacketSize0 8 |
62 |
idVendor 0x1043 iCreate Technologies Corp. |
63 |
idProduct 0x8006 Flash Disk 32 MB |
64 |
bcdDevice 1.00 |
65 |
iManufacturer 0 |
66 |
iProduct 0 |
67 |
iSerial 0 |
68 |
bNumConfigurations 1 |
69 |
Configuration Descriptor: |
70 |
bLength 9 |
71 |
bDescriptorType 2 |
72 |
wTotalLength 32 |
73 |
bNumInterfaces 1 |
74 |
bConfigurationValue 1 |
75 |
iConfiguration 0 |
76 |
bmAttributes 0x80 |
77 |
MaxPower 100mA |
78 |
Interface Descriptor: |
79 |
bLength 9 |
80 |
bDescriptorType 4 |
81 |
bInterfaceNumber 0 |
82 |
bAlternateSetting 0 |
83 |
bNumEndpoints 2 |
84 |
bInterfaceClass 8 Mass Storage |
85 |
bInterfaceSubClass 6 SCSI |
86 |
bInterfaceProtocol 80 Bulk (Zip) |
87 |
iInterface 0 |
88 |
Endpoint Descriptor: |
89 |
bLength 7 |
90 |
bDescriptorType 5 |
91 |
bEndpointAddress 0x81 EP 1 IN |
92 |
bmAttributes 2 |
93 |
Transfer Type Bulk |
94 |
Synch Type None |
95 |
Usage Type Data |
96 |
wMaxPacketSize 0x0040 1x 64 bytes |
97 |
bInterval 0 |
98 |
Endpoint Descriptor: |
99 |
bLength 7 |
100 |
bDescriptorType 5 |
101 |
bEndpointAddress 0x02 EP 2 OUT |
102 |
bmAttributes 2 |
103 |
Transfer Type Bulk |
104 |
Synch Type None |
105 |
Usage Type Data |
106 |
wMaxPacketSize 0x0040 1x 64 bytes |
107 |
bInterval 0 |
108 |
|
109 |
|
110 |
-- |
111 |
gentoo-user@g.o mailing list |