From: Nicolai Lissner <nlissne@linux01.gwdg.de>
To: linux-kernel@vger.kernel.org
Subject: test11: fd0 with msdos showing garbage
Date: Sat, 13 Dec 2003 23:02:35 +0100 [thread overview]
Message-ID: <200312132302.36999.nlissne@linux01.gwdg.de> (raw)
Greetings!
While doing a BIOS-Update for my board, I have tried to read/write an
msdos-formatted disk with kernel 2.6.0-test11. It can be mounted without
errors - but "ls" shows only garbage. The disk is 100% ok - and can be readed
with kernel 2.4.x without problems.
I have done some more investigation with that. I can format a disk with e2fs,
even with msdos - both *seem* to work correct - data can be stored and readed
- but if the disk have been formatted with msdos on another system it cannot
be readed with test11.
So I started to do a diskimage with "dd if=/dev/fd0 of=disk.image"
- and found some interesting differences:
While kernel 2.4 produces a file of 1474560 bytes,
test11 produces a file of 737280 bytes only.
Comparing these files I found:
from offset 0x00000000 to 0x000013FF -- no difference.
but... surprise !
The diskimage done with kernel 2.6.0-test11 shows the directory of the disk -
beginning at offset 0x00001400
while it is expected at position 0x00002600
(where it can be found when read with kernel 2.4)
The directory is followed by 0x00 bytes - next data is found at offset
0x00002400 -- data, that can be found at offset 0x00004800 in the original
image.
I can give more detailed information if needed.
Confused but not hopeless (hey, rest of test11 is works a charme here - :)
Nicolai
next reply other threads:[~2003-12-13 22:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-13 22:02 Nicolai Lissner [this message]
2003-12-13 22:28 ` Linus Torvalds
2003-12-14 17:36 ` Problem with ASUS-A7V600 (was: test11: fd0 with msdos showing garbage) Nicolai Lissner
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=200312132302.36999.nlissne@linux01.gwdg.de \
--to=nlissne@linux01.gwdg.de \
--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®