https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285588

            Bug ID: 285588
           Summary: Bootloader panics with AMD Radeon Pro W5500 GPU with
                    free: guard2 fail message
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

I have an AMD Radeon Pro W5500 GPU, which installed in a Lenovo Thinkstation P5
workstation.

This boots fine with Linux (and I get to X11/Wayland there). 15.0-CURRENT boots
to the point of loading the installation programme, but it doesn't seem to work
on earlier versions. In fact, it immediately crashes when I try booting the
following:

1. An installation of 14.2-RELEASE which I made after replacing the GPU with
another, on this workstation.
2. A 14.2-RELEASE installer image
3. A 14.2-STABLE snapshot with timestamp 20250306-057409d0259f-270695
4. An installation of 14.2-RELEASE from my Thinkpad X201s laptop (with
Coreboot+EDK2 EFI)

Booting the installation (#1 above), after installing the Radeon Pro W5500 GPU,
I get the following behaviour. This is at the earliest stages of the bootloader
proper, not anything to do with radeondrm or amdgpu drivers from ports.

The message is:
panic: free: guard2 fail @ 0x51e302d0 + 155521 from unknown:0
--> Press a key on the console to reboot <--

The FreeBSD logo is displayed, and keyboard input does work. If I press a key,
it does reboot.

The following text precedes the message. It is transcribed from a video because
the crash happens almost immediately, so there may be transcription errors. I
have omitted the UUIDs.

Consoles: EFI console
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/amd64 EFI loader, revision 3.0

    Command line arguments: loader.efi
    Image base: 0x53abd000
    EFI version: 2.90
    EFI firmware: American Megatrends (rev 5.32)
    Console: efi (0)
    Load Path: \EFI\FREEBSD\LOADER.EFI
    Load Device:
PciRoot(0x3)/Pci(0x5,0x0)/Pci(0x0,0x0)/NVMe(0x1,14-46-63-45-01-75-A0-00)/HD(1,GPT,<UUID>,0x28,0x82000)
    BootCurrent: 0004
    BootOrder: 0004[*] 0005 0001 0002 0000
    BootInfo Path: HD(1,GPT,<UUID>,0x28,0x820000)/\EFI\FREEBSD\LOADER.EFI

Ignoring Boot0004: Only one DP found
Trying ESP:
PciRoot(0x3)/Pci/(0x5,0x0)/Pci(0x0,0x0)/NVMe(0x1,14-46-63-45-01-75-A0-00)/HD(1,GPT,<UUI>,0x28,0x820000)
Setting currdev to disk0p1:
Trying:
PciRoot(0x3)/Pci(0x5,0x0)/Pci(0x0,0x0)/NVMe(0x1,14-46-63-45-01-75-A0-00)/HD(2,GPT,<UUID>,0x82028,0x400)
Setting currdev to disk0p2:
Trying:
PciRoot(0x3)/Pci(0x5,0x0)/Pci(0x0,0x0)/NVMe(0x1,14-46-63-45-01-75-A0-00)/HD(3,GPT,<UUID>,0x82800,0x400000)
Setting currdev to disk0p3:
Trying:
PciRoot(0x3)/Pci(0x5,0x0)/Pci(0x0,0x0)/NVMe(0x1,14-46-63-45-01-75-A0-00)/HD(4,GPT,<UUID>,0x482800,0x5F7FF000)
Setting currdev to zfs:zroot/ROOT/default:

There are then unreadable messages about reading loader.conf, loader.conf.local
(I think? It's so quick, it's not captured on a frame), then the final guard2
fail message.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to