Public bug reported: [Summary] kdump-tools service does not start automatically at boot on Ubuntu 17.10 (4.13.0-12-generic x86_64 kernel). Because of this, the kernel crash dump is not working.
[Steps] - Tried enabling it using systemctl. No errors were shown after enabling it, but after reboot the service is still not running. - "kdump-config show" is reporting "current state: Not ready to kdump" - "kdump-config load" command worked and the state changed to "ready to kdump". kdump-tools service is still stopped but VM reboots (and a dump is generated) if a crash is triggered. - Starting the kdump-tools service is also ok. After it is started, a crash dump is generated in case of system crash. [Additional logs] root@ubuntu1710:~# service kdump-tools status ● kdump-tools.service - Kernel crash dump capture service Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: ena Active: inactive (dead) root@ubuntu1710:~# dmesg | grep crashkernel [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.13.0-12-generic root=/dev/mapper/ubuntu1710--vg-root ro console=tty0 console=ttyS1 crashkernel=384M [ 0.000000] Reserving 384MB of memory at 400MB for crashkernel (System RAM: 2047MB) root@ubuntu1710:~# cat /var/log/syslog | grep kexec Oct 11 06:30:08 ubuntu1710 systemd[1]: Starting LSB: Execute the kexec -e command to reboot system... Oct 11 06:30:09 ubuntu1710 systemd[1]: Started LSB: Execute the kexec -e command to reboot system. Oct 11 06:30:10 ubuntu1710 systemd[1]: Starting LSB: Load kernel image with kexec... Oct 11 06:30:10 ubuntu1710 systemd[1]: Started LSB: Load kernel image with kexec. ** Affects: makedumpfile (Ubuntu) Importance: Undecided Status: New -- 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/1722806 Title: [Hyper-V] kdump-tools service does not start at boot on Ubuntu 17.10 Status in makedumpfile package in Ubuntu: New Bug description: [Summary] kdump-tools service does not start automatically at boot on Ubuntu 17.10 (4.13.0-12-generic x86_64 kernel). Because of this, the kernel crash dump is not working. [Steps] - Tried enabling it using systemctl. No errors were shown after enabling it, but after reboot the service is still not running. - "kdump-config show" is reporting "current state: Not ready to kdump" - "kdump-config load" command worked and the state changed to "ready to kdump". kdump-tools service is still stopped but VM reboots (and a dump is generated) if a crash is triggered. - Starting the kdump-tools service is also ok. After it is started, a crash dump is generated in case of system crash. [Additional logs] root@ubuntu1710:~# service kdump-tools status ● kdump-tools.service - Kernel crash dump capture service Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: ena Active: inactive (dead) root@ubuntu1710:~# dmesg | grep crashkernel [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.13.0-12-generic root=/dev/mapper/ubuntu1710--vg-root ro console=tty0 console=ttyS1 crashkernel=384M [ 0.000000] Reserving 384MB of memory at 400MB for crashkernel (System RAM: 2047MB) root@ubuntu1710:~# cat /var/log/syslog | grep kexec Oct 11 06:30:08 ubuntu1710 systemd[1]: Starting LSB: Execute the kexec -e command to reboot system... Oct 11 06:30:09 ubuntu1710 systemd[1]: Started LSB: Execute the kexec -e command to reboot system. Oct 11 06:30:10 ubuntu1710 systemd[1]: Starting LSB: Load kernel image with kexec... Oct 11 06:30:10 ubuntu1710 systemd[1]: Started LSB: Load kernel image with kexec. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1722806/+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