[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 1 19:12:58 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450
--- Comment #8 from John Baldwin <jhb at FreeBSD.org> ---
So it looks like the panic is a double fault. Please try this hack patch to
see if it cleans up the printfs:
Index: amd64/amd64/trap.c
===================================================================
--- amd64/amd64/trap.c (revision 328557)
+++ amd64/amd64/trap.c (working copy)
@@ -830,6 +830,11 @@
void
dblfault_handler(struct trapframe *frame)
{
+
+ static int dblflt_lock = 0;
+
+ while (!atomic_cmpset_int(&dblflt_lock, 0, 1))
+ cpu_spinwait();
#ifdef KDTRACE_HOOKS
if (dtrace_doubletrap_func != NULL)
(*dtrace_doubletrap_func)();
It won't fix the panic, but hopefully only one CPU will print out the messages
so we can debug this further.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list