You are not logged in.
Pages: 1
I try to use kernel26tp in aur but cannot get tuxonice working. It gave me the following errors when I wanna hibernate:
$ sudo /usr/sbin/hibernate
/usr/share/hibernate/scriptlets.d/suspend2: line 560: echo: write error: Device or resource busy
or
$ sudo hibernate -F /etc/hibernate/suspend2.conf
/usr/share/hibernate/scriptlets.d/suspend2: line 560: echo: write error: Device or resource busy
However, the official kernel 2.6.24-ARCH dosen't have this problem at all and tuxonice on it plays quite well. My swap partition is /dev/sda3, so the menu.lst entry for kernel26tp is (I build a new initrd img called tuxonice.img to add tuxonice hook just as what Wiki told):
# (0) Arch Linux TP
title Arch Linux TP
root (hd0,0)
kernel /vmlinuz26tp root=/dev/sda2 ro vga=792 resume=/dev/sda3
initrd /tuxonice.img
I didn't change the /etc/hibernate/common.conf and only make slight changes in /etc/hibernate/suspend2.conf (only add the option of userui text ), here it is:
### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
# ImageSizeLimit 200## useful for initrd usage:
SuspendDevice swap:/dev/sda3## 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:
# Suspend2AllSettings 0 0 2056 65535 5## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes## Specify a userui like this:
ProcSetting userui_program /usr/sbin/tuxoniceui_text
# ProcSetting user_interface/program /usr/sbin/tuxoniceui_fbsplash# Scale CPU to full speed to make sure we suspend as fast as possible.
FullSpeedCPU yesInclude common.conf
The hook part of my /etc/mkinitcpio.conf is:
HOOKS="base udev autodetect pata scsi sata keymap tuxonice filesystems fbsplash"
Then what the hell is this problem came out? How can I solve it?
Last edited by andywxy (2008-03-15 03:21:32)
Offline
The output of dmesg shows this:
TuxOnIce core not loaded yet.
This error msg also appears during booting when loading the tuxonice hook. Why? The TuxOnIce patch hasn't been added successfully while compling?
Offline
Pages: 1