Hi:

I'm trying to use flash stick with this ATMEL at91rm9200-ek reference board. 
I'm running 2.6.16 kernel (just historical reasons, may be it has some USB 
issues?). I think all necessary kernel options are defined. Linux recognizes 
the stick:

usb 1-1: new full speed USB device using at91_ohci and address 3 usb 1-1: 
Product: JUMPDRIVE SPORT usb 1-1: Manufacturer: LEXAR MEDIA usb 1-1: 
SerialNumber: 35A3FB07145732011104 usb 1-1: configuration #1 chosen from 1 
choice
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: LEXAR     Model: JUMPDRIVE SPORT   Rev: 1000
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 506880 512-byte hdwr sectors (260 MB)
sda: Write Protect is off
sda: assuming drive cache: write through SCSI device sda: 506880 512-byte hdwr 
sectors (260 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1
sd 1:0:0:0: Attached scsi removable disk sda sd 1:0:0:0: Attached scsi generic 
sg0 type 0

However mount fails (stick has VFAT filesystem on it):

~ # mount -t vfat /dev/sda /mnt/
FAT: invalid media value (0x00)
VFS: Can't find a valid FAT filesystem on dev sda.
mount: Mounting /dev/sda on /mnt failed: Invalid argument ~ # mount -t vfat 
/dev/sda1 /mnt/ Unable to load NLS charset cp437
FAT: codepage cp437 not found
mount: Mounting /dev/sda1 on /mnt failed: Invalid argument

Note that codeset 437 is specified in kernel configuration as default. When I 
replaced it by "ascii" (same as on my Linux desktop where the same flash works) 
it fails anyway:

~ # mount /dev/sda /mnt/
VFS: Can't find ext3 filesystem on dev sda.
VFS: Can't find an ext2 filesystem on dev sda.
cramfs: wrong magic
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
Unable to identify CD-ROM format.
mount: Mounting /dev/sda on /mnt failed: Invalid argument ~ # mount -t vfat 
/dev/sda /mnt/
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
mount: Mounting /dev/sda on /mnt failed: Invalid argument


Does anybody have any idea why this happen?

I'm a newbie in USB, so please forgive my naiveté. 

Thanks,

Leonid.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to