------- Comment From pavra...@in.ibm.com 2018-03-22 11:43 EDT-------
Issue is not observed with 18.04.

# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  211G     0  211G   0% /dev
tmpfs          tmpfs      45G   13M   45G   1% /run
/dev/sda2      xfs       932G  5.3G  926G   1% /
tmpfs          tmpfs     222G     0  222G   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     222G     0  222G   0% /sys/fs/cgroup
tmpfs          tmpfs      45G     0   45G   0% /run/user/1000

Starting Kernel crash dump capture service...
[   16.986777] kdump-tools[1459]: Starting kdump-tools:  * running makedumpfile 
-c -d 31 /proc/vmcore /var/crash/201803221033/dump-incomplete
Copying data                                      : [100.0 %] -           eta: 
0s
[   27.935305] kdump-tools[1459]: The kernel version is not supported.
[   27.935383] kdump-tools[1459]: The makedumpfile operation may be incomplete.
[   27.935456] kdump-tools[1459]: The dumpfile is saved to 
/var/crash/201803221033/dump-incomplete.
[   27.935525] kdump-tools[1459]: makedumpfile Completed.
[   27.962918] kdump-tools[1459]:  * kdump-tools: saved vmcore in 
/var/crash/201803221033
[   28.466833] kdump-tools[1459]:  * running makedumpfile --dump-dmesg 
/proc/vmcore /var/crash/201803221033/dmesg.201803221033
[   28.474788] kdump-tools[1459]: The kernel version is not supported.
[   28.474895] kdump-tools[1459]: The makedumpfile operation may be incomplete.
[   28.474967] kdump-tools[1459]: The dmesg log is saved to 
/var/crash/201803221033/dmesg.201803221033.
[   28.475051] kdump-tools[1459]: makedumpfile Completed.
[   28.475126] kdump-tools[1459]:  * kdump-tools: saved dmesg content in 
/var/crash/201803221033
[   28.550660] kdump-tools[1459]: Thu, 22 Mar 2018 10:33:27 -0500
[   28.600047] kdump-tools[1459]: Rebooting.
[   29.003219] reboot: Restarting system

/var/crash# ls
201803220915  201803221038  linux-image-4.15.0-12-generic-201803220915.crash
201803221033  kexec_cmd

Thanks,
Pavithra

-- 
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/1714485

Title:
  Ubuntu 16.04: kdump fails with error "kdump-tools[1532]: /etc/init.d
  /kdump-tools: 26: [: -ne: unexpected operator" when / file system is
  xfs.

Status in The Ubuntu-power-systems project:
  Triaged
Status in makedumpfile package in Ubuntu:
  Fix Released
Status in makedumpfile source package in Xenial:
  New
Status in makedumpfile source package in Zesty:
  Won't Fix
Status in makedumpfile source package in Artful:
  New
Status in makedumpfile source package in Bionic:
  Fix Released

Bug description:
  == Comment: #0 - PAVITHRA R. PRAKASH <> - 2017-08-31 00:33:37 ==
  ---Problem Description---

  Ubuntu 16.04.03: kdump fails with error "kdump-tools[1532]:
  /etc/init.d/kdump-tools: 26: [: -ne: unexpected operator" when / file
  system is xfs.

  ---Steps to Reproduce---

  1. Install Ubuntu 16.04.03 with / as xfs.
  2. Configure kdump.
  3. trigger crash.

  Machine hangs after below log. Attaching console log.

  [  OK  ] Reached target Network is Online.
           Starting Kernel crash dump capture service...
           Starting iSCSI initiator daemon (iscsid)...
  [   12.263089] kdump-tools[1205]: /etc/init.d/kdump-tools: 26: [: -ne: 
unexpected operator
  [  OK  ] Started Kernel crash dump capture service.
  [  OK  ] Started iSCSI initiator daemon (iscsid).
           Starting Login to default iSCSI targets...
  [  OK  ] Started Login to default iSCSI targets.
  [  OK  ] Reached target Remote File Systems (Pre).

  
  4. After manual reboot  /etc/default/kdump-tools is empty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1714485/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to