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

Submitter:  Jens Mölzer <jmlzr>
Submitted:  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:  other
Release:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-3230.
    Corresponding source code