Subject: Re: atactl Aborted Command
To: davide <sonataarctica@infinito.it>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-macppc
Date: 01/11/2005 19:36:17
On Mon, Jan 10, 2005 at 08:30:43PM +0000, davide wrote:
> Hi all!
> 
> I've a problem in making atactl work on my 2.0 macppc G4 machine...
> 
> This is the disk:
> 
> wd0 at atabus1 drive 0: <TOSHIBA MK6025GAS>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) 
> (using DMA data transfers)
> 
> all atactl commands give what I believe are the right results, apart from
> atactl wd0 smart {status,etc...}
> nasty# atactl wd0 smart enable
> ATA device returned Aborted Command
> nasty# atactl wd0 smart status
> SMART supported, SMART enabled
> ATA device returned Aborted Command
> 
> I googled around a bit, but i I didn't find anything interesting...
> Maybe I missed something :-), but could anyone tell me what I can do, please?

Could you hack atactl to add printf's, to find which command is aborted ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--