Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932145AbWCATGQ (ORCPT ); Wed, 1 Mar 2006 14:06:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932134AbWCATGQ (ORCPT ); Wed, 1 Mar 2006 14:06:16 -0500 Received: from lucidpixels.com ([66.45.37.187]:42884 "EHLO lucidpixels.com") by vger.kernel.org with ESMTP id S932096AbWCATGP (ORCPT ); Wed, 1 Mar 2006 14:06:15 -0500 Date: Wed, 1 Mar 2006 14:06:14 -0500 (EST) From: Justin Piszcz X-X-Sender: jpiszcz@p34 To: Mark Lord cc: David Greaves , Jeff Garzik , Tejun Heo , linux-kernel@vger.kernel.org, IDE/ATA development list , albertcc@tw.ibm.com, axboe@suse.de, Linus Torvalds Subject: Re: LibPATA code issues / 2.6.15.4 In-Reply-To: <4405E83D.9000906@rtr.ca> Message-ID: References: <43F2050B.8020006@dgreaves.com> <200602141300.37118.lkml@rtr.ca> <440040B4.8030808@dgreaves.com> <440083B4.3030307@rtr.ca> <4400A1BF.7020109@rtr.ca> <4400B439.8050202@dgreaves.com> <4401122A.3010908@rtr.ca> <44017B4B.3030900@dgreaves.com> <4401B560.40702@rtr.ca> <4403704E.4090109@rtr.ca> <4403A84C.6010804@gmail.com> <4403CEA9.4080603@rtr.ca> <44042863.2050703@dgreaves.com> <44046CE6.60803@rtr.ca> <44046D86.7050809@pobox.com> <4405DCAF.6030500@dgreaves.com> <4405DDEA.7020309@rtr.ca> <4405E42B.9040804@dgreaves.com> <4405E83D.9000906@rtr.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3081 Lines: 81 On Wed, 1 Mar 2006, Mark Lord wrote: > David Greaves wrote: >> >> haze:/usr/src# smartctl -data -o off /dev/sdc >> succeeds but gives me: >> >> ata3: status=0x50 { DriveReady SeekComplete } >> ata3: translated op=0x85 ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 >> ata3: status=0x51 { DriveReady SeekComplete Error } >> ata3: error=0x04 { DriveStatusError } >> ata3: translated op=0x85 ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 >> ata3: status=0x51 { DriveReady SeekComplete Error } >> ata3: error=0x04 { DriveStatusError } >> ata3: translated op=0x85 ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 >> ata3: status=0x51 { DriveReady SeekComplete Error } >> ata3: error=0x04 { DriveStatusError } > > "DriveStatusError" is "Command Aborted" in ac-speak. > From the man page for smartctl, we read: > >> -o VALUE Enables or disables SMART automatic offline test ... >> Note that the SMART automatic offline test command is listed as "Obsolete" > in every >> version of the ATA and ATA/ATAPI Specifications. It was originally part > of the >> SFF-8035i Revision 2.0 specification, but was never part of any ATA > specification. > > There's a chance that your drives simply do not fully support this feature, > and are rejecting attempts to use it. > > By the way, the latest 2.6.16-rc5-git4 is available, > and has FUA turned off by default now. So it should > work with your drives, and *you* are expected to verify > that for us all now. > > Cheers > > -ml > By the way, the latest 2.6.16-rc5-git4 is available, I am using 2.6.16-rc5-git4, and after running: # smartctl -data -o off /dev/sdc I get: [4294785.192000] ata3: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 [4294785.192000] ata3: status=0x51 { DriveReady SeekComplete Error } [4294785.192000] ata3: error=0x04 { DriveStatusError } [4294785.192000] ata3: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 [4294785.192000] ata3: status=0x51 { DriveReady SeekComplete Error } [4294785.192000] ata3: error=0x04 { DriveStatusError } [4294785.192000] ata3: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 [4294785.192000] ata3: status=0x51 { DriveReady SeekComplete Error } [4294785.192000] ata3: error=0x04 { DriveStatusError } [4294785.192000] ata3: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 [4294785.192000] ata3: status=0x51 { DriveReady SeekComplete Error } [4294785.192000] ata3: error=0x04 { DriveStatusError } [4294785.192000] ata3: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00 [4294785.192000] ata3: status=0x51 { DriveReady SeekComplete Error } [4294785.192000] ata3: error=0x04 { DriveStatusError } Did you mean you wanted us to test it like we normally do, ie, copy files/md5sum them on the disk and see if we can make it occur again, or? Justin. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/