public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Miquel van Smoorenburg <miquels@cistron.nl>
To: vda <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Sync and reboot (was: Re: system.map)
Date: Thu, 3 Jan 2002 11:59:13 +0100	[thread overview]
Message-ID: <20020103115913.A23530@cistron.nl> (raw)
In-Reply-To: <20020102191157.49760.qmail@web21204.mail.yahoo.com> <200201022039.g02KdPSr022018@svr3.applink.net> <a1194d$5r6$3@ncc1701.cistron.net> <02010312301401.01898@manta>
In-Reply-To: <02010312301401.01898@manta>; from vda@port.imtp.ilyichevsk.odessa.ua on Thu, Jan 03, 2002 at 12:30:14PM -0200

According to vda:
> However, then my shutdown script waits 5 secs before hard rebooting the box: 
> there is no way to be sure that IDE drives flushed their cache, except for 
> large pause.

There is, and sysvinit-2.83 implements it ;)

> (There may be some IDE command to do it, but who said each and every drive 
> will implement it? (and will do it correctly, i.e. would not lie to us that 
> cache is written back) :-)

There's supposed to be an IDE command but it depends on task files and
what not according to Andre Hedrick.

However there is another way. Putting the drive in standby mode also
flushes the write cache, and reboot/halt from sysvinit 2.83 and up
look for all IDE drives and put them in standby mode just before calling
the kernel's hard reboot/halt.

Ofcourse the kernel should do that itself, the IDE driver should
register a reboot handler that does this - but it doesn't, so I
put it in sysvinit for now.

Mike.

  parent reply	other threads:[~2002-01-03 10:59 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02 19:11 system.map adrian kok
2002-01-02 19:26 ` system.map Timothy Covell
2002-01-02 19:39   ` system.map Tony Hoyle
2002-01-02 20:03     ` system.map Timothy Covell
2002-01-02 20:19       ` system.map Kilobug
2002-01-02 20:35         ` system.map Timothy Covell
2002-01-02 21:14           ` system.map Eric S. Johnson
2002-01-03  9:43           ` system.map Miquel van Smoorenburg
     [not found]             ` <02010312301401.01898@manta>
2002-01-03 10:59               ` Miquel van Smoorenburg [this message]
2002-01-03 11:17                 ` Sync and reboot (was: Re: system.map) Andre Hedrick
2002-01-02 20:25       ` system.map Tony Hoyle
2002-01-02 20:45         ` system.map Timothy Covell
2002-01-02 21:10           ` system.map Alan Cox
2002-01-02 23:07       ` system.map Nicholas Harring
2002-01-03  2:14     ` system.map Daniel Phillips
2002-01-03 15:54       ` system.map Albert D. Cahalan
2002-01-02 19:47   ` How can one get System.map w/o vmlinux? Timothy Covell
2002-01-02 20:34     ` David Golden
2002-01-02 22:00     ` Christian Koenig
2002-01-02 19:51   ` system.map Horst von Brand
2002-01-02 20:54   ` system.map Keith Owens
2002-01-02 21:13     ` system.map Timothy Covell
2002-01-02 23:01       ` system.map skidley
2002-01-02 23:14         ` system.map Timothy Covell
2002-01-02 21:17     ` system.map Albert D. Cahalan
2002-01-02 21:31       ` system.map Keith Owens
2002-01-02 22:09         ` system.map Nicholas Knight
2002-03-09  0:21           ` system.map H. Peter Anvin
2002-01-02 22:23         ` system.map Albert D. Cahalan
2002-01-02 23:38           ` system.map Marcel J.E. Mol
2002-01-02 19:30 ` system.map Sebastian Roth
2002-01-02 21:25   ` system.map Lionel Bouton
2002-01-02 22:15     ` system.map David Golden
2002-01-02 22:21       ` system.map Nick LeRoy
2002-01-02 22:29       ` system.map Lionel Bouton

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=20020103115913.A23530@cistron.nl \
    --to=miquels@cistron.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox