Bug 1215151 - [Lenovo X13s] grub2 always runs into unexpected system reset when jumping to Linux kernel
Summary: [Lenovo X13s] grub2 always runs into unexpected system reset when jumping to ...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Current
Hardware: aarch64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-08 08:03 UTC by Chester Lin
Modified: 2023-11-28 11:31 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chester Lin 2023-09-08 08:03:02 UTC
On some aarch64 CPUs, the grub2 can always experience unexpected system reboot while jumping to the Linux kernel. Based on the patch suggested by ARM [merged in Fedora39]:

https://github.com/rhboot/grub2/commit/4f9d3f4f8d7866c69e52ba7d81562daea38b22e6

The kernel pages are allocated as EFI_LOADER_DATA rather than EFI_LOADER_CODE, which still causes execution failures on some arm64 machines, such as Microsoft Surface Pro X [CPU: Microsoft SQ1 co-developed with Qualcomm] and Lenovo X13s [Qualcomm Snapdragon 8cx gen3].

In order to enable openSUSE on Lenovo X13s and other QCOM-based aarch64 machines in the future, it's necessary to solve this boot issue on arm64.
Comment 1 Chester Lin 2023-09-08 08:17:18 UTC
I have created a pull request based on the latest BaseSystem:grub2

https://build.opensuse.org/request/show/1109697
Comment 2 Michael Chang 2023-09-12 02:14:22 UTC
The patch has been submitted to factory so let's set the resolution to fixed. Feel free to reopen if you find it not work for you. Thanks.