From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: Kernel SeekCompleteErrors... Different from Re: LibPATA code issues / 2.6.15.4 Date: Mon, 27 Feb 2006 11:48:08 +0000 Message-ID: <1141040889.27539.60.camel@localhost.localdomain> References: <440040B4.8030808@dgreaves.com> <440083B4.3030307@rtr.ca> <4400A1BF.7020109@rtr.ca> <4400B439.8050202@dgreaves.com> <4401122A.3010908@rtr.ca> <44019E96.20804@superbug.co.uk> <4401B378.3030005@rtr.ca> <4401BB85.7070407@superbug.co.uk> <4401DF6B.9010409@rtr.ca> <20060226171307.GA9682@gallifrey> <1140975791.27539.19.camel@localhost.localdomain> <44021141.6000601@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:37539 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1750940AbWB0LpF (ORCPT ); Mon, 27 Feb 2006 06:45:05 -0500 In-Reply-To: <44021141.6000601@rtr.ca> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mark Lord Cc: "Dr. David Alan Gilbert" , James Courtier-Dutton , David Greaves , Justin Piszcz , Jeff Garzik , linux-kernel@vger.kernel.org, IDE/ATA development list , albertcc@tw.ibm.com, axboe@suse.de, htejun@gmail.com On Sul, 2006-02-26 at 15:36 -0500, Mark Lord wrote: > It still is unreliable, as being discussed in another thread. > > libata wrongly says "medium error" any time it issues a command > that the drive rejects (unsupported, invalid parameters, etc..). It seems to still get a single case wrong. But it does the report the ATA state correctly still. > This is biting a few people in 2.6.16-rc*, due to the FUA stuff. It is driven by a table in libata-scsi.c:ata_to_sense_error() so if you can figure out the wrong entry and tweak the table that would be great