Bug 275353

Summary: Boot loader crashes on AMD Ryzen 5 3600
Product: Base System Reporter: Markus Stoff <markus>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: jfc
Priority: --- Keywords: crash
Version: 14.0-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Crashed boot loader
none
Loading the boot loader
none
Verbose dmesg (from booting 13.2-RELEASE)
none
devinfo -v
none
pciconf -lv none

Description Markus Stoff 2023-11-26 14:17:56 UTC
Created attachment 246582 [details]
Crashed boot loader

Bootloader of 14.0-RELEASE crashes immediately (you don't get to see the boot menu) on AMD Ryzen 5 3600. This happens both with a direct 14.0 install and when upgrading from FreeBSD 13.2 (13.2-RELEASE works fine, though).

See attachments for more details.

Let me know if you need any additional information.
Comment 1 Markus Stoff 2023-11-26 14:18:31 UTC
Created attachment 246583 [details]
Loading the boot loader
Comment 2 Markus Stoff 2023-11-26 14:19:51 UTC
Created attachment 246584 [details]
Verbose dmesg (from booting 13.2-RELEASE)
Comment 3 Markus Stoff 2023-11-26 14:20:55 UTC
Created attachment 246585 [details]
devinfo -v
Comment 4 Markus Stoff 2023-11-26 14:21:21 UTC
Created attachment 246586 [details]
pciconf -lv
Comment 5 John F. Carr 2023-11-26 15:52:05 UTC
The bytes at eip encode

lock notl %edi

which is indeed an invalid instruction corresponding with int=6 (#UD) printed above.

The byte sequence 0xf0, 0xf7, 0xd7 is also invalid in 16 bit mode.