All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.0-test9 VFAT problem
@ 2003-11-14 11:32 Vid Strpic
  2003-11-14 13:46 ` Patrick Beard
  0 siblings, 1 reply; 25+ messages in thread
From: Vid Strpic @ 2003-11-14 11:32 UTC (permalink / raw)
  To: Patrick Beard; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

On Fri, Nov 14, 2003 at 09:39:23AM -0000, Patrick Beard wrote:
> 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

Oh, no, not again... :(

We had the same problem few weeks ago... a patch is in the archives, it
worked for me.

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test9 #1 Sat Oct 25 23:00:37 CEST 2003 i686
 12:31:15 up 8 days, 21:48,  1 user,  load average: 0.29, 0.29, 0.27

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: 2.6.0-test9 VFAT problem
@ 2003-11-15  9:08 Vid Strpic
  0 siblings, 0 replies; 25+ messages in thread
From: Vid Strpic @ 2003-11-15  9:08 UTC (permalink / raw)
  To: Patrick Beard; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

On Fri, Nov 14, 2003 at 01:46:51PM -0000, Patrick Beard wrote:
> >> FAT: Bogus number of reserved sectors
> >> VFS: Can't find a valid FAT filesystem on dev sda
> >Oh, no, not again... :(
> >We had the same problem few weeks ago... a patch is in the archives, it
> >worked for me.
> I did apply Andries's 'Relax FAT checking' patch last night but the only
> difference I noticed was my belkin reader changed it's error to 'no media
> found' the camera still gave 'wrong fs...'

Hmmm.

> After advice from Philippe and Andries and the following I found on a
> website;
> "The problem is that Linux only looks at the disk geometry the first time
> the camera is plugged in. So when you unplug the camera and change the
> memory card Linux does not check to see if the geometry has changed."

I didn't know that... it shouldn't happen?  I don't connect my camera by
usb-storage, I have a card reader, and it really behaves as removable
media device, as it should - checks size everytime.  Maybe we should
change something here?

> I really hope I've not chased my tail by hitting the following combination
> 'up-patched inode.c' + 'trying to use sda after a deja search' and finally
> 'Linux only checking the geometry once'. I'd like to put this thread on hold
> until I take stock of the steps I've taken just to make sure I've not been a
> right 'plum'.

Well, those things sometimes take a lot of time.

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test9 #1 Sat Oct 25 23:00:37 CEST 2003 i686
 10:05:31 up 9 days, 19:22,  1 user,  load average: 0.30, 0.48, 0.29
Eagles may soar, but weasels don't get sucked into jet engines.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: 2.6.0-test9 VFAT problem
@ 2003-11-14 11:51 Patrick Beard
  2003-11-14 19:03 ` Andries Brouwer
  0 siblings, 1 reply; 25+ messages in thread
From: Patrick Beard @ 2003-11-14 11:51 UTC (permalink / raw)
  To: 'Andries Brouwer'; +Cc: linux-kernel

> > 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

Hi Andries,

Yes, with 2.4 I used sda1. When I first compiled 2.6 I used sda1 but I got
the 'wrong fs..' error. This was a clean install of debian so I didn't have
my original fstab. I checked the web and noticed people using sda. so I
tried that - same error. In trying to get this to work I've used sda and
sda1 at different times both gave the same errors.

Thanks for your reply,

--
Patrick 


Whilst we have taken every effort to ensure that all attachments 
are virus free, use is at the recipients own risk.

_________________ANTI_VIRUS PROTECTION___________________ 

This message has been checked for all known viruses by Norman Anti-Virus. 
For further information visit http://www.norman.com 



^ permalink raw reply	[flat|nested] 25+ messages in thread
* 2.6.0-test9 VFAT problem
@ 2003-11-14  9:39 Patrick Beard
  2003-11-14 11:38 ` Andries Brouwer
  0 siblings, 1 reply; 25+ messages in thread
From: Patrick Beard @ 2003-11-14  9:39 UTC (permalink / raw)
  To: linux-kernel

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




^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2003-11-17  9:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14 11:32 2.6.0-test9 VFAT problem Vid Strpic
2003-11-14 13:46 ` Patrick Beard
2003-11-14 14:45   ` Gene Heskett
2003-11-14 17:45     ` OGAWA Hirofumi
2003-11-14 18:51       ` Gene Heskett
2003-11-14 19:13         ` Maciej Zenczykowski
2003-11-14 19:58           ` Gene Heskett
2003-11-14 20:30             ` Maciej Zenczykowski
2003-11-15  0:05               ` Gene Heskett
2003-11-14 20:02         ` OGAWA Hirofumi
2003-11-14 23:56           ` Gene Heskett
2003-11-15  8:41             ` OGAWA Hirofumi
2003-11-15 10:19               ` Gene Heskett
2003-11-15 11:31                 ` OGAWA Hirofumi
2003-11-14 20:23     ` Andries Brouwer
2003-11-14 23:59       ` Gene Heskett
2003-11-15 18:06   ` Parick Beard
  -- strict thread matches above, loose matches on Subject: below --
2003-11-15  9:08 Vid Strpic
2003-11-14 11:51 Patrick Beard
2003-11-14 19:03 ` Andries Brouwer
2003-11-14 20:06   ` Gene Heskett
2003-11-14 20:15   ` OGAWA Hirofumi
2003-11-17  9:46   ` Patrick Beard
2003-11-14  9:39 Patrick Beard
2003-11-14 11:38 ` Andries Brouwer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.