Re: ataidle + notebook hdd + 9.0-BETA2

From: Nenhum_de_Nos <matheus_at_eternamente.info>
Date: Fri, 16 Sep 2011 11:11:31 -0300
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
Received on Fri Sep 16 2011 - 12:11:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC