failed to load kdump kernel

Bug #1794230 reported by Denis Zimin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kexec-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps:
1) In VMWare ESXi create VM with OS Ubuntu 18.04.1 LTS.
2) In Ubuntu compiled and installed Xen 4.11.1~pre.20180911.5acdd26fdc+dfsg-1~exp1
3) Next installed kexec-tools 2.0.16 and kdump-tools 1.6.3-2
4) In /etc/default/grub.d/kdump-tools.cfg change crashkernel value to 512M
5) update-grub
6) reboot

After reboot i try check status: sudo service kdump-tools status
And get:
● kdump-tools.service - Kernel crash dump capture service
   Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: enabled)
   Active: active (exited) since Tue 2018-09-25 05:06:10 UTC; 34s ago
  Process: 1046 ExecStart=/etc/init.d/kdump-tools start (code=exited, status=0/SUCCESS)
 Main PID: 1046 (code=exited, status=0/SUCCESS)

сен 25 05:06:09 ptms-all-qa7 systemd[1]: Starting Kernel crash dump capture service...
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: Starting kdump-tools: * Creating symlink /var/lib/kdump/vmlinuz
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: * Creating symlink /var/lib/kdump/initrd.img
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: Memory for crashkernel is not reserved
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: Then try to loading kdump kernel
сен 25 05:06:09 ptms-all-qa7 kdump-tools[1046]: * failed to load kdump kernel
сен 25 05:06:10 ptms-all-qa7 kdump-tools[1347]: failed to load kdump kernel
сен 25 05:06:10 ptms-all-qa7 systemd[1]: Started Kernel crash dump capture service.

Log says "Memory for crashkernel is not reserved", but if run: sudo cat /proc/iomem | grep Crash
I get: 18000000-37ffffff : Crash kernel

What to do?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kexec-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Doug Smythies (dsmythies) wrote :

I get the same on my 16.04 test server.

However, things seems to work fine, if I allocate enough memory, on my test 18.04 server VM (which runs on the aforementioned 16.04 test server).

My real purpose here is to update the Ubuntu serverguide to deal with bug 1769130.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.