home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] kernel retries to much reading a bad disk

  • Subject: Re: [OCLUG-Tech] kernel retries to much reading a bad disk
  • From: Martin Hicks <mort [ at ] bork [ dot ] org>
  • Date: Wed, 20 Sep 2006 08:49:26 -0400
On Tue, Sep 19, 2006 at 10:20:27AM -0400, Peter Sjoberg wrote:
> 
> I'm running OpenSuse 10.1 with kernel 2.6.16.21-0.13
> 

The log looks to me like its still lacking the new Error Handler stuff
that Tejun wrote.  This old code doesn't contain enough information for
the scsi midlayer to fail a drive.

Try a 2.6.18-rc kernel.
mh


> Sample from messages
> 
> Sep 17 21:07:08 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:08 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:08 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:08 picard kernel: sd 3:0:0:0: SCSI error: return code = 0x8000002
> Sep 17 21:07:08 picard kernel: sdb: Current: sense key: Medium Error
> Sep 17 21:07:08 picard kernel:     Additional sense: Unrecovered read error - auto reallocate failed
> Sep 17 21:07:08 picard kernel: end_request: I/O error, dev sdb, sector 10290296
> Sep 17 21:07:08 picard kernel: Buffer I/O error on device sdb, logical block 1286287
> Sep 17 21:07:12 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:12 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:12 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:16 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:16 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:16 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:20 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:20 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:20 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:24 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:24 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:24 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:27 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:27 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:27 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:31 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:31 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:31 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:31 picard kernel: sd 3:0:0:0: SCSI error: return code = 0x8000002
> Sep 17 21:07:31 picard kernel: sdb: Current: sense key: Medium Error
> Sep 17 21:07:31 picard kernel:     Additional sense: Unrecovered read error - auto reallocate failed
> Sep 17 21:07:31 picard kernel: end_request: I/O error, dev sdb, sector 10290304
> Sep 17 21:07:31 picard kernel: Buffer I/O error on device sdb, logical block 1286288
> Sep 17 21:07:35 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:35 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:35 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:39 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:39 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:39 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:43 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:43 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:43 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:46 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:46 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:46 picard kernel: ata2: error=0x40 { UncorrectableError }
> Sep 17 21:07:50 picard kernel: ata2: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04
> Sep 17 21:07:50 picard kernel: ata2: status=0x51 { DriveReady SeekComplete Error }
> Sep 17 21:07:50 picard kernel: ata2: error=0x40 { UncorrectableError }
> 
> 
> BTW, what's the diff between sector and block? I thought I knew but
> looking in the log the numbers doesn't make sense. Sector 10290296=
> block 1286287
> 
> 
> 
> -- 
> -------------------------------------------------------------------
> Techwiz, Peter Sjoberg    PGP key (12F506C8) on keyserver & homepage
> Key fingerprint =  3DC2 CEBA 1590 B41A 3780  955A DB42 02BB 12F5 06C8
> mailto:peters AT techwiz.ca http://www.techwiz.ca/~peters
> 
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://www.oclug.on.ca/mailman/listinfo/linux

-- 
Martin Hicks || mort [ at ] bork [ dot ] org || PGP/GnuPG: 0x4C7F2BEE