Bug 275353 - Boot loader crashes on AMD Ryzen 5 3600
Summary: Boot loader crashes on AMD Ryzen 5 3600
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 14.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2023-11-26 14:17 UTC by Markus Stoff
Modified: 2023-11-26 15:52 UTC (History)
1 user (show)

See Also:


Attachments
Crashed boot loader (126.64 KB, image/png)
2023-11-26 14:17 UTC, Markus Stoff
no flags Details
Loading the boot loader (49.02 KB, image/png)
2023-11-26 14:18 UTC, Markus Stoff
no flags Details
Verbose dmesg (from booting 13.2-RELEASE) (58.15 KB, text/plain)
2023-11-26 14:19 UTC, Markus Stoff
no flags Details
devinfo -v (14.09 KB, text/plain)
2023-11-26 14:20 UTC, Markus Stoff
no flags Details
pciconf -lv (11.01 KB, text/plain)
2023-11-26 14:21 UTC, Markus Stoff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.