From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 28 14:33:33 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 A7C5F106566B; Mon, 28 Dec 2009 14:33:33 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 3410B8FC20; Mon, 28 Dec 2009 14:33:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=webmail.itac.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1NPGf5-0002aC-Q2; Mon, 28 Dec 2009 15:33:31 +0100 Received: from 78.142.74.81 (SquirrelMail authenticated user decke@bluelife.at) by webmail.itac.at with HTTP; Mon, 28 Dec 2009 15:33:31 +0100 (CET) Message-ID: <2534a9adb4738f1205c69bbea9d89e12.squirrel@webmail.itac.at> In-Reply-To: <20091228152528.732bcd14@ernst.jennejohn.org> References: <20091227232425.GA38213@bsdcrew.de> <20091228152528.732bcd14@ernst.jennejohn.org> Date: Mon, 28 Dec 2009 15:33:31 +0100 (CET) From: "Bernhard Froehlich" To: gary.jennejohn@freenet.de User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 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:33:33 -0000 On Mon, December 28, 2009 3:25 pm, Gary Jennejohn wrote: > 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. Looks like you installed the guest additions on the host. You should not do that. They should only be installed on FreeBSD guests running in an virtualbox. Nevertheless could you please see in /var/log/messages what error was logged when you tried to load vboxguest.ko ? -- Bernhard Fröhlich http://www.bluelife.at/