← Back to team overview

kernel-packages team mailing list archive

[Bug 1528759] Comment bridged from LTC Bugzilla

 

------- Comment From ruddk@xxxxxxxxxx 2016-01-04 21:37 EDT-------
This appears to be another init-script vs upstart confusion issue.  The
"status" case in /etc/init.d/kdump-tools leads one to believe that
"/usr/sbin/kdump-config status" will be run:

status)
$KDUMP_SCRIPT status
;;

This would have generated the expected output:

# /usr/sbin/kdump-config status
current state   : ready to kdump

Instead, the /lib/lsb/init-functions.d/01-upstart-lsb hook intercepts
the "status" option and translates it to:

"initctl status kdump-tools"

which returns a slightly less useful status which I have to assume
indicates that the kdump-tools startup is simply "waiting" for a
kdump event.

For purposes of test/setup validation, you can either check the syslog
messages for kdump startup failures, or run "/usr/sbin/kdump-config
status" instead of "service kdump-tools status".

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

Title:
  ISST-LTE: kdump service fails to start on Ubuntu14.04.4 lpar.

Status in makedumpfile package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Manjunatha H R <manjuhr1@xxxxxxxxxx> - 2015-12-22 06:11:27 ==
  On a Ubuntu14.04.4 lpar, kdump service fails to start:

  service kdump-tools start error:
  ------------------------
  root@roselp2:~# service kdump-tools start
  Modified cmdline:BOOT_IMAGE=/boot/vmlinux-4.2.0-22-generic root=UUID=482b63be-0b6a-4d63-9367-ee35934e143e ro splash quiet vt.handoff=7 irqpoll maxcpus=1 nousb elfcorehdr=155776K
  segment[0].mem:0x8000000 memsz:25231360
  segment[1].mem:0x9810000 memsz:65536
  segment[2].mem:0x9820000 memsz:65536
  segment[3].mem:0x9830000 memsz:65536
  segment[4].mem:0x9840000 memsz:22740992
  segment[5].mem:0xeb10000 memsz:262144
   * loaded kdump kernel
  kdump-tools stop/waiting
  root@roselp2:~#

  root@roselp2:~# service kdump-tools status
  kdump-tools stop/waiting

  
  uname -a :
  --------------
  root@roselp2:~# uname -a
  Linux roselp2 4.2.0-22-generic #27~14.04.1-Ubuntu SMP Fri Dec 18 10:56:52 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

  Kernel cmdline:
  --------------------
  root@roselp2:~# cat /proc/cmdline
  BOOT_IMAGE=/boot/vmlinux-4.2.0-22-generic root=UUID=482b63be-0b6a-4d63-9367-ee35934e143e ro splash quiet crashkernel=384M-:128M vt.handoff=7

  kdump package version:
  -----------------
  root@roselp2:~# dpkg -l |grep -i kdump-tools
  ii  kdump-tools                        1.5.5-2ubuntu1.4                 all          scripts and tools for automating kdump (Linux crash dumps)

  
  Steps to recreate:
  -------------------------
  1. Install a PowerVM lpar with Ubuntu14.04.4 
  2. Install kdump and other dependent required packages.
  3. Start kdump service

  Please refer to dmesg attached.

  Contact info:
  ---------------
  Manju (manjuhr1@xxxxxxxxxx)      A.P. (apundt@xxxxxxxxxx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1528759/+subscriptions