From: Christian F. <Chr...@t-...> - 2010-01-23 20:00:04
|
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 |