Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 08:28:18 +0200
From:      Lukasz Wojcik <lukasz.wojcik@zoho.com>
To:        AN <andy@neu.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problem with Vbox after recent upgrade
Message-ID:  <5008FA82.8040808@zoho.com>
In-Reply-To: <alpine.BSF.2.00.1207192104460.72192@mail.neu.net>
References:  <alpine.BSF.2.00.1207192104460.72192@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5008FA82.8040808>