FreeBSD 5.2.1 kernel w/ SMP under high load = panic

John Baldwin jhb at
Mon Aug 2 13:57:56 PDT 2004

On Sunday 01 August 2004 09:08 am, Hugo Silva wrote:
> I am running a Dual Xeon 2.8ghz w/ SMP, SCHED_ULE on FreeBSD
> 5.2.1-RELEASE-p9.
> Whenever I load the server a bit more (let seti at home run, compile stuff in
> multiple jails, etc), it will simple go offline. I confirmed with the
> datacenter and it is indeed a panic, but the datacenter didn't give me the
> panic message. I know for *sure* it's because of the high loads.

Hmm, we'd really need the panic message to even start debugging it.

> I need to sort this out, this is a powerful server being cut because of
> FreeBSD/SMP, and I know there is a kernel option to prevent the panic, I
> read about it ages ago on a forum. But I can't locate it. That user said
> if he disabled SMP, panics would stop. But another user suggested adding a
> kernel option (which I simply don't remember), and panics stopped, even
> with SMP.
> I tried KVA_PAGES=512, but it only caused another panic, this time as soon
> as the system started up..
> syncing disks, buffers remaining... panic: pmap_invalidate_range:
> interrupts disabled
> cpuid = 0;
> boot() called on cpu#0
> uptime: 9s

Unfortunately, I'd really need the backtrace to see how to fix this panic.

John Baldwin <jhb at>  <><
"Power Users Use the Power to Serve"  =

More information about the freebsd-smp mailing list