From owner-freebsd-current@FreeBSD.ORG Fri Jul 20 07:20:28 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFABF106564A for ; Fri, 20 Jul 2012 07:20:28 +0000 (UTC) (envelope-from lukasz.wojcik@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.103]) by mx1.freebsd.org (Postfix) with ESMTP id D41788FC14 for ; Fri, 20 Jul 2012 07:20:28 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; b=kYNEJJ0hk3rTU9djYvdnVGDq3FB2+xAq5MfcvuN8xevuyXYU0OlD+eKNWV5K9yxMWC+XKDHn0M9o HvG6X82C1nTGl87ki5VPK5H+cmnrnVtrH7aZKh3zXMGBRCYZ5vL4 Received: from [192.168.100.103] (46.174.212.99 [46.174.212.99]) by mx.zohomail.com with SMTPS id 1342765769302975.008021007722; Thu, 19 Jul 2012 23:29:29 -0700 (PDT) Message-ID: <5008FA82.8040808@zoho.com> Date: Fri, 20 Jul 2012 08:28:18 +0200 From: Lukasz Wojcik User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: AN References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Zoho-Virus-Status: 2 Cc: freebsd-current@freebsd.org Subject: Re: 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 07:20:29 -0000 On 07/20/12 03:31, AN wrote: > 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 Hi, I find it rather unlikely for this commit to be responsible. I think the important part might be: > Jul 19 21:06:07 FBSD10 kernel: link_elf_obj: symbol vm_contig_grow_cache Thus suggesting this one: http://svnweb.freebsd.org/base?view=revision&revision=238561 as a potential problem. -- Lukasz Wojcik