From: Vid Strpic <vms@bofhlet.net>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: *FAT problem in 2.6.0-test8
Date: Sat, 25 Oct 2003 19:41:02 +0200 [thread overview]
Message-ID: <20031025174102.GE1143@home.bofhlet.net> (raw)
In-Reply-To: <87wuatmfnk.fsf@devron.myhome.or.jp>
[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]
On Sun, Oct 26, 2003 at 01:43:43AM +0900, OGAWA Hirofumi wrote:
> Vid Strpic <vms@bofhlet.net> writes:
> > > 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...
> Yes, 2.4 doesn't check it field.
Obviously. I compared the drivers 2.4.22 -> test8, and diff -u is about
1000 lines, a lot.
> > 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 ................
> On these FAT formats, the target field should be offset 512.
Hm.
> > Maybe I should try to reformat the card in the reader? My camera has
> > 'delete all images' but no 'format card' I'm sorry...
> Um.. Could you please test to reformat? Of course, do it after backup
> the your disk image.
Backups were done yesterday, I'm on the backup-freak side ;)
Just reformatted, it works - used mkdosfs -F 12 -v /dev/sda1, camera
reads the card and can write picture on it...
Reformatted card now can be mounted by standard fat.ko ...
--
vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test8 #1 Mon Oct 20 16:19:20 CEST 2003 i686
19:30:50 up 1 day, 2:14, 1 user, load average: 0.97, 1.51, 0.87
Najkraci C program se sastoji od osam znakova: main(){} (C)Hrv, 2002.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-25 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-24 10:32 Vid Strpic
2003-10-24 18:59 ` Andries Brouwer
2003-10-25 10:18 ` OGAWA Hirofumi
2003-10-25 10:55 ` Vid Strpic
2003-10-25 16:43 ` OGAWA Hirofumi
2003-10-25 17:41 ` Vid Strpic [this message]
2003-10-25 18:32 ` OGAWA Hirofumi
2003-10-25 11:05 ` Andries Brouwer
2003-10-25 18:43 ` OGAWA Hirofumi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031025174102.GE1143@home.bofhlet.net \
--to=vms@bofhlet.net \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®