From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Ebbert Subject: Re: Loud "pop" coming from hard drive on reboot Date: Thu, 19 Apr 2007 13:50:33 -0400 Message-ID: <4627ABE9.8090906@redhat.com> References: <88SeR-5Sf-15@gated-at.bofh.it> <88Sov-662-3@gated-at.bofh.it> <88SHV-6uL-29@gated-at.bofh.it> <8agVk-3wc-81@gated-at.bofh.it> <8b3IR-4mE-25@gated-at.bofh.it> <8b3SA-4z3-5@gated-at.bofh.it> <8b42g-51N-15@gated-at.bofh.it> <8bbdm-7iS-27@gated-at.bofh.it> <46260981.1040109@gmail.com> <20070418132904.3322ba5f@the-village.bc.nu> <46261337.3010406@gmail.com> <20070418140346.636879a1@the-village.bc.nu> <46262C0E.9000103@rtr.ca> <20070418160627.7ab77c30@the-village.bc.nu> <46263650.3080705@rtr.ca> <46263859.2060309@gmail.com> <46265089.4000409@rtr.ca> <46265307.7060405@rtr.ca> <4626596E.4040304@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([66.187.233.31]:37315 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1766909AbXDSRw7 (ORCPT ); Thu, 19 Apr 2007 13:52:59 -0400 In-Reply-To: <4626596E.4040304@seclark.us> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Stephen.Clark@seclark.us Cc: Mark Lord , Tejun Heo , Alan Cox , 7eggert@gmx.de, emisca , Jan Engelhardt , Bartlomiej Zolnierkiewicz , linux-kernel , linux-ide@vger.kernel.org, Adrian Bunk , Andrew Morton 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.