You are not logged in.

#1 2010-10-09 11:47:50

heptapod
Member
Registered: 2010-06-24
Posts: 35

Hibernate with tuxonice on thinkpad

Im trying to get hibernation with tuxonice to work, using the hibernate script. But when I run hibernate I always get dropped back to the shell. I use kernel26-ice from aur, and have followed the instructions from the wiki. I have also rebuilt initrd with mkinitcpio.

Any ideas?

/var/log/hibernate

Starting suspend at Sat Oct 9 12:08:27 CEST 2010
Oct 9 12:08:27.58 hibernate: [01] Executing CheckLastResume ... 
Oct 9 12:08:27.59 hibernate: [01] Executing CheckRunlevel ... 
Oct 9 12:08:27.62 hibernate: [01] Executing LockFileGet ... 
Oct 9 12:08:27.63 hibernate: [01] Executing NewKernelFileCheck ... 
Oct 9 12:08:27.65 hibernate: [10] Executing EnsureTuxOnIceCapable ... 
Oct 9 12:08:27.67 hibernate: [11] Executing XHacksSuspendHook1 ... 
Oct 9 12:08:27.68 hibernate: [30] Executing ServicesStop ... 
Oct 9 12:08:27.70 hibernate: [55] Executing PCMCIAEject ... 
Oct 9 12:08:27.70 hibernate: Ejecting PCMCIA cards
Oct 9 12:08:27.72 hibernate: [59] Executing RemountXFSBootRO ... 
Oct 9 12:08:27.73 hibernate: [89] Executing SaveKernelModprobe ... 
Oct 9 12:08:27.75 hibernate: [91] Executing ModulesUnloadBlacklist ... 
Oct 9 12:08:28.91 hibernate: [95] Executing XHacksSuspendHook2 ... 
Oct 9 12:08:28.93 hibernate: [97] Executing ChangeToTuxOnIceVT ... 
Oct 9 12:08:28.94 hibernate: [98] Executing CheckRunlevel ... 
Oct 9 12:08:28.95 hibernate: [98] Executing FullSpeedCPUSuspend ... 
Oct 9 12:08:28.97 hibernate: [98] Executing TuxOnIceConfigSet ... 
Oct 9 12:08:29.00 hibernate: [99] Executing DoTuxOnIce ... 
Oct 9 12:08:29.01 hibernate: Activating TuxOnIce ...
Oct 9 12:08:33.40 hibernate: [98] Executing FullSpeedCPUResume ... 
Oct 9 12:08:33.41 hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
Oct 9 12:08:33.43 hibernate: [90] Executing ModulesLoad ... 
Oct 9 12:08:33.44 hibernate: [89] Executing RestoreKernelModprobe ... 
Oct 9 12:08:33.46 hibernate: [85] Executing XHacksResumeHook2 ... 
Oct 9 12:08:33.47 hibernate: [70] Executing ClockRestore ... 
Oct 9 12:08:34.01 hibernate: [59] Executing RemountXFSBootRW ... 
Oct 9 12:08:34.02 hibernate: [55] Executing PCMCIAInsert ... 
Oct 9 12:08:34.03 hibernate: Inserting PCMCIA cards 
Oct 9 12:08:34.04 hibernate: [30] Executing ServicesStart ... 
Oct 9 12:08:34.06 hibernate: [11] Executing XHacksResumeHook1 ... 
Oct 9 12:08:34.07 hibernate: [01] Executing NoteLastResume ... 
Oct 9 12:08:34.09 hibernate: [01] Executing LockFilePut ... 
Oct 9 12:08:34.10 hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Sat Oct 9 12:08:34 CEST 2010

Config files:
/etc/hibernate/hibernate.conf

TryMethod tuxonice.conf
ProcSetting extra_pages_allowance 7500

/etc/hibernate/tuxonice.conf

### TuxOnIce
UseTuxOnIce yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
#Compressor lzf
Compressor lzo
Encryptor none
# ImageSizeLimit 200

## useful for initrd usage:
SuspendDevice swap:/dev/mapper/vg-archswap

## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
# PowerdownMethod 5

## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50

## Or traditionally like this:
# TuxOnIceAllSettings 0 0 2056 65535 5

## Or even from the results of hibernate --save-settings with this:
# TuxOnIceAllSettingsFile /etc/hibernate/suspend-settings.conf

## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes

## Specify a userui like this:
# ProcSetting userui_program /usr/local/sbin/tuxoniceui_text

# Scale CPU to full speed to make sure we suspend as fast as possible.
FullSpeedCPU yes
Include common.conf

/etc/mkinitcpio.conf

MODULES="lzo"
BINARIES=""
FILES=""
HOOKS="base udev autodetect pata scsi sata lvm2 resume filesystems"

Offline

Board footer

Powered by FluxBB