On Sat, May 06, 2006 at 12:03:12PM -0600, Scott Horowitz wrote:
> Thanks Stefan, I no longer get the kernel match problem with
> BOOT_LOADER="other". But when I powersave -U now, the log file shows
> "========we are going to sleep, preparing.========" and nothing
> happens at all.
> 
> Here is what I get with DEBUG=15:
> 
> May  6 12:01:04 machine sudo: stonecrest : TTY=pts/0 ;
> PWD=/home/stonecrest ; USER=root ; COMMAND=/usr/bin/nano
> /etc/powersave/common
> May  6 12:01:16 machine sudo: stonecrest : TTY=pts/0 ;
> PWD=/home/stonecrest ; USER=root ; COMMAND=/etc/rc.d/powersaved
> restart

> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: Process script for event global.suspend2disk ID 4
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Event: GLOBAL_SUSPEND2DISK occured.
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Parameters: Event - global.suspend2disk; Current Active Scheme:
> scheme_performance - ACPI event line: empty
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: script_return() invoked: event_id: 4, request: 4, text: 0
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Running get_kernels()
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Default boot entry is '0'
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Found grub menu entry #0: 'title                Arch Linux'
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> INFO: Found kernel entry #0: 'vmlinuz26'
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: script_return() invoked: event_id: 4, request: 4, text:
> 10|checking resume kernel
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: running kernel: '2.6.16-ARCH', (probably) booting kernel:
> 'vmlinuz26'
> May  6 12:01:20 machine [powersave-notify][5287]: DIAG: Process script
> for event The kernel version "vmlinuz26" in /boot does not match the
> running kernel version "2.6.16-ARCH". Resuming with this kernel will
> not work. If you know what you are doing, you can override this in
> /etc/sysconfig/powersave/sleep with the variable
> SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes. ID 4
> May  6 12:01:20 machine [powersave-notify][5287]: INFO: Event: THE
> KERNEL VERSION "VMLINUZ26" IN  occured.
> May  6 12:01:20 machine [powersave-notify][5287]: INFO: Parameters:
> Event - The kernel version "vmlinuz26" in /boot does not match the
> running kernel version "2.6.16-ARCH". Resuming with this kernel will
> not work. If you know what you are doing, you can override this in
> /etc/sysconfig/powersave/sleep with the variable
> SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes.; Current Active Scheme: ERROR
> - ACPI event line: CONTINUE
> May  6 12:01:20 machine [powersave-notify][5287]: INFO: process script: notify
> May  6 12:01:20 machine [powersave-notify][5287]: DIAG:
> script_return() invoked: event_id: 4, request: 2, text: The kernel
> version "vmlinuz26" in /boot does not match the running kernel version
> "2.6.16-ARCH". Resuming with this kernel will not work. If you know
> what you are doing, you can override this in
> /etc/sysconfig/powersave/sleep with the variable
> SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes.
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: script_return() invoked: event_id: 4, request: 4, text: 101
> May  6 12:01:20 machine [powersave-do_x_notification][5298]: DIAG:
> Process script for event The kernel version "vmlinuz26" in /boot does
> not match the running kernel version "2.6.16-ARCH". Resuming with this
> kernel will not work. If you know what you are doing, you can override
> this in /etc/sysconfig/powersave/sleep with the variable
> SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes. ID
> May  6 12:01:20 machine [powersave-prepare_suspend_to_disk][5260]:
> DIAG: script_return() invoked: event_id: 4, request: 1, text: kernel
> version mismatch, cannot suspend to disk.

at this place, the prepare_suspend_to_disk script exits, but we unfortu-
nately do not write this to the suspend2disk.log - something to improve
for future versions... :-(

> May  6 12:01:20 machine [powersave-do_x_notification][5298]: INFO:
> Event: THE KERNEL VERSION "VMLINUZ26" IN  occured.
> May  6 12:01:20 machine [powersave-do_x_notification][5298]: INFO:
> Parameters: Event - The kernel version "vmlinuz26" in /boot does not
> match the running kernel version "2.6.16-ARCH". Resuming with this
> kernel will not work. If you know what you are doing, you can override
> this in /etc/sysconfig/powersave/sleep with the variable
> SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes.; Current Active Scheme:  -
> ACPI event line:
> May  6 12:01:20 machine [powersave-do_x_notification][5298]: INFO:
> process script: do_x_notification
> M

hm, this should have given you a popup that shows what's going on...

Anyway: set SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes in /etc/powersave/sleep
and it should finally try to suspend :-)
-- 
Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \                    -- Leonard Cohen
_______________________________________________
powersave-devel mailing list
powersave-devel@forge.novell.com
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to