Re: ataidle + notebook hdd + 9.0-BETA2
--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: <WDC WD5000BPVT-00HXZT1 01.01A01> 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--
討論串 (同標題文章)
完整討論串 (本文為第 6 之 7 篇):