lkml.org 
[lkml]   [2004]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.6.3-rc3 - IDE DMA errors on Thinkpad A30
From
Date
On Sun, 15 Feb 2004 23:09:52 EST, Jeff Garzik said:
> Valdis.Kletnieks@vt.edu wrote:
> > On Sun, 15 Feb 2004 22:47:37 EST, Jeff Garzik said:

> >>to see if this sector is bad", and -hopefully- will unmark bad blocks
> >>that were incorrectly marked bad.

That "hopefully" is the question here...

> Consider: ext2 reads sector 1234. drive returns "media error", and
> then swaps the bad sector for a good one. Reboot and run badblocks.
> badblocks reads sector 1234, in whatever manner the drive chooses to
> present sector 1234 to the OS.
>
> "original" versus "redirected" block is invisible to the OS. The OS
> only knows that an event occured at a single point in time -- the media
> error.

So it never sees the original incorrectly marked bad block, and thus can't
unmap it... We'll never look at the original 1234 again and see that it was in
fact a good block, all we'll see is if the REPLACEMENT 1234 is good or bad.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:00    [W:7.217 / U:0.060 seconds]
©2003-2011 Jasper Spaans. Advertise on this site