2.6.0-test-mm3 suspend to ram test.
Hello all:
Kernel 2.6.0-test-mm3 has worked well with suspend to disk, I try to setup suspend to ram, From the log I see it can suspend and resume.
The problem that is I can not see anything after resume.
I has writen a script to do it, The attached file is the script and logs.
thanks.
Signature · 6 lines
Hu Gang / Steve Email : [email protected], [email protected] GPG FinePrint : 4099 3F1D AE01 1817 68F7 D499 A6C2 C418 86C8 610E GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc MSN# : [email protected] [9:00AM - 5:30PM +8:00] RLU# : 204016 [1999] (Register Linux User)
#!/bin/sh
mount -o remount,rw /
mount -t proc none /proc/etc/init.d/vmware stop/etc/init.d/network stop
for i in lsmod | awk '{print $1}'
do
rmmod $i
done
echo -n 3 > /proc/acpi/sleep
sleep 2
dmesg > dmesg.log
sync
lspci -xxxxx -G -x -vv > lspci-pci.log 2>&1
lspci -xxxxx -G -x -H1 -vv > lspci-h1.log 2>&1
lspci -xxxxx -G -x -H2 -vv > lspci-h2.log 2>&1
sleep 2
xinit -- :2 > xinit-2.log 2>&1
sleep 10
mount -o remount,ro /
reboot -fn