Re: Disk spin down issue on shut down/suspend to disk
From: Rafael J. Wysocki
Date: Mon Aug 06 2007 - 15:16:25 EST
On Monday, 6 August 2007 20:21, Michael Sedkowski wrote:
> Dnia 07-08-2007, Wt o godzinie 02:03 +0900, Tejun Heo napisaÅ(a):
> > Rafael J. Wysocki wrote:
> > >>> Sidux is a Debian Unstable based distro with it's own set of patches
> > >>> including the shut down patch provided here:
> > >>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224
> > >> You'll probably have to ask Sidux what changes they made that could cause
> > >> the double spin down, even if halt(8) is never passed the -h flag.
> > >
> > > Well, I've been observing the same behavior on nx6325 for some time and I
> > > use openSUSE 10.2. I think this is kernel-related.
> >
> > Hmmm... If the problem only shows up on nx6325, it might be that ACPI is
> > pulling unnecessary stunt. Please apply the attached patch and report
> > when the disk spins down and up.
> >
> > Thanks.
> >
>
> Disk spins down on "Pre-shutdown prepare" and then goes up and down on
> "Power down".
Same thing on my box.
In kernel_shutdown_prepare(SYSTEM_POWER_OFF) we call device_shutdown(), so it
looks like the drive is powered off by one driver's .shutdown() routine.
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/