Hi Guilherme,

Sure. I'll send my sosreport later.

However, I believe this problem is not related with my hardware because
this problem also occurs 3 different machines.

* Advantec EPC-U2117
* Virtual Machine on VMware ESXi
* UPS-APLX7-A20-0464


I write the procedure to find this problem. 

1. Install 'Ubuntu server 18.04'.

2. Install 'kdump-tools'

$ sudo apt install kdump-tools


3. create key and import

after rebooting, the kdump kernel will enable when the secureboot is disabled.
However, the kdump kernel will blocked regardless of the version of kernel.

So I need to run these commands according to this.
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1840941

$ sudo openssl x509 -outform der -in /etc/ssl/certs/ca-certificates.crt -out 
new-ca.der
$ sudo mokutil --import new-ca.der
Inputing password will be required. 

4. Reboot

After rebooting, MOK management interface will be shown.
Type Enter and select Enroll MOK > Yes, then input the password, then reboot

5. Check whether kdump-tools works or not.

$ sudo systemctl status kdump-tools

Using kernel 4.15.0-64:
● 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 2020-04-07 17:38:53 UTC; 41s ago
  Process: 878 ExecStart=/etc/init.d/kdump-tools start (code=exited, 
status=0/SUCCESS)
 Main PID: 878 (code=exited, status=0/SUCCESS)

Apr 07 17:38:51 advanced systemd[1]: Starting Kernel crash dump capture 
service...
Apr 07 17:38:52 advanced kdump-tools[878]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
Apr 07 17:38:52 advanced kdump-tools[878]:  * Creating symlink 
/var/lib/kdump/initrd.img
Apr 07 17:38:52 advanced kdump-tools[878]:  * loaded kdump kernel
Apr 07 17:38:52 advanced kdump-tools[1029]: loaded kdump kernel
Apr 07 17:38:53 advanced systemd[1]: Started Kernel crash dump capture service.


Using kernel 4.15.0-76:
● 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 2020-04-07 16:59:01 UTC; 25min ago
 Main PID: 889 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/kdump-tools.service

Apr 07 16:58:42 advanced systemd[1]: Starting Kernel crash dump capture 
service...
Apr 07 16:58:43 advanced kdump-tools[889]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
Apr 07 16:58:43 advanced kdump-tools[889]: kdump-tools: Generating 
/var/lib/kdump/initrd.img-4.15.0-76-lowlatency
Apr 07 16:59:01 advanced kdump-tools[889]:  * Creating symlink 
/var/lib/kdump/initrd.img
Apr 07 16:59:01 advanced kdump-tools[889]: kexec_file_load failed: Exec format 
error
Apr 07 16:59:01 advanced kdump-tools[889]:  * failed to load kdump kernel
Apr 07 16:59:01 advanced systemd[1]: Started Kernel crash dump capture service.

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

Title:
  kdump kernel can't be loaded using kernel 4.15.0-76

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

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

Reply via email to