All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Paris <jim@jtan.com>
To: "Renato S. Yamane" <renatoyamane@mandic.com.br>
Cc: Tejun Heo <htejun@gmail.com>, Jeff Garzik <jeff@garzik.org>,
	debian-devel@lists.debian.org, linux-ide@vger.kernel.org,
	miquels@cistron.nl
Subject: Re: Warnings on shutdown (Debian Etch and Kernel 2.6.22.9)
Date: Thu, 25 Oct 2007 15:45:51 -0400	[thread overview]
Message-ID: <20071025194551.GA8566@jim.sh> (raw)
In-Reply-To: <47208144.9080602@mandic.com.br>

Renato S. Yamane wrote:
> Tejun Heo wrote:
> >Renato S. Yamane wrote:
> >>Jim Paris wrote:
> >>>For Debian, I don't think there are any complete solutions yet.
> >>>The related bug is   
> >>>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224
> >>
> >>I think that we can fix this if someone can answer this:
> >>
> >>$ man halt
> >>"-h flag: This is important for IDE drives, since the kernel doesn’t 
> >>flush the write cache itself before power-off.."
> >>
> >>How can I know if kernel write cache itself? :-)
> >
> >Kernel has been flushing write cache for many many years now.  Man page 
> >needs update.  Also, flushing cache from halt is okay.  What's hurting 
> >is spinning down the drive from halt.
> 
> So, I think that halt script need know:
> 
> - How many and who is IDE drives and SCSI/SATA drives.
> - Devices with manage_start_stop as "0" or without manage_start_stop 
> need "halt -h".
> - Devices with manage_start_stop as "1" need only "halt".
> 
> This is correct?

The real changes need to be made in the shutdown utility,
as described here:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224#10

-jim

      reply	other threads:[~2007-10-25 19:46 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
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 [this message]

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=20071025194551.GA8566@jim.sh \
    --to=jim@jtan.com \
    --cc=debian-devel@lists.debian.org \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=miquels@cistron.nl \
    --cc=renatoyamane@mandic.com.br \
    /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.