From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 22:04:50 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 3388110656C3 for ; Thu, 17 Sep 2009 22:04:50 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id B17698FC12 for ; Thu, 17 Sep 2009 22:04:49 +0000 (UTC) Received: by fxm6 with SMTP id 6so349110fxm.43 for ; Thu, 17 Sep 2009 15:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PVE6dGEVGC8N0+L70Kbx4W88ZwR/jllywfx02CvwG/c=; b=Hz1YynaRJ9adGDrVKsgoEdIBB8w/qMUdbqr9EdNQUmKwXbg9av52aZQpbQhY31gNO7 lBlkNp+CR2pFPWec9lRsJ4I7T7VllrAjowjYrRfJkdHXRGE3scr8a2+7g5eZ/BIe+ILG z68aUaAqgF3Gns/3AdHEJOGlyE/Y+xKUdheyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=x8p1rXmB9I8NyKC1LRagWAn4E/u6g+BulNTGCMkk9TQ5VeGYMPpL8za7N4+Dt0Itb0 0ePs3uS6seOxf7l5yvavg9merD4mNuqxUtwx6EN6udc4HE8NJs4ajomA7woUe3ftXDuZ j2AGkZ/ZhAei7mOYEM+7nhs/QS29Hc0dw1GA8= MIME-Version: 1.0 Received: by 10.204.36.207 with SMTP id u15mr846431bkd.39.1253225088779; Thu, 17 Sep 2009 15:04:48 -0700 (PDT) In-Reply-To: <1253227916.46513.10.camel@coyote.lerwick.hopto.org> References: <1253218609.1320.4.camel@coyote.lerwick.hopto.org> <1253219698.1320.13.camel@coyote.lerwick.hopto.org> <1253223838.46513.1.camel@coyote.lerwick.hopto.org> <1253224538.46513.5.camel@coyote.lerwick.hopto.org> <1253227916.46513.10.camel@coyote.lerwick.hopto.org> Date: Thu, 17 Sep 2009 22:04:48 +0000 Message-ID: From: Jeronimo Calvo To: Craig Butler Content-Type: text/plain; charset=ISO-8859-1 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 22:04:50 -0000 for some reason, it gives me the same error... the funny thing is pkgdb gives me a nice colection of errors as well :D # pkg_info | grep virtualbox virtualbox-3.0.51.r22226 A general-purpose full virtualizer for x86 hardware # pkg_delete -f virtualbox-3.0.51.r22226 pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) 2009/9/17 Craig Butler : > On Thu, 2009-09-17 at 21:50 +0000, Jeronimo Calvo wrote: >> I am still having the same issue... >> >> I think a pkgdb -F should solve this... >> >> what do u think? > It cant hurt... pkg_delete -f should have solved it tho according to > the manual; > > -f, --force > Force removal of the package, even if a dependency is > recorded or the deinstall or require script fails. > >> >> 2009/9/17 Craig Butler : >> > On Thu, 2009-09-17 at 20:56 +0000, Jeronimo Calvo wrote: >> >> same thing... >> >> >> >> when making >> >> >> >> #make deinstall i get the same error: >> >> >> >> ===> Deinstalling for emulators/virtualbox >> >> > ===> Deinstalling virtualbox-3.0.51.r22226 >> >> > pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist >> >> > pkg_delete: unable to completely remove directory >> >> > '/usr/local/lib/virtualbox/nls' >> >> > pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' >> >> > pkg_delete: couldn't entirely delete package (perhaps the packing list is >> >> > incorrectly specified?) >> >> >> >> and when making install, keep saying that is already installed :S >> > >> > try pkg_delete with the -f flag; >> > >> > you'll need to; >> > >> > # pkg_info | grep virtualbox >> > # pkg_delete -f virtualbox- >> > >> > then in virtualbox port dir.... >> > >> > # make install >> > >> > I suspect the make reinstall script failed to symlink the VirtualBox >> > executable into /usr/local/bin >> > >> >> >> >> 2009/9/17 Craig Butler : >> >> > On Thu, 2009-09-17 at 20:45 +0000, Jeronimo Calvo wrote: >> >> >> I am getting the following error on #make deinstall >> >> >> >> >> >> # make deinstall >> >> >> ===> Deinstalling for emulators/virtualbox >> >> >> ===> Deinstalling virtualbox-3.0.51.r22226 >> >> >> pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist >> >> >> pkg_delete: unable to completely remove directory >> >> >> '/usr/local/lib/virtualbox/nls' >> >> >> pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' >> >> >> pkg_delete: couldn't entirely delete package (perhaps the packing list is >> >> >> incorrectly specified?) >> >> >> >> >> >> Btw, skipping that step and doing a #make reinstall >> >> >> >> >> >> it only takes few secs... and gives >> >> >> >> >> >> VirtualBox was installed. >> >> >> >> >> >> but when i run it as a normal user i get: >> >> >> >> >> >> $ VirtualBox >> >> >> bash: /usr/local/bin/VirtualBox: No such file or directory >> >> > >> >> > ok maybe the reinstall is broke... try; >> >> > >> >> > # make deinstall >> >> > # make install >> >> > >> >> > >> >> >> >> >> >> >> >> >> >> >> >> 2009/9/17 Craig Butler : >> >> >> > 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 >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> > >> > > >