[Bug 270805] loader.efi: crashes with USB device attached

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Apr 2023 21:17:38 UTC

            Bug ID: 270805
           Summary: loader.efi: crashes with USB device attached
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fuz@FreeBSD.org

I am running FreeBSD 13.2 on my Windows 2023 Dev Kit.  I had to apply D37765
and cherry pick D38031 to get this to work.  hw.pac.enable=0 is needed in
/boot/loader.conf to make the kernel boot.  I have installed FreeBSD on ZFS on
the internal NVMe SSD.

Now I have noticed the following problem: if I have any USB storage device
attached during boot, the loader crashes with a synchronous exception after
displaying the beastie menu.  I have unfortunately not managed to capture the
address shown.

With no USB storage device attached, the device boots just fine.

Due to the device now being in a data center I will not be able to do any boot
loader testing.  I can however provide you with any other information you might
need and give you copies of the binaries involved.

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