Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2017 19:01:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219913] emulators/virtualbox-ose-kmod: when MAXCPU option is not default for running kernel 'kldload vboxdrv.ko' will result in kernel panic
Message-ID:  <bug-219913-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219913

            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@FreeBSD.org
          Reporter: avos@freebsd.org
          Assignee: vbox@FreeBSD.org
             Flags: maintainer-feedback?(vbox@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 w=
hen
MAXCPU is overridden; kern.smp.maxcpus may be used instead (in case if other
'global' options are not so problematic).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219913-13>