All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Dave Jones <davej@redhat.com>
Cc: Tejun Heo <htejun@gmail.com>, Francesco Pretto <ceztko@gmail.com>,
	Phillip Susi <psusi@cfl.rr.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Weird hard disk noise on shutdown (bug #7674)
Date: Wed, 16 May 2007 01:29:15 -0400	[thread overview]
Message-ID: <200705160129.16048.rob@landley.net> (raw)
In-Reply-To: <20070515210804.GG25902@redhat.com>

On Tuesday 15 May 2007 5:08 pm, Dave Jones wrote:
> On Mon, May 14, 2007 at 07:32:43PM +0200, Tejun Heo wrote:
>  > Francesco Pretto wrote:
>  > > 2007/5/4, Tejun Heo <htejun@gmail.com>:
>  > >> Yeap, the third iteration of the patch just got submitted.
>  > >>
>  > >>   http://thread.gmane.org/gmane.linux.ide/18485
>  > >>
>  > >> Unfortunately, there doesn't seem to be an easy way out.  We'll need
>  > >> userland shutdown(8) update.
>  > >>
>  > >> -- 
>  > >> tejun
>  > >>
>  > > 
>  > > Ok, i can't understand if the patch will be included in 2.6.22 (i
>  > > didn't see it in the Andrew Morton merge plan). However, if you can
>  > > confirm the inclusion, i can send bug reports for ubuntu and gentoo. I
>  > > can even send an email to Miquel van Smoorenburg, who should be the
>  > > mainstream sysvinit developer (and probably the last maintainer).
>  > 
>  > Okay, the patch made upstream and webpage posted.
>  > 
>  >  http://linux-ata.org/shutdown.html
> 
> There's a typo..
> 
> "Check whether /sys/modules/libata/parameters/spindown_compat  exists. If it 
does, write 0 to it."
> 
> should be /sys/module/libata/parameters/spindown_compat
> 
> (no 's' after module)

Um, hang on.  So libata can't reliably turn the system off without data loss 
and potential damage to hardware unless userspace goes through a special song 
and dance?  And this is _not_ considered a defect in the kernel?

Why?

(Is there any other piece of hardware that needs userspace to quiesce it just 
so the _off_switch_ can take effect?  Yes, I read both the gmane thread and 
the linux-ata.org link.  I used to maintain the busybox halt/reboot/poweroff 
commands, although I don't anymore.  That just called reboot(), and this 
worked.)

Why on _earth_ does complicating software suspend add extra requirements to 
actual shutdown?  Since when does the shutdown command have to enumerate 
attached block devices?  If anything this would belong in umount -a, but that 
doesn't care about the hardware of the underlying block devices and 
SHOULDN'T...

I'm confused.  Could someone please explain?

Rob

  reply	other threads:[~2007-05-16  5:29 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.Ia7dfo7Zd5kB6KhSYisfswa1aj4@ifi.uio.no>
     [not found] ` <fa.YHt2nIlQmoW5r2enmTSzsaySwH4@ifi.uio.no>
2007-02-22  2:43   ` Weird hard disk noise on shutdown (bug #7674) Robert Hancock
2007-02-23 20:35     ` Francesco Pretto
     [not found]       ` <e5ab0f710703020009u2b94fb72ja51e85b8b90eaba0@mail.gmail.com>
2007-03-02 23:43         ` Dan Gilliam
2007-05-04 19:12       ` Phillip Susi
2007-05-04 20:39         ` Tejun Heo
2007-05-06 18:19           ` Francesco Pretto
2007-05-06 18:24             ` Tejun Heo
2007-05-14 17:32             ` Tejun Heo
2007-05-14 20:46               ` Francesco Pretto
2007-05-15  6:59                 ` Tejun Heo
2007-05-15 13:16                 ` Henrique de Moraes Holschuh
2007-05-15 13:47                   ` Tejun Heo
2007-05-15 21:08               ` Dave Jones
2007-05-16  5:29                 ` Rob Landley [this message]
2007-05-16  9:15                   ` Francesco Pretto
2007-05-16 11:38                     ` Tejun Heo
2007-05-16 23:47                     ` Rob Landley
2007-05-17  9:12                       ` Tejun Heo
2007-05-16 11:41                   ` Tejun Heo
2007-05-16 23:48                     ` Rob Landley
2007-05-17  0:58                       ` Henrique de Moraes Holschuh
2007-05-17  3:05                         ` Rob Landley
2007-05-17  3:39                           ` Henrique de Moraes Holschuh
2007-05-17 15:04                             ` Lennart Sorensen
2007-05-18  7:16                               ` Rob Landley
2007-05-18 12:35                                 ` Alan Cox
2007-05-18 18:27                                 ` Lennart Sorensen
2007-05-17  9:14                       ` Tejun Heo
2007-05-16 12:47                   ` Stephen Clark
2007-05-16 13:49                     ` Francesco Pretto
2007-05-16 23:52                       ` Rob Landley
2007-05-16 11:38                 ` Tejun Heo
     [not found]   ` <fa.7/l6y5w9DWACpMl9PLWnCeZVtaY@ifi.uio.no>
     [not found]     ` <fa.jM0Jz2vqE6sFKJ24x7Krs9Md4+Y@ifi.uio.no>
     [not found]       ` <fa.htPXmkKzsdLgiNC0YHDJwdgDLHg@ifi.uio.no>
2007-02-23  0:25         ` Robert Hancock
     [not found] <fa.3exEXR8lVInBQnVOUQZm+V7aqZE@ifi.uio.no>
     [not found] ` <fa.SUiPva6BdeZMJsAbFE/HC5i0jfs@ifi.uio.no>
     [not found]   ` <fa.YdL5PeKPp7ARbGWGIgctXVh/iLQ@ifi.uio.no>
     [not found]     ` <fa.xsAgWkCiu+x5MGhvd/b5EHrU+ic@ifi.uio.no>
     [not found]       ` <fa.FUWb3SroQ9sotSIAakSnOjAJ6Ks@ifi.uio.no>
2007-02-22 14:34         ` Robert Hancock
     [not found] <fa.Fk9DulKIUBewV0V2B72MDzbelmU@ifi.uio.no>
     [not found] ` <fa.RCbhxyLCSR5f65HWabMGmxZNYQ4@ifi.uio.no>
     [not found]   ` <fa.G4k+9fbJDE0N5pygu22mRYU6gfE@ifi.uio.no>
2007-02-22  6:27     ` Robert Hancock
2007-02-22  7:11       ` Tejun Heo
2007-02-22 11:33       ` Francesco Pretto
2007-02-21 22:15 Francesco Pretto
2007-02-21 23:55 ` Alan
2007-02-22  1:01   ` Francesco Pretto
2007-02-22 13:53     ` Alan
2007-02-22 15:22       ` Rolf Offermanns
2007-02-22 22:47       ` Francesco Pretto

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=200705160129.16048.rob@landley.net \
    --to=rob@landley.net \
    --cc=ceztko@gmail.com \
    --cc=davej@redhat.com \
    --cc=htejun@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    /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.