Hi yamato, thank you! Good news, this time the fix is working and I was
able to kdump in my secureboot system. So, I'll move on and change
title/component/description of this LP to proceed with the SRU - I hope
next kernel (after 4.15.0-97) will have the fix =)

In order to test the kernel, you must follow the below procedures (as root 
user):
[I assume you don't have the proposed pocket enabled in your system, if so 
please disable it before testing]

add-apt-repository ppa:gpiccoli/test1869672-2
apt-get update
apt-get install linux-image-4.15.0-97-generic linux-modules-4.15.0-97-generic 
linux-modules-extra-4.15.0-97-generic

Then, get the file:
http://ppa.launchpad.net/gpiccoli/test1869672-2/ubuntu/dists/bionic/main/signed
/linux-amd64/4.15.0-97.98+TEST0000000v20200423b3/signed.tar.gz

Extract it and you'll see a file uefi.crt in "control/" folder. You can
use the following command to extract its .DER key:

openssl x509 -in uefi.crt -outform der -out cert.der

Finally, I'm running "mokutil --import cert.der" to enroll the
certificate on shim. After that, you must reboot and you firmware should
present you a MOK utility to enroll the key (OVMF does, I need to access
through serial console when booting).

With all these steps, I was able to test successfully the kernel, and produced 
a kernel dump.
Cheers,


Guilherme

** Summary changed:

- kdump kernel can't be loaded using kernel 4.15.0-76
+ Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: makedumpfile (Ubuntu)

** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Guilherme G. Piccoli (gpiccoli)

** Changed in: linux (Ubuntu Bionic)
     Assignee: (unassigned) => Guilherme G. Piccoli (gpiccoli)

-- 
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 broken since 4.15.0-65 on secureboot - purgatory cannot load

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

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

Reply via email to