** Description changed:

+ [Impact] The kernel package no longer delivers the vmcoreinfo file so
+ the kdump functionality is now broken.
+ 
  When using linux-image-3.2.0-6-generic and testing kernel dump
  functionality, the kdump process fails.
  
  This is caused by the following test in /etc/init.d/kdump :
- 
  
  KERNEL_IMAGE="/boot/vmlinuz-$KVER"
  INITRD="/boot/initrd.img-$KVER"
  VMCORE="/boot/vmcoreinfo-$KVER"
  
  # Without makedumpfile, there will be no vmcore on crash, so no point
  test -x /usr/bin/makedumpfile || exit 0
  if [ ! -e "$VMCORE" -o ! -e "$KERNEL_IMAGE" -o ! -e "$INITRD" ]; then
-         exit 0;
+         exit 0;
  fi
  
  The /boot/vmcoreinfo⁻{kernel version} is not shipped with the linux-
  image-3.2.0-6-generic.
  
+ [Test Case]
+ While running a 12.04 Precise system, install the linux-crashdump package 
that will enable  the kdump functionality. Reboot the server then, as root, 
issue the following :
+ $ echo c > /proc/sysrq-trigger
+ 
+ Normally, the kernel dump should be created in /var/crash. Currently the
+ kdump process fails silently and the system reboots.
+ 
+ [Regression Potential]
+ Upstream developer of makedumpfile which produces the vmcoreinfo file has 
confirmed that vmcoreinfo is no longer required 
(http://lists.infradead.org/pipermail/kexec/2012-June/006381.html). vmcore 
generated with this patch have proven to be usable with the 'crash' tool.
+ 
+ 
  Package : linux-image-3.2.0-6-generic
  Release : Ubuntu 12.04 LTS
- --- 
+ ---
  AlsaDevices:
-  total 0
-  crw-rw---T 1 root audio 116,  1 Apr 25 15:19 seq
-  crw-rw---T 1 root audio 116, 33 Apr 25 15:19 timer
+  total 0
+  crw-rw---T 1 root audio 116,  1 Apr 25 15:19 seq
+  crw-rw---T 1 root audio 116, 33 Apr 25 15:19 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  CurrentDmesg: [   15.888032] eth0: no IPv6 routers present
  DistroRelease: Ubuntu 12.04
  HibernationDevice: RESUME=UUID=9569393b-2f51-4314-a5c9-1e684853ae97
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 
(20111220)
  IwConfig:
-  lo        no wireless extensions.
-  
-  eth0      no wireless extensions.
+  lo        no wireless extensions.
+ 
+  eth0      no wireless extensions.
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: Bochs Bochs
  Package: linux (not installed)
  PciMultimedia:
-  
+ 
  ProcEnviron:
-  TERM=linux
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=linux
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-6-generic 
root=/dev/mapper/kdumpP-root ro crashkernel=384M-2G:64M,2G-:128M 
console=ttyS0,115200
  ProcVersionSignature: Ubuntu 3.2.0-6.12-generic 3.2.0-rc6
  RelatedPackageVersions:
-  linux-restricted-modules-3.2.0-6-generic N/A
-  linux-backports-modules-3.2.0-6-generic  N/A
-  linux-firmware                           1.79
+  linux-restricted-modules-3.2.0-6-generic N/A
+  linux-backports-modules-3.2.0-6-generic  N/A
+  linux-firmware                           1.79
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  precise
  Uname: Linux 3.2.0-6-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
-  
+ 
  dmi.bios.date: 01/01/2007
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: 
dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
  dmi.product.name: Bochs
  dmi.sys.vendor: Bochs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/988512

Title:
  Missing /boot/vmcoreinfo-{version} file is breaking kdump

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/988512/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to