Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 11:11:31 -0300
From:      "Nenhum_de_Nos" <matheus@eternamente.info>
To:        freebsd-current@freebsd.org
Subject:   Re: ataidle + notebook hdd + 9.0-BETA2
Message-ID:  <6c8b401a729f228bd6a06e5e4cb2abc1.squirrel@eternamente.info>
In-Reply-To: <4E705395.7010106@cran.org.uk>
References:  <9d0932ce5781f670052d22d81434b11d.squirrel@eternamente.info> <4E705395.7010106@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c8b401a729f228bd6a06e5e4cb2abc1.squirrel>