Re: *FAT problem in 2.6.0-test8

From: Vid Strpic
Date: Sat Oct 25 2003 - 07:02:26 EST


On Sat, Oct 25, 2003 at 07:18:03PM +0900, OGAWA Hirofumi wrote:
> Andries Brouwer <aebr@xxxxxxxxxx> writes:
> > On Fri, Oct 24, 2003 at 12:32:26PM +0200, Vid Strpic wrote:
> > > Yesterday, I just wanted to download some pics from a Smartmedia
> > > card from my camera. I put the card into the reader (USB Mass
> > > Storage Flash Card Reader, Manufacturer: EZ, Serial Number:
> > > 9876543210ABCDEF, driver is usb-storage and working well now, I
> > > had problems earlier), but the kernel doesn't recognize FAT
> > > filesystem on the card...
> > > Oct 23 17:19:01 moria kernel: FAT: invalid first entry of FAT
> > > (0xff8 != 0x0)
> > How was this card formatted?
> It looks like it doesn't conform to Microsoft's or SmartMedia's
> specifications.
> Yes. It will be important to know how it was formated.

Well, I really don't know if it was formatted when I bought it, 2 years
ago. What puzzles me, is that 2.4 mounts it normally...

This is the hex dump of begginning (problematic no-name 64Mb card):

0000000: e900 002a 6453 777c 4948 4300 0220 0100 ...*dSw|IHC.. ..
0000010: 0200 0100 00f8 0c00 2000 0800 3700 0000 ........ ...7...
0000020: c9f3 0100 0000 0000 0000 0000 0000 0000 ................
0000030: 0000 0000 0000 4641 5431 3220 2020 0000 ......FAT12 ..
0000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................

And this is the SanDisk 32Mb card which mounts normally under 2.6:

0000000: e900 0020 2020 2020 2020 2000 0220 0100 ... .. ..
0000010: 0200 01dd f9f8 0600 1000 0800 2300 0000 ............#...
0000020: 0000 0000 0000 2900 0000 004e 4f20 4e41 ......)....NO NA
0000030: 4d45 2020 2020 4641 5431 3220 2020 0000 ME FAT12 ..
0000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................


Maybe I should try to reformat the card in the reader? My camera has
'delete all images' but no 'format card' I'm sorry...

--
vms@xxxxxxxxxxx, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test8 #1 Mon Oct 20 16:19:20 CEST 2003 i686
12:52:51 up 19:36, 1 user, load average: 0.14, 0.25, 0.18
Moderna algebra je kad u 4 ujutro vadis korijen iz nepoznate.

Attachment: pgp00001.pgp
Description: PGP signature