From owner-freebsd-emulation@FreeBSD.ORG Mon May 26 14:25:53 2014 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2366E3A for ; Mon, 26 May 2014 14:25:53 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D484288E for ; Mon, 26 May 2014 14:25:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s4QEPmD8083215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 26 May 2014 08:25:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4QEPmfU083212; Mon, 26 May 2014 08:25:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 26 May 2014 08:25:48 -0600 (MDT) From: Warren Block To: =?ISO-8859-15?Q?Bernhard_Fr=F6hlich?= Subject: Re: virtualbox-ose-kmod rc scripts In-Reply-To: Message-ID: References: <861tvh62ni.fsf@nine.des.no> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 26 May 2014 08:25:48 -0600 (MDT) X-Mailman-Approved-At: Mon, 26 May 2014 17:59:25 +0000 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= , vbox@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18 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, 26 May 2014 14:25:53 -0000 On Mon, 26 May 2014, Bernhard Fröhlich wrote: > Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" : >> >> First of all, why is there a vboxnet rc script but not a vboxdrv rc >> script? >> >> Second, there is already support in /etc/rc.subr for checking whether a >> module is loaded, and loading it if it isn't. Search for load_kld. >> There is no unload_kld, but IMHO you can just "kldunload" blindly. > > The vboxdrv module needs to be loaded via loader.conf or it can cause > kernel panics. There are also some features that don't work properly if I > remember correctly because of the startup order of startscripts so we can't > use a rc script. Does it still do that? Or maybe only on i386? I've been reloading it after a rebuild for a long time now without problems, but maybe that was because it was on amd64 or just luck. From owner-freebsd-emulation@FreeBSD.ORG Mon May 26 20:06:20 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8266514 for ; Mon, 26 May 2014 20:06:19 +0000 (UTC) Received: from mail.intertainservices.com (mail.intertainservices.com [69.77.177.114]) by mx1.freebsd.org (Postfix) with ESMTP id C15042685 for ; Mon, 26 May 2014 20:06:19 +0000 (UTC) Received: from freebsd.local (unknown [172.16.10.114]) by mail.intertainservices.com (Postfix) with ESMTPSA id CB7B656B5D for ; Mon, 26 May 2014 16:06:16 -0400 (EDT) Message-ID: <53839EB8.3070005@intertainservices.com> Date: Mon, 26 May 2014 16:06:16 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "freebsd-emulation@freebsd.org" Subject: Error installing 4.3.12_1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: CB7B656B5D.AFDEC X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18 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, 26 May 2014 20:06:20 -0000 Hello, I am trying to upgrade to the new realease, however the installation fails with this error. This is on 10.0-STABLE #0 r266198. Thanks. [root@freebsd /usr/ports/emulators/virtualbox-ose]# make install ===> Installing for virtualbox-ose-4.3.12_1 ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/etc/rc.d/vboxnet - found ===> virtualbox-ose-4.3.12_1 depends on executable: cdrecord - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtGui.so - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtNetwork.so - found ===> virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found ===> virtualbox-ose-4.3.12_1 depends on executable: gtk-update-icon-cache - found ===> virtualbox-ose-4.3.12_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng15.so.15) ===> virtualbox-ose-4.3.12_1 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so.2) ===> virtualbox-ose-4.3.12_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so.7) ===> virtualbox-ose-4.3.12_1 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so.3.8.3) ===> virtualbox-ose-4.3.12_1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL-1.2.so.11) ===> virtualbox-ose-4.3.12_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so.0) ===> virtualbox-ose-4.3.12_1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so.0) ===> virtualbox-ose-4.3.12_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0) ===> virtualbox-ose-4.3.12_1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3) ===> virtualbox-ose-4.3.12_1 depends on shared library: libIDL-2.so - found (/usr/local/lib/libIDL-2.so.0.0.0) ===> virtualbox-ose-4.3.12_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so.0.3400.1) ===> Checking if emulators/virtualbox-ose already installed ===> Registering installation for virtualbox-ose-4.3.12_1 pkg-static: lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/bindings/): No such file or directory pkg-static: lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/): No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose *** Error code 1 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose