> On Jun 7, 2016, at 01:04, Guido Falsi <m...@madpilot.net> wrote:
> 
>> On 06/07/16 02:23, Rafael Rodrigues Nakano wrote:
>> Hello,
>> 
>> 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"
> 
> 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 sync.
> 
> You will need to build the kernel module yourself to actually match your
> kernel sources.
> 
> 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 was 
the variable name for building ports during buildkernel and installing via 
installkernel. It's been a while though and it's harder to search for it on my 
smartphone..

Cheers,
-Ngie

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

Reply via email to