bugGNU GRUB - Bugs: bug #62136, FreeBSD fails to boot on UEFI...

 
 

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

bug #62136: FreeBSD fails to boot on UEFI systems

Submitter:  Sergey Lisov <sleirsgoevy>
Submitted:  Thu 03 Mar 2022 09:31:44 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  other
Release:  Reproducibility:  None
Planned Release:  None

Thu 03 Mar 2022 05:06:54 PM UTC, comment #1: 

Fixed the patch not building on BIOS version of GRUB.

(file #52955)

Sergey Lisov <sleirsgoevy>
Thu 03 Mar 2022 09:31:44 AM UTC, original submission:  

GRUB's kfreebsd command fails to boot FreeBSD on a UEFI system. There are no errors, but there are no signs of FreeBSD booting either.

There are two reasons for this:

  • GRUB does not know how to pass EFI framebuffer data to FreeBSD.
  • When booted with UEFI, FreeBSD relies on the bootloader for finding the ACPI RSDP table. It should be passed in the 'hint.acpi.0.rsdp' kernel environment variable ('kFreeBSD.hint.acpi.0.rsdp' in GRUB).


Note: I am booting the vanilla FreeBSD 13.0 kernel using GRUB's kfreebsd command. Neither the FreeBSD's legacy bootloader nor the FreeBSD's EFI bootloader are involved.

GRUB does support passing EFI framebuffer data to NetBSD, a patch is attached that expands this feature to FreeBSD.

Sergey Lisov <sleirsgoevy>

 

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

Attached Files
file #52955:  patch_v2.txt added by sleirsgoevy (7KiB - text/plain)
file #52953:  patch.txt added by sleirsgoevy (7KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sleirsgoevy (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-03 sleirsgoevy Attached File- Added patch_v2.txt, #52955
    2022-03-03 sleirsgoevy Attached File- Added patch.txt, #52953

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code