On Tuesday, 1 May 2007 14:13, Tomas Pospisek's Mailing Lists wrote: > On Tue, 1 May 2007, Rafael J. Wysocki wrote: > > > On Tuesday, 1 May 2007 10:13, Tomas Pospisek's Mailing Lists wrote: > >> On the machine here: > >> > >> $ s2ram -i > >> sys_vendor = "Fujitsu Siemens" > >> sys_product = "P6VAP-AP" > >> sys_version = " " > >> bios_version = "6.00 PG" > >> > >> s2ram works just fine whether run from X or from the console. > >> s2disk works also, *but only as long as X is not started*. > > > > Can you please check if you are able to reproduce the symptoms with the > > built-in swsusp, ie.: > > > > # echo 8 > /proc/sys/kernel/printk > > # echo disk > /sys/power/state > > This method doesn't work at all. What I can see is that the following > line is displayed: > > swsusp: Cannot find swapdevice, try swapon -a > > "swapon -a" works just fine. "swapon -s" shows me that the swap partition > is in use. > > The effect of the suggested commands is that the command just returns > back to the console with the following message: > > # echo 8 > /proc/sys/kernel/printk > # echo disk > /sys/power/state > bash: echo: write error: No such device > #
For this to work you need to append resume=<path_to_your_resume_device> to the kernel's command line and reboot (<path_to_your_resume_device> is the same as in the s2disk's configuration file). Greetings, Rafael ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel