lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 20 Apr 2007 08:15:15 -0400
From:	Stephen Clark <Stephen.Clark@...lark.us>
To:	Chuck Ebbert <cebbert@...hat.com>
CC:	Mark Lord <liml@....ca>, Tejun Heo <htejun@...il.com>,
	Alan Cox <alan@...rguk.ukuu.org.uk>, 7eggert@....de,
	emisca <emisca.ml@...il.com>,
	Jan Engelhardt <jengelh@...ux01.gwdg.de>,
	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-ide@...r.kernel.org, Adrian Bunk <bunk@...sta.de>,
	Andrew Morton <akpm@...l.org>
Subject: Re: Loud "pop" coming from hard drive on reboot

Chuck Ebbert wrote:

>Stephen Clark wrote:
>  
>
>>Mark Lord wrote:
>>
>>    
>>
>>>Mark Lord wrote:
>>> 
>>>
>>>      
>>>
>>>>With the patch applied, I don't see *any* new activity in those
>>>>S.M.A.R.T.
>>>>attributes over multiple hibernates (Linux "suspend-to-disk").
>>>>  
>>>>        
>>>>
>>>Scratch that -- operator failure.  ;)
>>>The patch makes no difference over hibernates in the SMART logs.
>>>
>>>It's still logging extra Power-Off_Retract_Count pegs,
>>>which it DID NOT USED TO DO not so long ago.
>>>
>>>Now I'll poke at the shutdown again.
>>>
>>>Meanwhile, Stephen:  Could you try without this line in the patched file:
>>>
>>>       case ATA_16:
>>>+               dev->needs_sync_cache = 1;
>>>
>>>Ie. comment out that last "dev->needs_sync_cache" line.
>>>
>>>
>>>      
>>>
>>No joy - even with that line commented out I get a click and my
>>Power-Off_Retract_Count has incremented.
>>
>>    
>>
>
>I found a solution of sorts on Fedora 6:
>
>
>Edit /etc/rc0.d/S01halt, changing the third-from-last line so it reads:
>
>HALTARGS="-d -h -n"
>
>Then use the halt(8) command to shut down and turn off the power manually.
>No click and the "retract" counter does not increment. (Even this procedure
>incremented the counter until I changed the script.)
>
>Seems safe, using the IDE drivers, since they sync the cache anyway.
>
>
>  
>
Hi Chuck,

I got a chance to try this and it works for me also. No pop and my 
retract counter does not increment.

Steve

-- 

"They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty 
decreases."  (Thomas Jefferson)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ