All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Renato S. Yamane" <renatoyamane@mandic.com.br>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-ide@vger.kernel.org, miquels@cistron.nl
Subject: Re: Warnings on shutdown (Debian Etch and Kernel 2.6.22.9)
Date: Tue, 23 Oct 2007 08:04:24 -0200	[thread overview]
Message-ID: <471DC728.60705@mandic.com.br> (raw)
In-Reply-To: <471DAA1C.4070608@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

Tejun Heo wrote:
> Renato S. Yamane wrote:
>> So, my questions is:
>> - This is dangerous? Can damage something?
> 
> If your drive sounds funny on shutdown, it could.  Your drive is
> supposed to sound the same way it sounds when you execute "hdparm -y
> /dev/sdX".

No strange sounds :-)

>> - How can I help to fix this warning?
> 
> I believe there's already update out but you can edit some configuration
> file (can't remember which ATM) such that "-h" option is not passed to
> halt.

Fixed. Patch is attached. Thanks!

[-- Attachment #2: halt_debian_etch.patch --]
[-- Type: text/x-diff, Size: 280 bytes --]

--- /etc/init.d/halt	2007-10-23 07:51:40.000000000 -0200
+++ /etc/init.d/halt_b	2007-10-23 07:50:52.000000000 -0200
@@ -44,7 +44,7 @@ do_stop () {
 	hddown=""
 	if grep -qs '^md.*active' /proc/mdstat
 	then
-		hddown="-h"
+		hddown=""
 	fi
 
 	# If INIT_HALT=HALT don't poweroff.

  reply	other threads:[~2007-10-23 10:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08  2:55 Warnings on shutdown (Debian Etch and Kernel 2.6.22.9) Renato S. Yamane
2007-10-23  8:00 ` Tejun Heo
2007-10-23 10:04   ` Renato S. Yamane [this message]
2007-10-23 10:12     ` Tejun Heo
2007-10-23 10:18       ` Renato S. Yamane
2007-10-23 10:21         ` Tejun Heo
2007-10-23 10:52           ` Renato S. Yamane
2007-10-23 12:26             ` Tejun Heo
2007-10-23 23:47               ` Jim Paris
2007-10-24 13:31                 ` Renato S. Yamane
2007-10-24 13:39                   ` Tejun Heo
2007-10-25 11:43                     ` Renato S. Yamane
2007-10-25 19:45                       ` Jim Paris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=471DC728.60705@mandic.com.br \
    --to=renatoyamane@mandic.com.br \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=miquels@cistron.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.