Bug 116510

Summary: suspend to disk fails because /boot/vmlinuz doesnt exist
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Olaf Hering <ohering>
Component: Mobile DevicesAssignee: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: behlert
Version: RC 1   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: proposed fix for /usr/lib/powersave/scripts/prepare_suspend_to_disk

Description Olaf Hering 2005-09-12 14:21:00 UTC
suspend to disk fails because the prepare_to_something.sh script looks only for
vmlinuz. Other kernels are named vmlinux.

please adapt the match pattern soon.
Comment 1 Forgotten User ZhJd0F0L3x 2005-09-12 16:49:55 UTC
which kernels are named vmlinux? SUSE kernels?
Comment 2 Olaf Hering 2005-09-12 17:21:15 UTC
yes.

date.suse.de has rc2.
Comment 3 Forgotten User ZhJd0F0L3x 2005-09-12 17:56:14 UTC
isn't this a kernel-package bug? ;-)
On which architectures do i have to use vmlinux instead of vmlinuz? No, i'm not
doing both on all architectures, this is a paranoia check, so i'm paranoid.
Comment 4 Forgotten User ZhJd0F0L3x 2005-09-12 18:02:23 UTC
Created attachment 49664 [details]
proposed fix for /usr/lib/powersave/scripts/prepare_suspend_to_disk
Comment 5 Forgotten User ZhJd0F0L3x 2005-09-12 18:03:40 UTC
Comment on attachment 49664 [details]
proposed fix for /usr/lib/powersave/scripts/prepare_suspend_to_disk

this one should fix it, i do this on ppc* architecture. Can you test if this
helps?
Comment 6 Forgotten User ZhJd0F0L3x 2005-09-12 18:34:00 UTC
it does not break x86 architecture => checked in
Comment 7 Andreas Schwab 2005-09-12 19:53:39 UTC
You should use get_kernel_version. 
Comment 8 Olaf Hering 2005-09-13 12:23:13 UTC
this change doesnt work.
Comment 9 Forgotten User ZhJd0F0L3x 2005-09-13 18:51:47 UTC
the info in this bug report is not sufficient

Bring me the machine or submit a patch that fixes it and does not break x86, please.

What boot loader do you use?
Comment 10 Forgotten User ZhJd0F0L3x 2005-09-14 17:37:27 UTC
ok. Right now, enter

BOOT_LOADER="none"

in /etc/sysconfig/powersave/common. As soon as we get bootloader-config-parsing
on ppc, we can fix this, but right now not.