Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert GRUB2 patch causing boot failure on some old x86_64 BIOSes #3324

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

sairon
Copy link
Member

@sairon sairon commented Apr 24, 2024

GRUB 2.12 release contains a change of the loader [1] used for loading the kernel on x86_64 platform. This change was identified to cause boot failure on some old Intel Atom boards with the NM10 chipset, and possibly some others. Revert this patch before we get a more proper fix for the issue.

[1] https://git.savannah.gnu.org/cgit/grub.git/commit/?id=cfbfae1aef0694b416aa199291cfef7596cdfc20

Fixes #3305

GRUB 2.12 release contains a change of the loader [1] used for loading
the kernel on x86_64 platform. This change was identified to cause boot
failure on some old Intel Atom boards with the NM10 chipset, and
possibly some others. Revert this patch before we get a more proper fix
for the issue.

[1] https://git.savannah.gnu.org/cgit/grub.git/commit/?id=cfbfae1aef0694b416aa199291cfef7596cdfc20

Fixes #3305
@sairon sairon added board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) grub2 labels Apr 24, 2024
@sairon sairon requested a review from agners April 24, 2024 16:39
@sairon sairon merged commit 478538e into dev Apr 25, 2024
2 checks passed
@sairon sairon deleted the fix-intel-nm10-boot branch April 25, 2024 06:33
@damitch300
Copy link

damitch300 commented May 8, 2024

@sairon on my HP T620 i had the Grub update installed and have the issue. Somehow i also cant boot a usb ubuntu bootable anymore. The screen stays black after selecting try out Ubuntu. Do you have any idea how to fix the issue on Grub now?

Edit: I fixed it, i used Boot-Repair-Disk. Ubuntu or Lubuntu or any other linux did not want to start (Black screen). But Boot-Repair-Disk did, i used it to exchange the bootia32.efi and bootx64.efi for the older 2.11 version. HA started back up and i updated to 2.13.

@Nismonx
Copy link

Nismonx commented May 9, 2024

not good, after the update my intel atom setup got stuck with 12.2 and claiming the 12.3 update still avalable. So I updated again... and still stuck in 12.2
I guess I'll have to plug a monitor and keyboard and switch betwen Slot A and B manualy.

sairon added a commit that referenced this pull request Jul 9, 2024
…OSes (#3324)"

This reverts commit 478538e.

For HAOS release 13.0 the patch that diverges our GRUB build from upstream to
fix boot on some old Atom boards should be reverted. While this patch fixed
issues on some boards, it significantly changes how the kernel is loaded with
GRUB 2.12 and causes issues on other, more recent devices. There's a call to
action for users of those old boards in #3305 to gather information which
should result in upstream patch targeted specifically to the boards affected
[1].

Fixes #3348

[1] https://lists.gnu.org/archive/html/grub-devel/2024-07/msg00009.html
sairon added a commit that referenced this pull request Jul 30, 2024
Previous revert of GRUB2 change that introduced usage of the generic EFI loader
for all x86 boards in #3324 caused regressions, the one confirmed is #3348.
This commit adds a specific patch that identifies the broken platforms based
on SMBIOS data gathered in #3305 and falls back to the legacy loader there.

Tested on Intel D525MW (falls back) and QEMU (no fallback).
sairon added a commit that referenced this pull request Jul 31, 2024
…3498)

* Use GRUB2 legacy loader only on some Intel Atom boards specifically

Previous revert of GRUB2 change that introduced usage of the generic EFI loader
for all x86 boards in #3324 caused regressions, the one confirmed is #3348.
This commit adds a specific patch that identifies the broken platforms based
on SMBIOS data gathered in #3305 and falls back to the legacy loader there.

Tested on Intel D525MW (falls back) and QEMU (no fallback).

* Enable GRUB's smbios module

Having smbios command in GRUB can help in future debugging, e.g. to add more
CPUs that should use the linux loader fallback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) cla-signed grub2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GRUB failing to load kernel on Intel Atom boards (Intel NM10 chipset)
4 participants