Created attachment 190474 [details]
Boot log from successful boot
System is an HP P2-1310 box with "AMD E2-1800 Accelerated Processor".
When running FreeBSD 11.1, the system will hang on boot unless "kern.smp.disabled=1" is in /boot/loader.conf or unless "Safe Mode" (which adds that option plus some others) is selected.
This bug seems like it is probably related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220277 (Bug 220277), however, compiling a kernel without EARLY_AP_STARTUP does not help, and applying the code patch to OsdSchedule.c from that patch does not help either.
The bug seems to exist in the current (as of a few days ago) 11 STABLE as well.
As I want to run vbox from time to time, I would really like all my cores to be usable..
Attached is /var/run/dmesg.boot from a successful boot (ie kern.smp.disabled=1 is set).
I just upgraded to 11.2-RELEASE-p4 and can confirm the bug is still present. Has anyone looked at this? I see other people with what I think is the same issue, but nobody with a solution.
Can you take a picture of the last screenful of boot messages that you get if you re-enable SMP and also enable verbose boot option?
OK, I will attach two images. One is of the whole screen at the time of lock, the second is zoomed a bit more on the final lines so they are more legible (but is an image of the same screen as the first).
Created attachment 198603 [details]
Full screen at time of boot hang 11.2-RELEASE p4
Created attachment 198604 [details]
Bottom screen at time of boot hang 11.2-RELEASE p4
This issue is fixed by R12.1 (and I presume 12.0, though I did not try it).
It still exists in 11.x up through 11.3.
I have upgraded to 12.1, so I can no longer easily test any proposed fixes.