From owner-freebsd-current@FreeBSD.ORG Fri Sep 23 02:09:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51E55106566C for ; Fri, 23 Sep 2011 02:09:30 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE148FC14 for ; Fri, 23 Sep 2011 02:09:30 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id 158261CC68; Thu, 22 Sep 2011 23:09:22 -0300 (BRT) Received: from 186.214.131.16 (SquirrelMail authenticated user matheus) by eternamente.info with HTTP; Thu, 22 Sep 2011 23:09:22 -0300 Message-ID: <0358f925e942c18628143030983146c5.squirrel@eternamente.info> In-Reply-To: <201109171602.17184.tijl@coosemans.org> References: <9d0932ce5781f670052d22d81434b11d.squirrel@eternamente.info> <201109171602.17184.tijl@coosemans.org> Date: Thu, 22 Sep 2011 23:09:22 -0300 From: "Nenhum_de_Nos" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: ataidle + notebook hdd + 9.0-BETA2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 02:09:30 -0000 On Sat, September 17, 2011 11:02, Tijl Coosemans wrote: > On Wednesday 14 September 2011 05:59:05 Nenhum_de_Nos wrote: >> I just installed BETA2 on WD notebook disk: >> >> ada0 at ata2 bus 0 scbus1 target 0 lun 0 >> ada0: ATA-8 SATA 2.x device >> ada0: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) >> ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) >> ada0: Previously was known as ad4 >> >> and tried as usual to make the disk last a little longer: >> >> rush# ataidle -P 243 /dev/ad4 >> ataidle: error: identify device /dev/ad4 >> >> rush# ataidle -P 243 /dev/ada0 >> (pass0:ata2:0:0:0): SETFEATURES. ACB: ef 05 00 00 00 40 00 00 00 00 f3 >> 00 >> (pass0:ata2:0:0:0): CAM status: CCB request completed with an error >> Failed to configure APM: No error: 0 >> >> so, is this still needed after ada took place ? How can I do it now if >> needed ? > > Until a more elegant solution is found you can set the APM value like > this: > > camcontrol cmd ada0 -a "EF 05 00 00 00 00 00 00 00 00 F3 00" > > EF is setfeature command > 05 enables APM feature > F3 is 243 > > To disable APM you can use: > > camcontrol cmd ada0 -a "EF 85 00 00 00 00 00 00 00 00 00 00" > > You can check the value with: > > camcontrol identify ada0 thanks, problem solved :) matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style