URL: <https://savannah.gnu.org/bugs/?60249>
Summary: Loading Linux on Vortex86 results in reboot Project: GNU GRUB Submitted by: jmlzr Submitted on: Wed 17 Mar 2021 03:08:15 PM UTC Category: Booting Severity: Major Priority: 5 - Normal Item Group: Hardware-specific Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: Release: other Discussion Lock: Any Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: The GRUB CLI and menu work fine but loading a Linux kernel results in a blinking cursor followed by a reboot after ~1s. GRUB Release: 2.04 (couldn't select that in the "Release" drop down) GRUB and Linux (5.10.19) are built via Buildroot. (GCC 10, binutils 2.35.2, musl as libc, tried it with and without the GRUB patches provided by Buildroot) Booting the disk image via qemu (`qemu-system-i386 -hda disk.img -nographic -cpu 486') works fine and boots the Linux Kernel. But running the same image (written with dd to disk) on a Vortex86SX (essentially a faster clocked i486SX) fails. The HW boots via BIOS/MBR from an IDE disk. The same Linux kernel works fine on the same HW when booted via PXELINUX so I assume this is a bug in GRUB. Using `set debug=all` the last few lines before the reboot are: lib/relocator.c:1197: allocated: 0x18ae000+0x33 lib/relocator.c:1545: Relocs allocated at 0x18ae000 lib/relocator.c:1558: chunk 0xffabd30->0x1000, 0xd0 lib/relocator.c:1558: chunk 0xff9fbf0->0x8b000, 0x5000 lib/relocator.c:1558: chunk 0x100000->0x100000, 0x17ae000 lib/relocator.c:1602: sorted chunk 0x100000->0x100000, 0x17ae000 lib/relocator.c:1602: sorted chunk 0xff9fbf0->0x8b000, 0x5000 lib/relocator.c:1602: sorted chunk 0xffabd30->0x1000, 0xd0 See the attached file for the full debug log (I replaced the part where the menu was displayed with `[menu]` and cut out repetitive messages from `fat.c:552` where it says `[cut 8440 lines]`. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 17 Mar 2021 03:08:15 PM UTC Name: grub_log Size: 16KiB By: jmlzr <http://savannah.gnu.org/bugs/download.php?file_id=51081> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60249> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/