From owner-freebsd-current@freebsd.org Tue Jun 7 08:04:54 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 1A024B6EAB4 for ; Tue, 7 Jun 2016 08:04:54 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2ED5170B for ; Tue, 7 Jun 2016 08:04:53 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3rP3yB0LDhzZr6; Tue, 7 Jun 2016 10:04:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1465286688; x=1467101089; bh=RxmkxiG5tV8CQ1MmGcOsiI4EWJ+dJA03xrT VRo9Hg70=; b=QSELO9XiCYfR7nfDQlSXjlZEqBAnF/uRcDlHVqZMyrwJi5amqcT 8i1f+jexJXeOZBln3mKBxa8iKw6WjaQCt3uTv8Gh6Ayut/ZI2pdQUKg2Peuq9pzt plcDBn+Hd2manqRj0E+XJPsNZU5cf7bDjz0FGBCd4CkPsXRjbkWu3wFY= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id JPC-umHEKggf; Tue, 7 Jun 2016 10:04:48 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Tue, 7 Jun 2016 10:04:48 +0200 (CEST) Subject: Re: Virtualbox kernel module on 11-CURRENT To: Rafael Rodrigues Nakano , freebsd-current@freebsd.org References: From: Guido Falsi Message-ID: Date: Tue, 7 Jun 2016 10:04:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 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.22 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: Tue, 07 Jun 2016 08:04:54 -0000 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. -- Guido Falsi