Christian Franke | 23 Jan 20:59 2010
Picon

Re: Smartd/smartctl spin up drive (-n directive versions 5.38 and 5.39)

Christian Franke wrote:
> Douglas Gilbert wrote:
>> Christian Franke wrote:
>>>
>>> Both hdparm and smartctl only issue one command to the drive. There 
>>> is a small difference in the SAT ATA PASS-THROUGH(16) command issued:
>>>
>>> hdparm:   85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
>>> smartctl: 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
>>>
>>> cdb[2] hdparm:   CK_COND=1, T_DIR=0, BYTE_BLOCK=0, T_LENGTH=0
>>> cdb[2] smartctl: CK_COND=1, T_DIR=1, BYTE_BLOCK=1, T_LENGTH=0
>>>
>
>> So we should try clearing T_DIR and BYTE_BLOCK in that situation
>> to see if it stops the nuisance wake up.
>>
>
> Yes.
>
> Antonio: Could you please test attached patch. It should also apply to 
> 5.39 tarball.
>

Any chance to get the patch tested soon ?

If it works, we could include it in 5.39.1 bugfix-only release.

http://sourceforge.net/apps/trac/smartmontools/ticket/37

Cheers,
Christian

Attachment (scsiata-t_dir.patch): text/x-diff, 491 bytes
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

Gmane