Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Hard drive won't go into standby

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
drakonite
l33t
l33t
User avatar
Posts: 768
Joined: Sat Nov 02, 2002 7:24 am
Location: Lincoln, NE
Contact:
Contact drakonite
Website

Hard drive won't go into standby

  • Quote

Post by drakonite » Wed Feb 18, 2004 3:01 am

No matter what I tried, I couldn't get my hard drive to drop into standby when idle... Even if I manually use hdparm put the hard drive into standby, it will immediately spin it right back up.

I recently got a new hard drive and there is the same problem, so I know it's not a problem with the drive...

Anyone have any ideas how I could get it to go into standby on idle like it should?
Shoot Pixels Not People

My GPG/PGP Public key
Top
massimo
Veteran
Veteran
User avatar
Posts: 1226
Joined: Sun Jun 22, 2003 5:56 pm

  • Quote

Post by massimo » Fri Feb 20, 2004 7:59 pm

The only reason for this I can think of would be that the hard disk contains swap and/or parts of your Gentoo system or even / as such (I've never tried this, maybe won't even work on root) or you're accessing the drive in some other way when triying to drop your drive into standby (eg. downloading, etc.).
Hello 911? How are you?
Top
kingmoffa
n00b
n00b
Posts: 22
Joined: Mon Dec 08, 2003 11:21 am
Location: Lowestoft , England.

  • Quote

Post by kingmoffa » Wed Mar 03, 2004 3:35 pm

i've been looking into this too ,

I could not get my hdd to spin down without coming straight up again.

A quick solution has been to make a ramdisk and mount proc in it.

Make sure your in the ramdisk dir when issueing the hdparm -y command too.

SkinZ
Top
RemcoNL
Apprentice
Apprentice
Posts: 178
Joined: Sun Nov 30, 2003 9:22 am
Location: Leiden, The Netherlands
Contact:
Contact RemcoNL
Website

  • Quote

Post by RemcoNL » Wed Mar 03, 2004 5:38 pm

Another reason for spinning-up again is /var/log/* , and in particular "messages"! Your system writes there all the time...
Use Compact Flash cards as a silent IDE hard drive
Top
sigSEGV2003
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Tue Mar 11, 2003 7:58 am
Location: Kansas

  • Quote

Post by sigSEGV2003 » Thu Mar 04, 2004 2:55 am

Make sure you're not running smartd. Seems to not allow my drive to spindown.
Top
b52_
n00b
n00b
Posts: 51
Joined: Fri Nov 14, 2003 1:05 pm
Location: Germany

Spindown problem and postfix

  • Quote

Post by b52_ » Wed Apr 07, 2004 12:51 am

Hi,

kingmoffa, its also possible to tune your syslogdaemon. I configured my syslog-ng to sync every 100 lines. Ok they are lost on a crash, but no risk no fun 8)

My problem is
if i spindown my hard drive without running postfix on it everything is nice, but when postfix is running it suspends only for seconds. 8O
I checked it several times, its definitive up to postfix.
Hmm..does anybody know the reason??
I already exportet my /tmp onto a tpmfs, so its on ram.
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Wed Apr 07, 2004 1:41 am

postfix scans it's mailqeue (by default) every 10 seconds. Might have something to do with that...
Top
flybynite
l33t
l33t
Posts: 621
Joined: Fri Dec 06, 2002 7:38 am

  • Quote

Post by flybynite » Wed Apr 07, 2004 6:01 am

You didn't say what filesystem your using. Last FAQ I saw said Ext3 and Reiserfs touch the disk every 5 seconds. Reiserfs bypasses kupdated which means even noflushd can't stop it from hitting the disk.

If your using ext2, check out noflushd, It's in portage!
http://noflushd.sourceforge.net/

More info at:
http://www-2.cs.cmu.edu/~mukesh/hacks/spindown/t1.html
Top
rcast
n00b
n00b
Posts: 39
Joined: Tue Apr 22, 2003 8:58 pm

  • Quote

Post by rcast » Wed Apr 07, 2004 8:36 am

I had a similar problem with my laptop harddisk not spinning down.
Eventually i turned to the laptopmode patch, this stops linux from writing to the harddisk until something is read or 10 minutes have passed. (if system crashes before 10mins=data gone)
But even after switching to laptop mode till had problems, this i found out was due to reiserfs bypassing kupdate, switching to ext3 solved that problem.
I also had to tune my syslog to prevent writing to the log files every time it received an event. I also changed it to log the less critical stuff to console 12.

I can now easily use laptop for 10 mins without it writing to the disk...

Rene

p.s. I know there are patches for laptop mode but i have only been using the -mm kernes which seem to have it included.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic