Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2024 21:13:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 219913] emulators/virtualbox-ose-kmod: if the MAXCPU option is not the default for the running kernel, then 'kldload vboxdrv.ko' will result in a kernel panic
Message-ID:  <bug-219913-4077-WjnnmPq2hN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219913-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #12 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Craig Leres from comment #11)
MAXCPU defined in /usr/include/machine/param.h, mp_maxcpus from running kernel
from option MAXCPU.
If you build emulators/virtualbox-ose-kmod without define custom MAXCPU, then
it doesn't work, isn't it?
So patch need possibility to build the port with custom MAXCPU. Isn't it?
Or it's possible to define MAXCPU in somewhere like /etc/make.conf without
manual editing of /usr/include/machine/param.h?

P.S. Sorry or my english…

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

help

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