From: "Theodore Ts'o" <tytso@mit.edu>
To: Larry McVoy <lm@work.bitmover.com>,
"Richard B. Johnson" <root@chaos.analogic.com>,
Larry McVoy <lm@bitmover.com>, Ricky Beam <jfbeam@bluetronic.net>,
Linux Kernel Mail List <linux-kernel@vger.kernel.org>
Subject: Re: data from kernel.bkbits.net
Date: Mon, 24 Nov 2003 19:30:33 -0500 [thread overview]
Message-ID: <20031125003033.GA9269@thunk.org> (raw)
In-Reply-To: <20031124222413.GA27604@work.bitmover.com>
On Mon, Nov 24, 2003 at 02:24:13PM -0800, Larry McVoy wrote:
> > Yes but an attempt to read beyond the limits of the physical
> > drive will provide you with a lot of **interesting** hardware
> > errors. This happens if the file-system gets corrupt.
Sure, but not that those kinds of errors. You'll see errors like this
instead:
kernel: attempt to access beyond end of device
kernel: 08:05: rw=0, want=198500353, limit=5779456
kernel: attempt to access beyond end of device
kernel: 08:05: rw=0, want=4294934529, limit=5779456
ATA device timeouts, which is what Larry reported, are not caused by
attempting to read beyond the limits of the physical device.
> Yeah, I think Richard may be right. Anyway, the drive sort of reads
> from the raw partition. It gets a IDE reset and then it reads. I can
> read it a second time with no reset. Haven't tried a reboot between
> reads, hang on, yeah, a reboot brings the errors back.
It really, really sounds like the disk is pooched. I don't know if it
was bad luck, cooincidence, or the fact that it was powered down for a
while. But I'm guessing that it's taking a long time for disk to read
a sector, which is causing the disk driver to timeout and reset the
bus, but then the sector is first cached in the IDE disk cache (where
it can be read quickly) and then it ends up getting cached in the
system memory. That would explain why a reboot brings the errors backed.
> But, fscking the dd-ed image gets me less errors so I'm trying that
> route to get the data back.
If using the dd'ed image is giving you less errors, combined with your
other description, it's causing me to be really suspicious about the
hard drive. If you're really brave, or foolish, (or have already
backed up the image), you might try doing a non-destructive read/write
test using the badblocks(8) command. I'm pretty confident that it
will turn up all sorts of problems, though, since the low-level device
driver errors you were describing really are not consistent with
filesystem corruption, but with a hardware failure of some kind.
- Ted
next prev parent reply other threads:[~2003-11-25 0:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 5:19 data from kernel.bkbits.net Larry McVoy
2003-11-24 7:34 ` H. Peter Anvin
2003-11-24 14:57 ` Larry McVoy
2003-11-24 15:43 ` Ricky Beam
2003-11-24 15:50 ` Larry McVoy
2003-11-24 19:17 ` Ricky Beam
2003-11-24 19:24 ` Larry McVoy
2003-11-24 19:35 ` Jamie Lokier
2003-11-24 20:05 ` Richard B. Johnson
2003-11-24 20:33 ` Theodore Ts'o
2003-11-24 21:34 ` Richard B. Johnson
2003-11-24 22:24 ` Larry McVoy
2003-11-24 22:38 ` Jamie Lokier
2003-11-25 0:30 ` Theodore Ts'o [this message]
2003-11-24 20:09 ` Ricky Beam
2003-11-24 9:48 ` Willy Tarreau
2003-11-25 15:00 ` Ben Collins
-- strict thread matches above, loose matches on Subject: below --
2003-11-24 19:14 Adam Radford
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=20031125003033.GA9269@thunk.org \
--to=tytso@mit.edu \
--cc=jfbeam@bluetronic.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lm@bitmover.com \
--cc=lm@work.bitmover.com \
--cc=root@chaos.analogic.com \
/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