mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Marking sectors on IDE drives as bad
@ 2001-01-23 11:34 Wahlman, Petter
  2001-01-23 15:28 ` Andreas Dilger
  0 siblings, 1 reply; 4+ messages in thread
From: Wahlman, Petter @ 2001-01-23 11:34 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'


I'm experiencing some fscking problems due to a defective IDE drive.

exerpt from /var/log/messages:
Jan 22 09:31:29 evil kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jan 22 09:31:29 evil kernel: hda: read_intr: error=0x01 { AddrMarkNotFound
}, LBAsect=10262250, sector=1311147
Jan 22 09:31:29 evil kernel: ide0: reset: success
Jan 22 09:31:29 evil kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jan 22 09:31:29 evil kernel: hda: read_intr: error=0x40 { UncorrectableError
}, LBAsect=10262250, sector=1311147
Jan 22 09:31:29 evil kernel: end_request: I/O error, dev 03:05 (hda), sector
1311147

Is it possible to somehow mark the above sector as bad (in ll_rw_block.c or
similar) to circumvent the problem?


please CC to me, because i'm not on this list.


thanks


Petter Wahlman

-
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Marking sectors on IDE drives as bad
@ 2001-01-26 10:36 Wahlman, Petter
  2001-01-26 10:49 ` Andrzej Krzysztofowicz
  0 siblings, 1 reply; 4+ messages in thread
From: Wahlman, Petter @ 2001-01-26 10:36 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'
  Cc: 'Andre Hedrick', 'Mark Hahn', 'Andreas Dilger'

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

the corrupted block is:
dumpe2fs -b /dev/hda5
dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
655573

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 }
Jan 26 10:32:37 evil kernel: hda: read_intr: error=0x01 { AddrMarkNotFound
}, LBAsect=10262250, sector=1311147
Jan 26 10:32:37 evil kernel: end_request: I/O error, dev 03:05 (hda), sector
1311147



Petter Wahlman


-
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-26 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23 11:34 Marking sectors on IDE drives as bad Wahlman, Petter
2001-01-23 15:28 ` Andreas Dilger
2001-01-26 10:36 Wahlman, Petter
2001-01-26 10:49 ` Andrzej Krzysztofowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome