lkml.org 
[lkml]   [2004]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Laptop-mode v7 for linux 2.6.1
Jan De Luyck wrote:
> Patch applied, kernel built, laptop_mode activated, but my disk just doesn't
> want to spin down...
[...]
> But the disk never spins down. Not that I can tell, hdparm -C /dev/hda always
> tells me active/idle, and the sdsl tool also reports 100% disk spinning...
>
> anything else I have to activate/check?

Two things to try:

1. Check your HD with hdparm -I /dev/hdX, and see what it says at the
"Standby timer values:" entry. Mine says:

Standby timer values: spec'd by Standard, with device specific minimum

In fact, when I set my HD to spin down in 20 seconds, it never spins
down -- it's below the minimum. Try a higher value, or use my
smart_spindown script instead (I posted this a while ago, with one of
the laptop_mode patches).

2. Stop klogd, do "echo 1 > /proc/sys/vm/block_dump" and see which
process keeps your disk spun up using dmesg.

Let me know if this helps.

-- Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.116 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site