hi ard, thanks for the effort!
so, your first recommended patch (the memset thing), applied to current mainline (6.8) DOES NOT resolve the issue.
the second recommendation, a revert patch, applied to the same mainline tree, indeed DOES resolve the problem.
just to be sure, i'm attaching the revert patch.
as for the information to find the cause:
* boot logs - can't really give you as the boot process just stops - i can send you a picture of the screen taken with my phone.
* dmi data - attaching dmidecode output
* distro - current arch linux (rolling distro) - attaching list of installed packages with versions
* versions of boot components - should be included in the listing above
feel free to send me any patches, i'll be happy to try them out!
cheers, R.
On 3/15/24 08:42, Ard Biesheuvel wrote:
On Thu, 14 Mar 2024 at 22:53, Ard Biesheuvel ardb@kernel.org wrote:
On Thu, 14 Mar 2024 at 20:35, Ard Biesheuvel ardb@kernel.org wrote:
On Thu, 14 Mar 2024 at 19:32, Radek Podgorny radek@podgorny.cz wrote:
hi,
i seem to be the only one in the world to have this problem. :-(
on one of my machines, updating to 6.6.18 and later (including mainline branch) leads to unbootable system. all other computers are unaffected.
bisecting the history leads to:
commit 8117961d98fb2d335ab6de2cad7afb8b6171f5fe Author: Ard Biesheuvel ardb@kernel.org
Thanks for the report.
I'd like to get to the bottom of this if we can.
Please share as much information as you can about the system
- boot logs
- DMI data to identify the system and firmware etc
- distro version
- versions of boot components (shim, grub, systemd-boot, etc including
config files)
- other information that might help narrow this down.
Also, please check whether the below change makes a difference or not
--- a/drivers/firmware/efi/libstub/x86-stub.c +++ b/drivers/firmware/efi/libstub/x86-stub.c @@ -477,6 +477,8 @@ efi_exit(handle, status); }
memset(&boot_params, 0, sizeof(boot_params));
/* Assign the setup_header fields that the kernel actually
cares about */ hdr->root_flags = 1; hdr->vid_mode = 0xffff;
Another thing you might try is reverting commit
commit 5f51c5d0e905608ba7be126737f7c84a793ae1aa Author: Ard Biesheuvel ardb@kernel.org Date: Tue Sep 12 09:00:52 2023 +0000
x86/efi: Drop EFI stub .bss from .data section
(in v6.6 the commit id is fa244085025f4a8fb38ec67af635aed04297758d)