Re: Linux 2.6.3-rc3 - IDE DMA errors on Thinkpad A30

Valdis.Kletnieks_at_vt.edu
Date: 02/16/04

  • Next message: Michael Frank: "Re: [BUG]linux-2.4.24 with k8 numa support panic when init scsi"
    To: Jeff Garzik <jgarzik@pobox.com>
    Date:	Sun, 15 Feb 2004 23:29:39 -0500
    
    
    

    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.

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


    • application/pgp-signature attachment: stored

  • Next message: Michael Frank: "Re: [BUG]linux-2.4.24 with k8 numa support panic when init scsi"

    Relevant Pages

    • Re: Knoppix
      ... "badblocks -n" on a drive that is not mounted, ... The point is to trigger the internal remapping of the sector by forcing the ... odds of recovering everything is reasonably good if you do it as soon as you ... start getting I/O errors, and as I said the recovered drive should be copied ...
      (rec.audio.pro)
    • Re: How does the badblock test work in R.H. installer (Anaconda)?
      ... I have never been very convinced that badblocks is any use ... > nowadays - disks will remap internally if they lose a sector, ... The rate should be that of the disk, unless it can saturate the pci ... verify follows, and a rewrite occurs. ...
      (linux.redhat.misc)
    • Re: Linux 2.6.3-rc3 - IDE DMA errors on Thinkpad A30
      ... I'm not sure your question has meaning. ... then swaps the bad sector for a good one. ... Reboot and run badblocks. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Scsi errors with Megaraid 300-8x
      ... Hack the existing smartctl code to read out the failed sector numbers, ... badblocks on the entire partition it wanted to check over 210 million blocks and when it finally came to the bad sector parts the controller lost the drive and the kernel started to spit out scsi errors! ... I would like to run badblocks again but only around the damaged part. ... The partition is a standard XFS partition, ie I haven't made any changes to block sizes when I formatted it. ...
      (Linux-Kernel)
    • Re: jff2 filesystem in vanilla
      ... On 05.06.2004, at 10:46, David Woodhouse wrote: ... they give me a potential excuse to update 2.4 to the current ... It'll mean you write each CF sector once rather than overwriting ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)