[ltp] Suspend-to-RAM and kswapd0

Laurent Gilson linux-thinkpad@linux-thinkpad.org
Mon, 08 May 2006 22:54:57 +0200


Hello,

Sometimes my R51 cannot enter suspend-to-RAM because of kswapd0:

Stopping tasks: =======================================
  stopping tasks failed (1 tasks remaining)
Restarting tasks...<6> Strange, kswapd0 not stopped
  done

It's a 2.6.11 kernel with additional stuff compiled in (squashfs). The  
scary bit: i do not have a swap partition. My suspendscript is:

#!/bin/sh
sync
FGCONSOLE=`fgconsole`
chvt 1
radeontool light off
echo -n 3 >/proc/acpi/sleep
radeontool light on
chvt $FGCONSOLE

which causes a bit power-drain during suspend-to-RAM, but not enough to  
really bother me. Rerunning the script a second time suspends correctly.

Any ideas where to look for additional information about kswapd0 ?

Thanks.