kfan / rpms / kexec-tools

Forked from rpms/kexec-tools 3 years ago
Clone

7d8be97 kdump, remove panic_on_warn from 2nd kernel cmdline

1 file Authored by prarit 9 years ago, Committed by WANG Chao 9 years ago,
1 file changed. 1 lines added. 1 lines removed.
    kdump, remove panic_on_warn from 2nd kernel cmdline
    
    With the inclusion of 'panic_on_warn',
    
         http://marc.info/?l=linux-api&m=141570937328528&w=2
    
    and which is now staged in Andrew Morton's tree, we need to remove
    'panic_on_warn' from the 2nd kernel's cmdline.  If it is included it is
    possible a non-fatal warning could panic the second kernel.
    
    Before:
    
    [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0+
    root=/dev/mapper/rhel_intel--canoepass--05-root ro
    rd.lvm.lv=rhel_intel-canoepass-05/root
    rd.lvm.lv=rhel_intel-canoepass-05/swap console=ttyS0,115200n81
    LANG=en_US.UTF-8 systemd.debug panic_on_warn=1 irqpoll nr_cpus=1
    reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2
    panic=10 rootflags=nofail acpi_no_memhotplug disable_cpu_apicid=0
    elfcorehdr=839092K
    
    After:
    
    [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0+
    root=/dev/mapper/rhel_intel--canoepass--05-root ro
    rd.lvm.lv=rhel_intel-canoepass-05/root
    rd.lvm.lv=rhel_intel-canoepass-05/swap console=ttyS0,115200n81
    LANG=en_US.UTF-8 systemd.debug irqpoll nr_cpus=1 reset_devices
    cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10
    rootflags=nofail acpi_no_memhotplug disable_cpu_apicid=0
    elfcorehdr=839092K
    
    Signed-off-by: Prarit Bhargava <prarit@redhat.com>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    
        
file modified
+1 -1