From owner-freebsd-current@FreeBSD.ORG Thu Jul 19 22:20:51 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FCDE106566C for ; Thu, 19 Jul 2012 22:20:51 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (unknown [IPv6:2607:fc50:0:d300:216:3eff:fe54:f1c6]) by mx1.freebsd.org (Postfix) with ESMTP id 322448FC17 for ; Thu, 19 Jul 2012 22:20:51 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id q6JMKdCV071943 for ; Thu, 19 Jul 2012 18:20:46 -0400 (EDT) (envelope-from andy@neu.net) Date: Thu, 19 Jul 2012 18:20:39 -0400 (EDT) From: AN To: freebsd-current@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-0.0 required=5.0 tests=T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net Subject: Problem with Vbox after recent upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 19 Jul 2012 22:20:51 -0000 FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #26 r238626: Thu Jul 19 17:07:52 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 After a recent upgrade, when I try to start a VM it fails with: Failed to open a session for the virtual machine OpenSuse11.4. The virtual machine 'OpenSuse11.4' has terminated unexpectedly during startup with exit code 1. Result Code: NS_ERROR_FAILURE (0x80004005) Component: Machine Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91} Kernel driver not installed(rc=-1908) Make sure the kernel module has been loading successfully If I try to load vboxdrv.ko manually I get: # kldload vboxdrv.ko kldload: can't load vboxdrv.ko: Exec format error # kldstat Id Refs Address Size Name 1 16 0xffffffff80200000 d0deb8 kernel 2 1 0xffffffff80f0e000 10ae520 nvidia.ko 3 3 0xffffffff81fbd000 48558 linux.ko 4 1 0xffffffff82212000 3df6 linprocfs.ko # cat /boot/loader.conf loader_logo=beastie nvidia_load="YES" vboxdrv_load="YES" # Boot-time kernel tuning kern.ipc.shmseg=1024 kern.ipc.shmmni=1024 kern.maxproc=10000 Vbox had been running fine before the upgrade. I recently built world with the following for the first time: # cat /etc/src.conf WITH_BSDCONFIG=YES WITH_BSD_GREP=YES could this affect vbox? # dmesg |grep vbox KLD file vboxdrv.ko - could not finalize loading Apparently the vbox kernel module is failing to load. Any help is appreciated.