From owner-freebsd-current@FreeBSD.ORG Fri Jul 20 01:31:33 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 499B3106564A for ; Fri, 20 Jul 2012 01:31:33 +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 07BE98FC08 for ; Fri, 20 Jul 2012 01:31:32 +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 q6K1VPDr072325; Thu, 19 Jul 2012 21:31:30 -0400 (EDT) (envelope-from andy@neu.net) Date: Thu, 19 Jul 2012 21:31:25 -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; format=flowed; charset=US-ASCII 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 Cc: lukasz.wojcik@zoho.com 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: Fri, 20 Jul 2012 01:31:33 -0000 FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #27 r238629: Thu Jul 19 21:07:44 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" Vbox had been running fine before the upgrade. # dmesg |grep vbox KLD file vboxdrv.ko - could not finalize loading Apparently the vbox kernel module is failing to load. Any help is appreciated. ********************************************************* Additional info: >From log file Jul 19 21:06:07 FBSD10 kernel: link_elf_obj: symbol vm_contig_grow_cache undefined Jul 19 21:06:07 FBSD10 kernel: linker_load_file: Unsupported file type Dmesg: Jul 19 21:22:58 FBSD10 kernel: FreeBSD 10.0-CURRENT #27 r238629: Thu Jul 19 21:07:44 EDT 2012 Jul 19 21:22:58 FBSD10 kernel: root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 Jul 19 21:22:58 FBSD10 kernel: link_elf_obj: symbol vm_contig_grow_cache undefined Jul 19 21:22:58 FBSD10 kernel: KLD file vboxdrv.ko - could not finalize loading # kldload vboxdrv.ko kldload: can't load vboxdrv.ko: Exec format error Just a guess, maybe this commit is the issue? http://svnweb.freebsd.org/base?view=revision&revision=238617