Bug 596919
Summary: | installing new kernel overwrites custom crashkernel arg | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Doug Chapman <dchapman> | ||||
Component: | kernel | Assignee: | Neil Horman <nhorman> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chao Ye <cye> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0 | CC: | cye, nhorman, peterm, phan, qcai, syeghiay | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-2.6.32-42.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-10 20:55:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 524819 | ||||||
Attachments: |
|
Description
Doug Chapman
2010-05-27 18:53:11 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. We continue to run into new issues with crashkernel=auto. The patch for this on bug 580843 does not resolve that issue, it only creates a new problem. It is highly likely that Red Hat support will need to tell some customers to use a hard coded crashkernel arg on certain systems and it would be very bad form for a new kernel install to change something that a user explicitly set. This is happening because we were too nervous to make a change in the installer directly. Instead we need to append this parameter from the kernel install script in the spec file. Since the new-kernel-package utiltiy has no way to specify "add this parameter only if it doesn't yet exist" we always add (and overwrite it). I'll test out a fix shortly. http://brewweb.devel.redhat.com/brew/taskinfo?taskID=2532149 Testpatch cooking here Created attachment 425600 [details]
patch to correct crshkernel updates
herees the patch I'll be posting internally.
Patch(es) available on kernel-2.6.32-42.el6 Reproduced with kernel-2.6.32-31.el6: =============================================================================== [root@hp-xw4200-01 ~]# cat /boot/grub/grub.conf | grep crashkernel ;yum list kernel ;rpm -ivh kernel-2.6.32-31.el6.i686.rpm ;cat /boot/grub/grub.conf | grep crashkernel kernel /vmlinuz-2.6.32-30.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=128M Loaded plugins: rhnplugin This system is not registered with RHN. RHN support will be disabled. Installed Packages kernel.i686 2.6.32-30.el6 installed Available Packages kernel.i686 2.6.32-59.1.el6 beaker-os Preparing... (100%########################################### [100%] 1:kernel ( 1%########################################### [100%] kernel /vmlinuz-2.6.32-31.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=auto kernel /vmlinuz-2.6.32-30.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=128M Verified with kernel-2.6.32-63: ================================================================================ [root@hp-xw4200-01 ~]# cat /boot/grub/grub.conf | grep crashkernel ;yum list kernel ;rpm -ivh kernel-2.6.32-63.el6.i686.rpm ;cat /boot/grub/grub.conf | grep crashkernel kernel /vmlinuz-2.6.32-30.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=128M Loaded plugins: rhnplugin This system is not registered with RHN. RHN support will be disabled. Installed Packages kernel.i686 2.6.32-30.el6 installed Available Packages kernel.i686 2.6.32-59.1.el6 beaker-os Preparing... (100%########################################### [100%] 1:kernel ( 1%########################################### [100%] kernel /vmlinuz-2.6.32-63.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=128M kernel /vmlinuz-2.6.32-30.el6.i686 ro root=/dev/mapper/vg_hpxw420001-lv_root rd_LVM_LV=vg_hpxw420001/lv_root rd_LVM_LV=vg_hpxw420001/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 crashkernel=128M ================================================================================ Change status to VERIFIED. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |