From owner-freebsd-current@freebsd.org Fri Jan 29 19:54:17 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 349AEA7201B for ; Fri, 29 Jan 2016 19:54:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 271731294; Fri, 29 Jan 2016 19:54:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 1F8301808; Fri, 29 Jan 2016 19:54:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id C57751803A; Fri, 29 Jan 2016 19:54:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id dj9mk-V7YEhz; Fri, 29 Jan 2016 19:54:14 +0000 (UTC) Subject: Re: Kernel Version Mismatch emulators/virtualbox-ose-additions DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com E83EB18032 To: Brendan Sechter , "freebsd-current@freebsd.org" References: From: Bryan Drewery Organization: FreeBSD Message-ID: <56ABC363.50408@FreeBSD.org> Date: Fri, 29 Jan 2016 11:54:11 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 19:54:17 -0000 On 1/29/16 9:45 AM, Brendan Sechter wrote: > The emulators/virtualbox-ose-additions vboxguest.ko is not loading. The error is as follows. > # svn up /usr/src# cat /etc/make.confPORTS_MODULES=emulators/virtualbox-ose-additions# # rebuild and install kernel+world# shutdown -r now# uname -mvFreeBSD 11.0-CURRENT #0 r287598: Thu Sep 10 14:45:48 JST 2015 root@:/usr/obj/usr/src/sys/MY_CUSTOM_KERNEL amd64# cd /usr/ports/emulators/virtualbox-ose-additions/# make deinstall clean# make install clean# kldload vboxguestKLD vboxguest.ko: depends on kernel - not available or version mismatchlinker_load_file: Unsupported file typekldload: an error occurred while loading the module. Please check dmesg(8) for more details.# dmesg | grep vboxguest -A 1KLD vboxguest.ko: depends on kernel - not available or version mismatchlinker_load_file: Unsupported file type--KLD vboxguest.ko: depends on kernel - not available or version mismatchlinker_load_file: Unsupported file type > Host environment version info is below. > $ uname -mvDarwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64$ vboxmanage --version5.0.14r105127 > Recompile it. If you got it from a package, we are not really handling these correctly. They need to be compile against your kernel, especially when running current or stable. -- Regards, Bryan Drewery