https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219913

--- Comment #22 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=8d72823b38b779036014938cc250f859b27fb3f7

commit 8d72823b38b779036014938cc250f859b27fb3f7
Author:     Craig Leres <le...@freebsd.org>
AuthorDate: 2025-01-07 16:10:57 +0000
Commit:     Vladimir Druzenko <v...@freebsd.org>
CommitDate: 2025-01-07 16:10:57 +0000

    emulators/virtualbox-ose-kmod: Add check for MAXCPU and mp_maxcpus before
load vboxdrv.ko

    If the MAXCPU option is not the default for the running kernel, then
    'kldload vboxdrv.ko' will result in a kernel panic.
    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.

    PR:     219913

 emulators/virtualbox-ose-kmod/Makefile             |  1 +
 ...ox_HostDrivers_Support_freebsd_SUPDrv-freebsd.c | 37 +++++++++++++++-------
 2 files changed, 27 insertions(+), 11 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to