Hey Fred.

Is the USB key in question formatted with a FAT partition by chance? If
so, you may need to load the vfat module as root, or, build vfat
(Windows FAT32) filesystem support into your kernel, or perhaps, add an
entry for the USB key in your /etc/fstab if you already have vfat support.

http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device

Sláinte!

-Jeff

Frédéric Grosshans wrote:
> I've a problem with a recently bought usb disk:there is a /dev/sda node
> but no /dev/sda1 . When I try to access /dev/sda, I've the following
> errors :
>         sanduleak ~ # fdisk /dev/sda
>         
>         Unable to open /dev/sda
>         sanduleak ~ # dd if=/dev/sda of=/dev/null
>         dd: opening `/dev/sda': No medium found
>         
> 
> When I plug it, tje following entries are added to dmesg :
> 
>         usb 3-2: new full speed USB device using uhci_hcd and address 6
>         scsi2 : SCSI emulation for USB Mass Storage devices
>         usb-storage: device found at 6
>         usb-storage: waiting for device to settle before scanning
>           Vendor: Generic   Model: USB Flash Drive   Rev: 1.04
>           Type:   Direct-Access                      ANSI SCSI revision:
>         02
>         sd 2:0:0:0: Attached scsi removable disk sda
>         usb-storage: device scan complete
>         
> The strangest part is the lsusb output (verbose output at the end of the
> mail):
>         sanduleak ~ # lsusb -s6
>         Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp.
>         Flash Disk 32 MB
>         
> This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite
> 1GB drive. I did some first tests with small files, and it worked OK. I
> then loaded a ~100MB file from a windows computer on the usb key and
> went away to travel (It shold be "DataTraveler" disk, after all). I'm
> now in China, with no access to this disk :-(.
> 
> Is that 
>      1. a user bug (I did something very stupid),
>      2. a disk bug (My disk is corrupted some how),
>      3.  or a software bug.
> 
> In case 1. and 2., how can I check it ?
> 
> The lsusb output let me suspect it's case 3, especially the false 32 MB
> disk size. If it's the case, can I possibly correct it ? Where should I
> look ? And Where should I report the bug ? 
> 
>       Thanks for having read until here. 
> 
>               Fred
> 
> PS: here is the output of lsusb -vs6 , if it can be useful.
>         
> Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk
> 32 MB
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x1043 iCreate Technologies Corp.
>   idProduct          0x8006 Flash Disk 32 MB
>   bcdDevice            1.00
>   iManufacturer           0
>   iProduct                0
>   iSerial                 0
>   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
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
> 
> 

-- 
Princess Leia gets her first look at the Millennium Falcon.
Princess Leia:
        You came in that thing? You're braver than I thought!

-- 
[email protected] mailing list

Reply via email to