Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 04:27:58 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Guido Falsi <mad@madpilot.net>
Cc:        Rafael Rodrigues Nakano <mseqs@bsd.com.br>, freebsd-current@freebsd.org
Subject:   Re: Virtualbox kernel module on 11-CURRENT
Message-ID:  <DACBB8DD-4964-45A9-8B0D-DFF8C0F42BE2@gmail.com>
In-Reply-To: <b39c2c66-c52b-1a2d-d3b5-eb961e9f54b9@madpilot.net>
References:  <CA%2B627Jrt6RTxgdm_14qbT_SQa9jjKH1NteV%2BxARJwazU0hgOzw@mail.gmail.com> <b39c2c66-c52b-1a2d-d3b5-eb961e9f54b9@madpilot.net>

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

> On Jun 7, 2016, at 01:04, Guido Falsi <mad@madpilot.net> wrote:
>=20
>> On 06/07/16 02:23, Rafael Rodrigues Nakano wrote:
>> Hello,
>>=20
>> I tried installing virtualbox from packages, building it from sources,
>> trying the GENERIC kernel but everytime I can't start the kernel module
>> 'vboxdrv', it says:
>> "KLD vboxdrv.ko: depends on kernel - not available or version mismatch.
>> linker_load_file: Unsupported file type"
>=20
> The virtualbox module needs to be in full sync with the kernel. Most
> probably the sources being used by the cluster for building packages on
> head are a little different from yours, so the kernel module is not in syn=
c.
>=20
> You will need to build the kernel module yourself to actually match your
> kernel sources.
>=20
> It's not really a problem or a bug, it's how it works. On head there is
> no warranty about the KBI. This cannot happen on releases and stable
> because the KBI is not going to change there.

Look for "PORTS_MODULES" (case sensitive) in "man 5 src.conf". I think that w=
as the variable name for building ports during buildkernel and installing vi=
a installkernel. It's been a while though and it's harder to search for it o=
n my smartphone..

Cheers,
-Ngie

> --=20
> Guido Falsi <mad@madpilot.net>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DACBB8DD-4964-45A9-8B0D-DFF8C0F42BE2>