RE: ata errors -> read-only root partition. Hardware issue?
From: Roger Heflin
Date: Wed Jan 11 2006 - 10:43:49 EST
> -----Original Message-----
> From: linux-kernel-owner@xxxxxxxxxxxxxxx
> [mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of
> jerome lacoste
> Sent: Wednesday, January 11, 2006 9:26 AM
> To: Alan Cox
> Cc: Robert Hancock; linux-kernel
> Subject: Re: ata errors -> read-only root partition. Hardware issue?
>
> On 1/11/06, jerome lacoste <jerome.lacoste@xxxxxxxxx> wrote:
> > On 1/11/06, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > > On Mer, 2006-01-11 at 09:30 +0100, jerome lacoste wrote:
> > > > - scan for bad blocks
> > >
> > > Read the entire disk (write will hide and clean up errors by
> > > reallocating)
> >
> > something like should be sufficient right?
> >
> > cat /dev/sdax > /dev/null
>
> I did something slightly different:
>
> root@manies:~# cat /dev/sda > /dev/null
> cat: /dev/sda: Input/output error
>
> and in dmesg, problems show again:
>
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> SCSI error : <2 0 0 0> return code = 0x8000002
> sda: Current: sense key: Medium Error
> Additional sense: Unrecovered read error - auto reallocate failed
> end_request: I/O error, dev sda, sector 39088832 Buffer I/O
> error on device sda, logical block 4886104
> ata3: status=0x51 { DriveReady SeekComplete Error }
> ata3: error=0x40 { UncorrectableError }
> ....
If it is repeatable on the exact same block(s)/sector(s) every time,
and it reads lots of other blocks/sectors just fine, it is very
unlikely to be anything but a disk error.
Roger
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/