From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 14 12:00:12 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07A37106564A for ; Mon, 14 Nov 2011 12:00:11 +0000 (UTC) (envelope-from olysyuk@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AC8288FC13 for ; Mon, 14 Nov 2011 12:00:11 +0000 (UTC) Received: by ggnk3 with SMTP id k3so8599946ggn.13 for ; Mon, 14 Nov 2011 04:00:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GgGxYcvFlxlUQBcVF6oXcH5TZ3FYZzTehTbe389pKe4=; b=m29/rQAsxJ22jYXIcHvR+6i1gDG/uqmwslgY5k2Z2eFF9tjp+2ygs88+9UdNSCf7R4 C5hr1mrV2+ZYwXEWTx/nriRUJkezUeQ9M5s3UtQ4j258gAtGjM2sxBU466FmmONRe/jw lIOIN7W5ssAYDcLDFURpF8URBm3QOUSlWZChI= MIME-Version: 1.0 Received: by 10.236.154.74 with SMTP id g50mr14490090yhk.72.1321272010919; Mon, 14 Nov 2011 04:00:10 -0800 (PST) Received: by 10.100.164.18 with HTTP; Mon, 14 Nov 2011 04:00:10 -0800 (PST) In-Reply-To: References: Date: Mon, 14 Nov 2011 14:00:10 +0200 Message-ID: From: Olexander Lysyuk To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: VBoxHeadless: Error -1912 in supR3HardenedMainInitRuntime! X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2011 12:00:12 -0000 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 > 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 > >