You are not logged in.

#1 2004-06-10 20:01:59

shaurz
Member
Registered: 2004-02-02
Posts: 358

Hard disk spins down on reboot

I have a strange problem with 2.6.6 that I haven't had before. When I reboot, the disk spins down. This is annoying because the BIOS takes a few extra seconds to spin the disk back up again. This happen on two different computers, both with VIA chipsets.

I am running a personally configured kernel from kernel.org so I wish to know if there is an compile option I can select to stop this, or if there are any known issues with the VIA chipset driver.

Offline

#2 2004-06-10 20:41:41

mcubednyc
Member
From: New York, NY USA
Registered: 2004-03-17
Posts: 120

Re: Hard disk spins down on reboot

It's not (just) a VIA issue, it happens here too as of 2.6.6, and I agree, it's annoying.  If there is a way to prevent this from happening, I'd love to know how.


"No live organism can continue for long to exist sanely under conditions of absolute reality; even larks and katydids are supposed, by some, to dream." - S. Jackson

Offline

#3 2004-06-10 20:48:04

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Hard disk spins down on reboot

It will be fixed in the newer kernels, try 2.6.7. It's because 2.6.6 flushes the disks better so that all data is really written to disk before powering off. The side effect was that it also happened on reboot, but that should be fixed now.

Offline

#4 2004-06-10 23:12:51

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Hard disk spins down on reboot

Hmm, I'll wait until the non-RC 2.6.7 is out.

Offline

#5 2004-06-10 23:23:19

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: Hard disk spins down on reboot

Ahh yes, confirmation in: http://www.kernel.org/pub/linux/kernel/ … -2.6.7-rc1

<akpm@osdl.org>
    [PATCH] ide-disk.c: don't put disks in STANDBY mode on reboot
   
    From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
   
    From: Rene Herman <rene.herman@keyaccess.nl>
   
    Prevent the disks from spinning down across a reboot.

And:

<akpm@osdl.org>
    [PATCH] system_state splitup
   
    Split the system_state state `SYSTEM_SHUTDOWN' into SYSTEM_HALT,
    SYSTEM_POWER_OFF and SYSTEM_RESTART and export system_state to modules.
   
    This allows driver shutdown routines to know why they are being shutdown.  The
    IDE subsystem wants this so that it knows to not spin the disks down across a
    reboot.

Offline

#6 2004-06-15 21:52:49

vor_lord
Member
From: Fort Collins, Colorado, USA
Registered: 2004-06-10
Posts: 52

Re: Hard disk spins down on reboot

shaurz wrote:

Ahh yes, confirmation in: http://www.kernel.org/pub/linux/kernel/ … -2.6.7-rc1

<akpm@osdl.org>
    [PATCH] ide-disk.c: don't put disks in STANDBY mode on reboot
   
    From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
   
    From: Rene Herman <rene.herman@keyaccess.nl>
   
    Prevent the disks from spinning down across a reboot.

Could this be related to a problem I'm having with 2.6.6?  On a warm reboot my SATA drive doesn't wake back up.  It hangs after printing out the size in the BIOS.  I simply press Ctrl-Alt-Del to reboot again and it works then.

This is annoying because if I ever want to reboot my machine remotely it won't come back up.  Problem doesn't occur with 2.4 kernel, but happens with other distros than Arch.

Offline

#7 2004-06-17 03:03:11

vor_lord
Member
From: Fort Collins, Colorado, USA
Registered: 2004-06-10
Posts: 52

Re: Hard disk spins down on reboot

Kernel 2.6.7 does indeed fix this problem!  No problems rebooting now.

What will I do now that everything is working perfectly   :shock:

Incidentally, the kernel package upgrade to 2.6.7 broke samba, there was a missing shared library link for openldap:

cd /usr/lib
ln -s libldap-2.2.so.7.0.6 libldap.so.2

just in case anyone else has this problem.

Offline

Board footer

Powered by FluxBB