Skip to contentSkip to conversation

2.6.0-test9 VFAT problem

DISCUSSION Patrick Beard 2 participants 2 messages Nov 14, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

First, I'm still very much a newbie to Linux - but I try my best.

I'm having trouble with my smartmedia. Whenever (occasionally it will mount - but very rare) I try to mount it I get the following;

mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems

dmesg shows;

FAT: Bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda

These are Olympus sm cards, my camera is a Olympus 300-zoom. I use both the camera (usb connection) and a belkin usb smartmedia reader. These cards camera and reader all worked well using Kernel 2.4.18.

My distrib is Debian (testing) and the 2.6 source is the 'Debianized' source within testing. I noticed that Andries Brouwer has created a patch to relax the FAT checking within /fs/fat/inode.c. I have applied that diff and recompiled but if anything it now appears worse. That is to say I still get the original error when trying to mount the camera, but this time the belkin reader returns 'no media found'. I will try to confirm this by recompiling with the original inode.c.

My fstab entry is;
/dev/sda /mnt/smedia vfat rw,user,noauto 0,0

As I said at the start the media does mount occasionally so I would presume I haven't missed something.

Can anyone help?

--
Patrick

#1 lore raw
Quoted 10 lines · Patrick Beard

I'm having trouble with my smartmedia.

FAT: Bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda

These are Olympus sm cards, my camera is a Olympus 300-zoom. These cards camera and reader all worked well using Kernel 2.4.18.

My fstab entry is;
/dev/sda /mnt/smedia vfat rw,user,noauto 0,0

I would guess that you have to mount /dev/sda1 or perhaps /dev/sda4. Isn't that what you do under 2.4?

Andries