Hello,

I can now install g_file_storage.  But I got some strange messages once I
plug the usb cable to the host and mount it.

First of all, I created a file like that :
  >dd bs=1024 count=1024 if=/dev/zero of=/root/data/backing_file
  >insmod g_file_storage.o   (I changed, in file_storage.c, the default
backing file name for /root/data/backing_file)

I got this first message : Unknown partition table

Next, I mount it to /mnt
 > mount -t vfat /dev/scsi/host0/bus0/target0/lun0/disc /mnt

I got these kernel messages:
- WARNING : USB Mass Storage data integrity not assured
- USB Mass Storage found at 2
- ...
- g_file_storage at91rm9200_udc: SCSI CDB: 28 08 00 00 00 00 00 00 01 00
- g_file_storage at91rm9200_udc: SCSI command: READ(10); Dc=10, Di=512;
Hc=10, Hi=512
- g_file_storage at91rm9200_udc-lun0: file read 512 @ 0 -> 512
- ...
- FAT: bogus logical sector size 0
- VFS: Can't find a valid FAT filesystem on dev 08:00.

It doesn't seem mounted.  I also set stall to 0.

Best regards
Christian






-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to