Barry Upshaw

USB Support on M54455EVB

Discussion created by Barry Upshaw on Nov 12, 2007
Latest reply on Nov 14, 2007 by James Mahan
A question for kmahan or other Linux guru types:
I have gotten USB Mass Storage working - sort of.  I can mount ext2 type flash sticks (formatted in Fedora) with no problems.  However no matter WHAT I try, I can not seem to successfully mount a VFAT type (tried FAT16, FAT32).  Fedora mounts this same flash stick with no problem.
If I use the -t auto (or -t vfat) option in 'mount' I always get a 'No such device' error
Here's part of fstabs:
/dev/sda1       /mnt/usbfd  vfat    rw,noauto         0       0
#/dev/ram0       /mnt/ramdisk  auto    noauto,owner    0       0
Again, I know that everything else is working since I can plug/un-plug, mount/umount USB sticks formatted as ext2 without any problem (and perform reads/writes to them).  Am I missing something in the part table creation (used standard Windows format - both Win and Fedora read the stick fine afterwards)?
Here's what fdisk shows:
Disk /dev/sda: 130 MB, 130023424 bytes
1 heads, 32 sectors/track, 7936 cylinders
Units = cylinders of 32 * 512 = 16384 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1               2        7936      126960    b  Win95 FAT32
Also, somehow I get a startup message indicating an attempt to mount a ramdisk.  Yes, I did add this to fstab, but (see above) it's commented out.  I edited /etc/fstab on a desktop, then tftp'd it back.  So, how is this "old" line still getting recognized???
Kernel startup message:
mount: Mounting  on  /mnt/ramdisk  auto    noauto,owner    0       0 failed: No
such file or directory

I wanted to include a ramdisk, but realized that there are no format (mkfs or mke2fs) utils included in the default busybox build.  Am I missing something?  Is there another way to format a ramdisk with this build???