On 5/20/07, Johannes Berg <[EMAIL PROTECTED]> wrote:
Well, the regular applies. If you have SMP then you need to enable CPU_HOTPLUG, and then you should be able to enable SOFTWARE_SUSPEND.
Ah, thank you. Except now when I attempt to suspend-to-disk the screen gets messed up with colours, the system freezes, and after a short while the fans spin up to full speed. Here's the verbose output of a dry run (I can't make sense of it): [EMAIL PROTECTED]:~$ sudo hibernate -v4 --dry-run hibernate: Trying method in suspend2.conf... hibernate: Trying method in disk.conf... hibernate: Trying method in ususpend-disk.conf... hibernate: Including configuration from common.conf hibernate: Trying method in sysfs-disk.conf... hibernate: Including configuration from common.conf + date + echo Starting suspend at Sun May 20 21:35:05 NZST 2007 + tee -a -i /var/log/hibernate.log + EXIT_CODE=0 + [ tee -a -i /var/log/hibernate.log = cat ] + [ -n ] + trap INT + exec + exec + DoWork + trap ctrlc_handler INT HUP + local ret + local CHAIN_UP_TO + local bit + CHAIN_UP_TO=0 + SortSuspendBits + /bin/echo -ne 91ModulesUnloadBlacklist\n99DoSysfsPowerStateSuspend\n10EnsureSysfsPowerStateCapable\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n91ModulesUnloadBlacklist\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\n + tee -a -i /var/log/hibernate.log + sort -n + local new_CHAIN_UP_TO + awk BEGIN{print substr("01CheckLastResume", 1, 2)} + new_CHAIN_UP_TO=01 + [ -n 01 ] + CHAIN_UP_TO=01 + bit=CheckLastResume + vecho 1 hibernate: [01] Executing CheckLastResume ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing CheckLastResume ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("01CheckRunlevel", 1, 2)} + new_CHAIN_UP_TO=01 + [ -n 01 ] + CHAIN_UP_TO=01 + bit=CheckRunlevel + vecho 1 hibernate: [01] Executing CheckRunlevel ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing CheckRunlevel ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("01LockFileGet", 1, 2)} + new_CHAIN_UP_TO=01 + [ -n 01 ] + CHAIN_UP_TO=01 + bit=LockFileGet + vecho 1 hibernate: [01] Executing LockFileGet ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing LockFileGet ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("01NewKernelFileCheck", 1, 2)} + new_CHAIN_UP_TO=01 + [ -n 01 ] + CHAIN_UP_TO=01 + bit=NewKernelFileCheck + vecho 1 hibernate: [01] Executing NewKernelFileCheck ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing NewKernelFileCheck ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("10EnsureSysfsPowerStateCapable", 1, 2)} + new_CHAIN_UP_TO=10 + [ -n 10 ] + CHAIN_UP_TO=10 + bit=EnsureSysfsPowerStateCapable + vecho 1 hibernate: [10] Executing EnsureSysfsPowerStateCapable ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [10] Executing EnsureSysfsPowerStateCapable ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("11XHacksSuspendHook1", 1, 2)} + new_CHAIN_UP_TO=11 + [ -n 11 ] + CHAIN_UP_TO=11 + bit=XHacksSuspendHook1 + vecho 1 hibernate: [11] Executing XHacksSuspendHook1 ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [11] Executing XHacksSuspendHook1 ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("59RemountXFSBootRO", 1, 2)} + new_CHAIN_UP_TO=59 + [ -n 59 ] + CHAIN_UP_TO=59 + bit=RemountXFSBootRO + vecho 1 hibernate: [59] Executing RemountXFSBootRO ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [59] Executing RemountXFSBootRO ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("89SaveKernelModprobe", 1, 2)} + new_CHAIN_UP_TO=89 + [ -n 89 ] + CHAIN_UP_TO=89 + bit=SaveKernelModprobe + vecho 1 hibernate: [89] Executing SaveKernelModprobe ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [89] Executing SaveKernelModprobe ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("91ModulesUnloadBlacklist", 1, 2)} + new_CHAIN_UP_TO=91 + [ -n 91 ] + CHAIN_UP_TO=91 + bit=ModulesUnloadBlacklist + vecho 1 hibernate: [91] Executing ModulesUnloadBlacklist ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [91] Executing ModulesUnloadBlacklist ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("91ModulesUnloadBlacklist", 1, 2)} + new_CHAIN_UP_TO=91 + [ -n 91 ] + CHAIN_UP_TO=91 + bit=ModulesUnloadBlacklist + vecho 1 hibernate: [91] Executing ModulesUnloadBlacklist ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [91] Executing ModulesUnloadBlacklist ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("95XHacksSuspendHook2", 1, 2)} + new_CHAIN_UP_TO=95 + [ -n 95 ] + CHAIN_UP_TO=95 + bit=XHacksSuspendHook2 + vecho 1 hibernate: [95] Executing XHacksSuspendHook2 ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [95] Executing XHacksSuspendHook2 ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("98CheckRunlevel", 1, 2)} + new_CHAIN_UP_TO=98 + [ -n 98 ] + CHAIN_UP_TO=98 + bit=CheckRunlevel + vecho 1 hibernate: [98] Executing CheckRunlevel ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [98] Executing CheckRunlevel ... + [ -n 1 ] + continue + local new_CHAIN_UP_TO + awk BEGIN{print substr("99DoSysfsPowerStateSuspend", 1, 2)} + new_CHAIN_UP_TO=99 + [ -n 99 ] + CHAIN_UP_TO=99 + bit=DoSysfsPowerStateSuspend + vecho 1 hibernate: [99] Executing DoSysfsPowerStateSuspend ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [99] Executing DoSysfsPowerStateSuspend ... + [ -n 1 ] + continue + SortResumeBits + /bin/echo -ne 70ClockRestore\n85XHacksResumeHook2\n11XHacksResumeHook1\n90ModulesLoad\n70ClockRestore\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n + sort -rn + awk BEGIN{print substr("90ModulesLoad", 1, 2)} + THIS_POS=90 + [ -z 90 ] + bit=ModulesLoad + [ 90 -gt 99 ] + vecho 1 hibernate: [90] Executing ModulesLoad ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [90] Executing ModulesLoad ... + [ -n 1 ] + continue + awk BEGIN{print substr("89RestoreKernelModprobe", 1, 2)} + THIS_POS=89 + [ -z 89 ] + bit=RestoreKernelModprobe + [ 89 -gt 99 ] + vecho 1 hibernate: [89] Executing RestoreKernelModprobe ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [89] Executing RestoreKernelModprobe ... + [ -n 1 ] + continue + awk BEGIN{print substr("85XHacksResumeHook2", 1, 2)} + THIS_POS=85 + [ -z 85 ] + bit=XHacksResumeHook2 + [ 85 -gt 99 ] + vecho 1 hibernate: [85] Executing XHacksResumeHook2 ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [85] Executing XHacksResumeHook2 ... + [ -n 1 ] + continue + awk BEGIN{print substr("70ClockRestore", 1, 2)} + THIS_POS=70 + [ -z 70 ] + bit=ClockRestore + [ 70 -gt 99 ] + vecho 1 hibernate: [70] Executing ClockRestore ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [70] Executing ClockRestore ... + [ -n 1 ] + continue + awk BEGIN{print substr("70ClockRestore", 1, 2)} + THIS_POS=70 + [ -z 70 ] + bit=ClockRestore + [ 70 -gt 99 ] + vecho 1 hibernate: [70] Executing ClockRestore ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [70] Executing ClockRestore ... + [ -n 1 ] + continue + awk BEGIN{print substr("59RemountXFSBootRW", 1, 2)} + THIS_POS=59 + [ -z 59 ] + bit=RemountXFSBootRW + [ 59 -gt 99 ] + vecho 1 hibernate: [59] Executing RemountXFSBootRW ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [59] Executing RemountXFSBootRW ... + [ -n 1 ] + continue + awk BEGIN{print substr("11XHacksResumeHook1", 1, 2)} + THIS_POS=11 + [ -z 11 ] + bit=XHacksResumeHook1 + [ 11 -gt 99 ] + vecho 1 hibernate: [11] Executing XHacksResumeHook1 ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [11] Executing XHacksResumeHook1 ... + [ -n 1 ] + continue + awk BEGIN{print substr("01NoteLastResume", 1, 2)} + THIS_POS=01 + [ -z 01 ] + bit=NoteLastResume + [ 01 -gt 99 ] + vecho 1 hibernate: [01] Executing NoteLastResume ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing NoteLastResume ... + [ -n 1 ] + continue + awk BEGIN{print substr("01LockFilePut", 1, 2)} + THIS_POS=01 + [ -z 01 ] + bit=LockFilePut + [ 01 -gt 99 ] + vecho 1 hibernate: [01] Executing LockFilePut ... + local v + v=1 + shift + [ x = x1 ] + [ 1 -le 4 ] + echo hibernate: [01] Executing LockFilePut ... + [ -n 1 ] + continue + return 0 + echo EXIT_CODE=0 hibernate: [01] Executing CheckLastResume ... hibernate: [01] Executing CheckRunlevel ... hibernate: [01] Executing LockFileGet ... hibernate: [01] Executing NewKernelFileCheck ... hibernate: [10] Executing EnsureSysfsPowerStateCapable ... hibernate: [11] Executing XHacksSuspendHook1 ... hibernate: [59] Executing RemountXFSBootRO ... hibernate: [89] Executing SaveKernelModprobe ... hibernate: [91] Executing ModulesUnloadBlacklist ... hibernate: [91] Executing ModulesUnloadBlacklist ... hibernate: [95] Executing XHacksSuspendHook2 ... hibernate: [98] Executing CheckRunlevel ... hibernate: [99] Executing DoSysfsPowerStateSuspend ... hibernate: [90] Executing ModulesLoad ... hibernate: [89] Executing RestoreKernelModprobe ... hibernate: [85] Executing XHacksResumeHook2 ... hibernate: [70] Executing ClockRestore ... hibernate: [70] Executing ClockRestore ... hibernate: [59] Executing RemountXFSBootRW ... hibernate: [11] Executing XHacksResumeHook1 ... hibernate: [01] Executing NoteLastResume ... hibernate: [01] Executing LockFilePut ... + eval EXIT_CODE=0 + EXIT_CODE=0 + date + echo Resumed at Sun May 20 21:35:05 NZST 2007 + tee -a -i /var/log/hibernate.log + exit 0