I think I've figured out how to simulate the OVMF PXE -> iPXE chaining
you are doing, which had me confused in Comment #14. I also see the
problem being introduced between the versions you identified, and was
able to bisect it down to the following commit:
# first bad commit: [6e5e544f227f031d0b45828b56cec5668dd1bf5b] OvmfPkg:
Install BGRT ACPI table
Indeed, only in your "bad" console log does Linux reports the BGRT
table:
ACPI: RSDP 0x000000001FBFA014 000024 (v02 INTEL )
ACPI: XSDT 0x000000001FBF90E8 000034 (v01 INTEL EDK2 00000002
01000013)
ACPI: BGRT 0x000000001FBF8000 000038 (v01 INTEL EDK2 00000002
01000013)
It also crashes immediately after initializing the ACPI interpreter,
adding more evidence that this is the problem:
ACPI: Core revision 20170728
BUG: unable to handle kernel paging request at ffff88201f015b34
IP: 0xffffffff81311d4c
PGD 2c68067 P4D 2c68067 PUD 0
This led me to wonder if there's just a bug in your kernel dealing with
the BGRT. In fact, the very first Linux commit from this search shows a
fix for a crash like this one (hard to be sure, this kernel doesn't do
symbol resolution for us):
$ git log --reverse --oneline v4.4..origin/master --grep BGRT | head -1
50a0cb565246f x86/efi-bgrt: Fix kernel panic when mapping BGRT data
If you have a way to rebuild your kernel to apply that patch, I'd
suggest trying that. I also see that there's a new tinycore kernel out -
maybe you can upgrade?
I'll go ahead and close this out as Invalid for edk2 - but feel free to
reopen if you find evidence that my conclusion is incorrect.
** Changed in: edk2 (Ubuntu Cosmic)
Status: Expired => Invalid
** Changed in: edk2 (Ubuntu Bionic)
Status: New => Invalid
** Changed in: edk2 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821729
Title:
UEFI in ovmf package causes kernel panic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1821729/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs