From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 19:44:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35913106568F for ; Thu, 17 Sep 2009 19:44:22 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 628328FC21 for ; Thu, 17 Sep 2009 19:44:20 +0000 (UTC) Received: (qmail 88691 invoked by uid 98); 17 Sep 2009 20:51:22 +0100 Received: from 192.168.0.135 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.135):. Processed in 4.186029 secs); 17 Sep 2009 19:51:22 -0000 Received: from unknown (HELO ?192.168.0.135?) (192.168.0.135) by lerwick.hopto.org with SMTP; 17 Sep 2009 20:51:17 +0100 From: Craig Butler To: Jeronimo Calvo In-Reply-To: References: <20090917190053.GA5250@osiris.chen.org.nz> <1253218609.1320.4.camel@coyote.lerwick.hopto.org> Content-Type: text/plain Date: Thu, 17 Sep 2009 20:34:57 +0000 Message-Id: <1253219698.1320.13.camel@coyote.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Jonathan Chen Subject: Re: Virtualbox does not lunch (FREEBSD 7.2 STABLE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 19:44:22 -0000 On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: > True... > > when runned > > $truss VirtualBox > > it gives me Error in SUPR3hardenedmain... > > How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B > > Thanks a lot!! > > 2009/9/17 Craig Butler : > > On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: > >> On Thu, Sep 17, 2009 at 06:36:08PM +0000, Jeronimo Calvo wrote: > >> > Hi folks! > >> > > >> > I do have a problem when launching VirtualBox (installed from source), > >> > when launched as a normal user it doesnt lunch. Takes few secs... but > >> > nothing happens... > >> > >> Did you "kldload vboxdrv.ko"? > > > > Hi > > > > Have you tried running it under truss ? > > > > I think you might find that it will say - Error in SUPR3HardenedMain > > and hang... > > > > Solution; > > Rebuild and install Virtualbox port after editing Config.kmk so that > > VBOX_WITH_HARDENING = 0 > > > > Hope it helps > > > > Cheers > > > > Craig Butler > > > > > >