From: Jan Niehusmann <jan@gondor.com>
To: Joao Guimaraes da Costa <guima@huhepl.harvard.edu>
Cc: Andreas Dilger <adilger@turbolabs.com>, linux-kernel@vger.kernel.org
Subject: Re: e2fsck compatibility problem with 2.4.17?
Date: Wed, 20 Feb 2002 12:31:10 +0100 [thread overview]
Message-ID: <20020220113109.GA2876@gondor.com> (raw)
In-Reply-To: <3C725D1C.3060001@huhepl.harvard.edu> <20020219141538.G25713@lynx.adilger.int> <3C731460.3060607@huhepl.harvard.edu>
In-Reply-To: <3C731460.3060607@huhepl.harvard.edu>
On Tue, Feb 19, 2002 at 09:13:37PM -0600, Joao Guimaraes da Costa wrote:
> It is also interesting that with kernel 2.4.3, I only get one error from
> using the "dd" command. The drive makes some noise and then it stops
> with the error above.
> Under 2.4.17, it seems that it tries harder and I get more errors. The
> drive stays there making noise. (BTW, the noise is a set of 4 x runck
> plus 4 x ham! It seems each set corresponds to an error on dmesg.)
Just a guess: 2.4.17 may use a different read-ahead algorithmn than
2.4.3, so while dd is reading only one block (and stops if there is a
failure), 2.4.17 tries to read several blocks at once and writes more
than one error message to the log file.
Note that e2fsck reports an error in the range 32783 - 32791, while dd
on 2.4.3 has problems with 32792. So the (first) bad block may be 32792,
but e2fsck gets an error for a block <=32791.
Question is, why does e2fsck get an error from the kernel when it tries
to read (for example) 32791, the kernel can read 32791 without problems,
but gets a hard drive error for 32792?
Note that this may be all wrong, I currently do not have the time to
read the kernel source and try to verify it.
Jan
prev parent reply other threads:[~2002-02-20 11:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-19 14:11 e2fsck compatibility problem with 2.4.17? Joao Guimaraes da Costa
2002-02-19 21:11 ` Mohammad A. Haque
2002-02-19 21:15 ` Andreas Dilger
2002-02-20 3:13 ` Joao Guimaraes da Costa
2002-02-20 11:31 ` Jan Niehusmann [this message]
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=20020220113109.GA2876@gondor.com \
--to=jan@gondor.com \
--cc=adilger@turbolabs.com \
--cc=guima@huhepl.harvard.edu \
--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