← Back to team overview

kernel-packages team mailing list archive

[Bug 1341475] Re: linux-meta: enable linux-crashdump for ppc64el

 

patch sent to ubuntu kernel-team ML

** Description changed:

  SRU Justification:
  
  [Impact]
  Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging.
  
  [Test Case]
  Taken from:
  https://wiki.ubuntu.com/Kernel/CrashdumpRecipe
  https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html
  
  1) apt-get install linux-crashdump
  2) reboot the machine
  3) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools
  4) kdump-config show # should return no errors
  5) echo 'c' | sudo tee /proc/sysrq-trigger
  6) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/*
  
  [Regression Potential]
  Part of the fix involves adding a NEW package for ppc64el to allow linux-crashdump binary package to be built from linux-meta.
  
- [Workaround]
- 1) apt-get install kdump-tools
- 2) edit /etc/default/kdump-tools to have the following:
- USE_KDUMP=1
- KDUMP_KERNEL=/boot/vmlinux
- KDUMP_INITRD=/boot/initrd.img
- 3) reboot the machine
- 4) kdump-config show # should return no errors
- 5) echo 'c' | sudo tee /proc/sysrq-trigger
- 
  --
  
  Problem Description :
  ====================
  I was trying to configure kdump and got below link
  
  https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html
  As per above link we need to install linux-crashdump pckg but it seems it is not included in repo as when I tried to install it then it failed with that unable to locate it .
  
  root@flyg4:~# apt-get install linux-crashdump
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  E: Unable to locate package linux-crashdump
  root@flyg4:~#
  
  root@flyg4:~# uname -a
  Linux flyg4 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:29:58 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
  root@flyg4:~#

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1341475

Title:
  linux-meta: enable linux-crashdump for ppc64el

Status in “linux-meta” package in Ubuntu:
  In Progress
Status in “linux-meta” source package in Trusty:
  In Progress
Status in “linux-meta” source package in Utopic:
  In Progress

Bug description:
  SRU Justification:

  [Impact]
  Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging.

  [Test Case]
  Taken from:
  https://wiki.ubuntu.com/Kernel/CrashdumpRecipe
  https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html

  1) apt-get install linux-crashdump
  2) reboot the machine
  3) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools
  4) kdump-config show # should return no errors
  5) echo 'c' | sudo tee /proc/sysrq-trigger
  6) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/*

  [Regression Potential]
  Part of the fix involves adding a NEW package for ppc64el to allow linux-crashdump binary package to be built from linux-meta.

  --

  Problem Description :
  ====================
  I was trying to configure kdump and got below link

  https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html
  As per above link we need to install linux-crashdump pckg but it seems it is not included in repo as when I tried to install it then it failed with that unable to locate it .

  root@flyg4:~# apt-get install linux-crashdump
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  E: Unable to locate package linux-crashdump
  root@flyg4:~#

  root@flyg4:~# uname -a
  Linux flyg4 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:29:58 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
  root@flyg4:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1341475/+subscriptions