2.1.5 –> 2.2, nanobsd 64, random crashes on Atom N280 (HP T5740/T5745)
-
I think I may have figured this out, even though I never managed to collect a proper crash dump. After reading through the responses to my posts I checked in the bios and found that on the HP T5740 / T5745 thin client there is no way to disable hyperthreading (HT) in the bios. I did a bit of research and found a sysctl toggle for hyperthreading.
By adding:
machdep.hyperthreading_allowed=0
to /boot/loader.local.conf I was able to disable hyperthreading.
This seems to have quelled the random crashes on my N280 Atom cpu when running i386 nanobsd in conjunction with ipsec.
Big thanks to all those who chimed in, and especially robi, who put me on to exploring hyperthreading. I hope that this info helps someone else as well. If I run into any more problems I will update this thread.
UPDATE
After some further reading about IPSec crashes on i386, I came across a thread here indicating that a different sysctl toggle may alleviate the problem in a more finely targeted manner than shutting off hyperthreading.I have now remove the HT tweak discussed above, and I'm testing to see if setting:
net.inet.ipsec.directdispatch=0
fixes the issue.Here is the thread and relevant post: https://forum.pfsense.org/index.php?topic=88606.msg501050#msg501050
Cheers,
Bennett