Sorry to say that I hadn't been following this thread as I have been a bit busy.
On Tue, 16 Dec 2008, Ettore Aldrovandi wrote: > On Fri, Dec 12, 2008 at 05:44:47AM -0800, J?rgen Keil wrote: > > > > suspend button in the gnone-panel, or by running uadmin 3 20 or even > > > uadmin 3 22 (!) the system tries to suspend but then hangs there > > > > Try to reboot into single user mode using kernel boot > > option "-s" and try a suspend using this script: > > > > % cat /usr/tmp/suspend > > #!/bin/sh > > > > wake_time=0 > > if [ x"$1" = x-t ]; then > > wake_time=5 > > fi > > > > pmconfig > > modload -p misc/cpr > > ( > > echo "pm_debug/W80000000; ppm_debug/W80000000;" > > echo "cpr_debug/W3;" > > echo "vgatext_force_suspend/W1;" FWIW, the above line is only useful if you are a developer and don't mind the framebuffer not working across a suspend and resume (because, for example, you are using a serial console and are working on getting another driver to work). What this effectively does is cause the vgatext driver to suspend even though it cannot resume. So defintely remove this line from any of your usage. > > echo "acpi_rtc_wake/W$wake_time;" > > ) | mdb -wk > > > > sync;sync;sync > > set -x > > uadmin 3 20 > > > What output does it produce? Does it supend? > > Here's the output: > > Saving system state. Please wait... > > suspending drivers... suspending device mouse at 3 > suspending device keyboard at 4 > suspending device hub at 1 > suspending device pci108e,534d at 2 > suspending device pci108e,534d at 2,1 > suspending device ide at 0 > suspending device pci-ide at 4 > suspending device disk at 0,0 > suspending device disk at 1,0 > suspending device pci108e,534d at 5 > suspending device pci108e,534d at 5,1 > suspending device pci108e,534d at 6 > suspending device pci10de,370 at 6 > suspending device pci108e,534d at 6,1 > device pci108e,534d at 8 ica_ddi_setwake: could not evaluate _PRWg dev > suspending device display at 0 The above is more of a concern, and is probably why you are having problems. What is the framebuffer you are using? Can you provide a 'prtconf -D' or scanpci? ---- Randy