From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 28 14:25:35 2009 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 B7932106566B; Mon, 28 Dec 2009 14:25:35 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 48F2F8FC1A; Mon, 28 Dec 2009 14:25:35 +0000 (UTC) Received: from [195.4.92.18] (helo=8.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NPGXN-0007S1-QE; Mon, 28 Dec 2009 15:25:33 +0100 Received: from p57ae094e.dip0.t-ipconnect.de ([87.174.9.78]:45139 helo=ernst.jennejohn.org) by 8.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NPGXL-0003jJ-QN; Mon, 28 Dec 2009 15:25:32 +0100 Date: Mon, 28 Dec 2009 15:25:28 +0100 From: Gary Jennejohn To: Martin Wilke Message-ID: <20091228152528.732bcd14@ernst.jennejohn.org> In-Reply-To: <20091227232425.GA38213@bsdcrew.de> References: <20091227232425.GA38213@bsdcrew.de> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: Call for tester: VirtualBox 3.1.2 for FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 14:25:35 -0000 On Mon, 28 Dec 2009 00:24:26 +0100 Martin Wilke wrote: > # /usr/local/etc/rc.d/vboxguest.sh start > This shell script has a problem. It looks in /boot/kernel for the module but the port installs it under /boot/modules. I also can't load this module (after loading vboxdrv.ko): sh -x /usr/local/etc/rc.d/vboxguest.sh start + VBOXGUESTFILE='' + SILENTUNLOAD='' + check_root + id -u + test 0 -ne 0 + get_module_path + moduledir=/boot/modules + modulepath=/boot/modules/vboxguest.ko + test -f /boot/modules/vboxguest.ko + VBOXGUESTFILE=/boot/modules/vboxguest.ko + check_if_installed + test /boot/modules/vboxguest.ko -a -f /boot/modules/vboxguest.ko + return 0 + test '' = silentunload + start + module_loaded + kldstat + grep vboxguest + loadentry='' + test -z '' + return 1 + /sbin/kldload vboxguest.ko kldload: can't load vboxguest.ko: Exec format error + module_loaded + kldstat + grep vboxguest + loadentry='' + test -z '' + return 1 + abort 'Failed to load vboxguest.' + echo 'Failed to load vboxguest.' Failed to load vboxguest. + exit 1 file /boot/modules/vbox*.ko /boot/modules/vboxdrv.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped /boot/modules/vboxguest.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped /boot/modules/vboxnetadp.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped /boot/modules/vboxnetflt.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped Does vboxguest.ko have silent dependencies on other vbox modules? I only loaded vboxdrv.ko. --- Gary Jennejohn