From owner-freebsd-current@FreeBSD.ORG Fri Sep 16 14:11:40 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 2AA3D1065676 for ; Fri, 16 Sep 2011 14:11:40 +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 02D458FC20 for ; Fri, 16 Sep 2011 14:11:39 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id 3B8861CC68; Fri, 16 Sep 2011 11:11:31 -0300 (BRT) Received: from 189.93.214.206 (SquirrelMail authenticated user matheus) by eternamente.info with HTTP; Fri, 16 Sep 2011 11:11:31 -0300 Message-ID: <6c8b401a729f228bd6a06e5e4cb2abc1.squirrel@eternamente.info> In-Reply-To: <4E705395.7010106@cran.org.uk> References: <9d0932ce5781f670052d22d81434b11d.squirrel@eternamente.info> <4E705395.7010106@cran.org.uk> Date: Fri, 16 Sep 2011 11:11:31 -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, 16 Sep 2011 14:11:40 -0000 On Wed, September 14, 2011 04:11, Bruce Cran wrote: > On 14/09/2011 04:59, Nenhum_de_Nos wrote: >> 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 > > Can you post the output of "ataidle /dev/ada0" to see what features the > disk supports? On Wed, September 14, 2011 04:11, Bruce Cran wrote: > On 14/09/2011 04:59, Nenhum_de_Nos wrote: >> 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 > > Can you post the output of "ataidle /dev/ada0" to see what features the > disk supports? > > -- > Bruce Cran sorry for the delay, there it goes: macgyver# ataidle /dev/ada0 Model: WDC WD1600BEVS-60RST0 Serial: WD-WXC807304918 Firmware Rev: 04.01G04 ATA revision: ATA-7 LBA 48: yes Geometry: 16383 cyls, 16 heads, 63 spt Capacity: 149GB SMART Supported: yes SMART Enabled: yes Write Cache Supported: yes Write Cache Enabled: yes APM Supported: yes APM Enabled: yes APM Value: 128 AAM Supported: no Pieter, thanks: macgyver# camcontrol idle /dev/ada0 -t 0 macgyver# camcontrol standby /dev/ada0 -t 0 the only way to be sure its ok is to use smarttools ? mav, I think I don't know how to patch: macgyver# patch < /root/ataidle.c.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ataidle.c.prev 2010-11-04 16:17:28.000000000 +0200 |+++ ataidle.c 2011-09-09 19:30:14.000000000 +0300 -------------------------- Patching file ataidle.c using Plan A... patch: **** malformed patch at line 11: sizeof(struct ccb_hdr)); thanks for all, 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 -- 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