[Bug 219913] emulators/virtualbox-ose-kmod: when MAXCPU option is not default for running kernel 'kldload vboxdrv.ko' will result in kernel panic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 10 19:01:34 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219913
Bug ID: 219913
Summary: emulators/virtualbox-ose-kmod: when MAXCPU option is
not default for running kernel 'kldload vboxdrv.ko'
will result in kernel panic
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: vbox at FreeBSD.org
Reporter: avos at freebsd.org
Assignee: vbox at FreeBSD.org
Flags: maintainer-feedback?(vbox at FreeBSD.org)
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.
Manual "opt_global.h" inclusion from current kernel build into
src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c seems to fix this issue when
MAXCPU is overridden; kern.smp.maxcpus may be used instead (in case if other
'global' options are not so problematic).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list