From owner-freebsd-current@FreeBSD.ORG Sat Sep 17 14:31:12 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 9AD95106566B for ; Sat, 17 Sep 2011 14:31:12 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id 266108FC1C for ; Sat, 17 Sep 2011 14:31:11 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEIAO6mdE5bscf3/2dsb2JhbAA3CpknjD2BfHiBUwEBBVYjEAsYLjkeECSHXrUIg1GDJwSHP505 Received: from 247.199-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.199.247]) by relay.skynet.be with ESMTP; 17 Sep 2011 16:02:20 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.5/8.14.5) with ESMTP id p8HE2JRh030347; Sat, 17 Sep 2011 16:02:19 +0200 (CEST) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-current@freebsd.org Date: Sat, 17 Sep 2011 16:02:03 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-BETA1; KDE/4.6.5; i386; ; ) References: <9d0932ce5781f670052d22d81434b11d.squirrel@eternamente.info> In-Reply-To: <9d0932ce5781f670052d22d81434b11d.squirrel@eternamente.info> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1574732.i71ZGT2MrP"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201109171602.17184.tijl@coosemans.org> Cc: Nenhum_de_Nos 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: Sat, 17 Sep 2011 14:31:12 -0000 --nextPart1574732.i71ZGT2MrP Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Wednesday 14 September 2011 05:59:05 Nenhum_de_Nos wrote: > I just installed BETA2 on WD notebook disk: >=20 > 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 >=20 > and tried as usual to make the disk last a little longer: >=20 > rush# ataidle -P 243 /dev/ad4 > ataidle: error: identify device /dev/ad4 >=20 > 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 >=20 > 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 =463 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 --nextPart1574732.i71ZGT2MrP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EABEIAAYFAk50qGkACgkQfoCS2CCgtiv8XwD5AduqkR3n/bsv4LXiFT3yEgAA pkEVjBAheWOGie26bF0A/0h8c1wzp4+wwTnjfplCoZhXuPQtwtd9pkUrVvS4PWsv =evCX -----END PGP SIGNATURE----- --nextPart1574732.i71ZGT2MrP--