2.6.0-test-mm3 suspend to ram test.

From: Hugang
Date: Thu Sep 25 2003 - 09:03:59 EST


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.

--
Hu Gang / Steve
Email : hugang@xxxxxxxxxxxx, steve@xxxxxxxxxxxx
GPG FinePrint : 4099 3F1D AE01 1817 68F7 D499 A6C2 C418 86C8 610E
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc
MSN# : huganglinux@xxxxxxxxxxx [9:00AM - 5:30PM +8:00]
RLU# : 204016 [1999] (Register Linux User)

Attachment: config.gz
Description: Binary data

Attachment: dmesg.log.gz
Description: Binary data

Attachment: lspci-h2.log.gz
Description: Binary data

Attachment: lspci-h1.log.gz
Description: Binary data

Attachment: lspci-pci.log.gz
Description: Binary data

Attachment: xinit-2.log.gz
Description: Binary data

#!/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