Re: Marking sectors on IDE drives as bad

Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Fri, 26 Jan 2001 11:49:36 +0100 (MET)


"Wahlman, Petter wrote:"
> The problem still persist, even after marking the respective block with:
> badblocks -n -o /var/log/badblocks,
> and e2fsck -l /var/log/badblocks

> fsck is forced at boot, with the previously mentioned error:
>
> Jan 26 10:32:37 evil kernel: hda: read_intr: error=0x01 { AddrMarkNotFound
> }, LBAsect=10262250, sector=1311147
> Jan 26 10:32:37 evil kernel: ide0: reset: success
> Jan 26 10:32:37 evil kernel: hda: read_intr: status=0x59 { DriveReady
> SeekComplete DataRequest Error }

IDE layer knows nothing about ext2 marked badblocks.
Did you turn off multicount (PIO) and readahead (DMA) for this disk
using hdparm ?

However note that some ext2 structure information is not relocable.
So if bad blocks hit them you lose.

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

>