laptop mode in 2.4.24

From: Cristiano De Michele
Date: Fri Feb 20 2004 - 06:34:09 EST


Hi,
I had kernel 2.4.22-ac4 + laptop mode patch
and it worked perfectly.
Now I'm on a 2.4.24 kernel where the aforementioned
patch has been merged in, but it seems
that it does not work properly,
I've set bdflush as follows:

cat /proc/sys/vm/bdflush
30 500 0 0 60000 60000 60 20 0

cat /proc/sys/vm/laptop_mode
1

and using
echo "1" > cat /proc/sys/vm/block_dump

in syslog there are only such messages:

.
.
.
Feb 20 11:31:17 piro kernel: kjournald: WRITE block 46640/8 on 03:05
Feb 20 11:31:17 piro kernel: kjournald: WRITE block 46648/8 on 03:05
.
.
.

that is only journaling is writing to my HD
and anyway every minute more or less something
gets written to HD preventing it from being spinned down

thx Cristiano


--
Cristiano De Michele <demichel@xxxxxxxxxx>
Department of Physics, University of Naples "Federico II"
-
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/