Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 14:00:10 +0200
From:      Olexander Lysyuk <olysyuk@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   Re: VBoxHeadless: Error -1912 in supR3HardenedMainInitRuntime!
Message-ID:  <CAFxiOH_VVwZDKTzwtcruhkB1BDofmuYZj-%2B6RGTsJHoN5N_h6w@mail.gmail.com>
In-Reply-To: <CAFxiOH_utqRi9m%2BLYvwH08rbGQWiBBE6ym_yEbs8Ji%2BdmpU4Jw@mail.gmail.com>
References:  <CAFxiOH_utqRi9m%2BLYvwH08rbGQWiBBE6ym_yEbs8Ji%2BdmpU4Jw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The problem was in virtualbox-ose-kmod. it's a kernel module. VirtualBox
version was different from vboxdrv version.

If you have reinstalled virtualbox-ose, you should reinstall
virtualbox-ose-kmod too.

2011/11/14 Olexander Lysyuk <olysyuk@gmail.com>

> I'm getting permanent error with virtualbox-ose-4.0.12 on amd64 system. It
> doesn't depend on particular virtual image because VBoxHeadless --help
> fails to start.
>
> I've done a lot of googling and tried evertthing. Due to listings below
> kernel module loaded, COMPAT_FREEBSD32 is set and i have the latest port of
> virtualbox. Can't figure out what is missing...
>
> Listings:
>
> # VBoxHeadless --help
> VBoxHeadless: Error -1912 in supR3HardenedMainInitRuntime!
> VBoxHeadless: RTR3Init failed with rc=-1912
>
> VBoxHeadless: Tip! It may help to reinstall VirtualBox.
>
> /usr/ports/emulators/virtualbox-ose]# kldstat | grep v
>  2    3 0xffffffff80da0000 45ed0    vboxdrv.ko
>  3    2 0xffffffff81022000 28ae     vboxnetflt.ko
>  6    1 0xffffffff81030000 d0c      vboxnetadp.ko
>
>
> # uname -a
> FreeBSD silent 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC
> 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>
> # cat /usr/src/sys/amd64/conf/GENERIC | grep FREEBSD32
> options         COMPAT_FREEBSD32        # Compatible with i386 binaries
>
>
> [/usr/ports/emulators/virtualbox-ose]# pkg_info | grep virtualbox
> virtualbox-ose-4.0.12 A general-purpose full virtualizer for x86 hardware
> virtualbox-ose-kmod-3.2.12 VirtualBox kernel module for FreeBSD
> virtualbox-ose-kmod-4.0.12_1 VirtualBox kernel module for FreeBSD
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFxiOH_VVwZDKTzwtcruhkB1BDofmuYZj-%2B6RGTsJHoN5N_h6w>