11.1-RELEASE virtualbox-ose panic: ncpus is 0 with non-zero map
Craig Leres
leres at freebsd.org
Fri Apr 6 04:04:12 UTC 2018
On 04/04/18 21:15, Eugene Grosbein wrote:
> 05.04.2018 5:42, Craig Leres wrote:
>
>> I just verified that /boot/modules/vbox*.ko match the ones in the package
>> in /public/FreeBSD:11:amd64/latest/All/virtualbox-ose-kmod-5.2.8_1.txz on my server.
>
> This is known problem that was raised multiple times in several mailing lists.
Thanks for that; once I went looking I found this PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219913
Due to ABI difference (vboxdrv passes cpuset_t parameter (bitfield
with CPU_SETSIZE -> MAXCPU bits) into smp_rendezvous_cpus())
kernel panics with "ncpus is 0 with non-zero map" message.
Part of my normal FreeBSD upgrade process was to raise MAXCPU to 64. As
it turns out that is already the default for 10 and the default was
*raised* to 256 for 11.
So the solution is: don't mess with MAXCPU.
Craig
More information about the freebsd-hackers
mailing list