[ltp] Noflushd and laptop-mode.sh with kernel 2.6
Tino Keitel
linux-thinkpad@linux-thinkpad.org
Mon, 10 Jan 2005 16:53:24 +0100
Hi folks,
once I used laptop-mode.sh and noflushd to get my HD to spin down even
with ext3. However, with kernel 2.6 (2.6.10 at the moment), this
doesn't work anymore. IIRC noflushd gives regular status output if
called with -v -d arguments. If I run it this way with kernel 2.6, it
only prints this:
noflushd -v -d -n 1 /dev/hda
Kernel talks oldstyle dev
Detected devfs at /dev/
Kernel talks oldstyle dev
Added entry for /dev/hda (3, 0)
Added disk /dev/hda, current timeout 60, state 2
Controlling pdflush daemon
Kernel talks linux 2.5-style stat
...and nothing else even after a long time.
Could someone with a 2.4 kernel please check what the output of a
recent noflushd looks like if it's called with -v -d? I use version
2.7.4 in Debian Sid. Or could it be that noflushd doesn't like my
partition setup (one big dm-crypt device with a lvm2 inside which
contains the linux partitions)?
Regards,
Tino