Problem with Vbox after recent upgrade

From: AN <andy_at_neu.net>
Date: Thu, 19 Jul 2012 21:31:25 -0400 (EDT)
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #27 r238629: Thu Jul 19 
21:07:44 EDT 2012     root_at_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_at_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
Received on Thu Jul 19 2012 - 23:31:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC