bugGNU GRUB - Bugs: bug #60249, Loading Linux on Vortex86 results...


You are not allowed to post comments on this tracker with your current authentication level.

bug #60249: Loading Linux on Vortex86 results in reboot

Submitted by:  Jens Mölzer <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: 
Open/Closed:  Open Release: 
Release:  other Reproducibility:  Every Time
Planned Release:  None

Wed 17 Mar 2021 03:08:15 PM UTC, original submission:  

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]`.

Jens Mölzer <jmlzr>


Attached Files
file #51081:  grub_log added by jmlzr (16KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jmlzr (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-17 jmlzr Attached File- => Added grub_log, #51081

    Back to the top

    Powered by Savane 3.7