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: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to