Bug 404879

Summary: s2disk broken after upgrade from 10.3 - no resume= lines for new kernel entries
Product: [openSUSE] openSUSE 11.0 Reporter: Petr Baudis <pbaudis>
Component: YaST2Assignee: Jozef Uhliarik <juhliarik>
Status: RESOLVED NORESPONSE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Petr Baudis 2008-06-29 11:35:45 UTC
During upgrade to 11.0, YaST2 failed to properly construct kernel commandlines, apparently. This is /boot/grub/menu.lst :

# Modified by YaST2. Last modification on Sat Jun 28 21:06:59 CEST 2008
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.25.5-1.1-pae root=/dev/disk/by-id/scsi-SATA_HTC426040G9AT00_ENBX45-part1 splash=s
ilent  showopts
    initrd /boot/initrd-2.6.25.5-1.1-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.25.5-1.1-pae root=/dev/disk/by-id/scsi-SATA_HTC426040G9AT00_ENBX45-part1 showopts
 ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe
    initrd /boot/initrd-2.6.25.5-1.1-pae

title openSUSE 11.0 install
    root (hd0,0)
    kernel /boot/vmlinuz-inst110
    initrd /boot/initrd-inst110
    activate

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
    root (hd0,0)
    kernel /boot/xen.gz
    module /boot/vmlinuz-xen root=/dev/disk/by-id/scsi-SATA_HTC426040G9AT00_ENBX45-part1 splash=silent showopt
s
    module /boot/initrd-xen

There is no resume= for the first entry, which of course causes pm-hibernate to fail. YaST2 should add the proper resume= parameter to the kernel commandline.

This might be related to the fact that this was an upgrade from 10.3, or possibly to the fact that I used the Grub trick to start upgrade on a machine without CD drive as instructed by the opensuse.org wiki ("openSUSE 11.0 install" entry, which was the first entry in the menu.lst file before upgrade).

I would also show the pre-upgrade /boot/grub/menu.lst, but YaST2 fails to make a backup of it.
Comment 1 Jozef Uhliarik 2008-07-07 09:59:30 UTC
Could you attach YaST logs please?
Comment 2 Jozef Uhliarik 2008-07-29 10:42:59 UTC
3 weeks without response. close like NORESPONE. If you want to add YaST logs please feel free to reopen the bug