From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 5 08:19:42 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 8482F1065670 for ; Sun, 5 Jul 2009 08:19:42 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF3B8FC18 for ; Sun, 5 Jul 2009 08:19:42 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.15] (helo=5.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1MNMwn-0002fs-Cp; Sun, 05 Jul 2009 10:19:41 +0200 Received: from tb438.t.pppool.de ([89.55.180.56]:29987 helo=ernst.jennejohn.org) by 5.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1MNMwl-00058Y-Bg; Sun, 05 Jul 2009 10:19:39 +0200 Date: Sun, 5 Jul 2009 10:19:36 +0200 From: Gary Jennejohn To: rondzierwa@comcast.net Message-ID: <20090705101936.3434ea18@ernst.jennejohn.org> In-Reply-To: <1864081109.283641246727373779.JavaMail.root@sz0128a.westchester.pa.mail.comcast.net> References: <252646496.283281246727198407.JavaMail.root@sz0128a.westchester.pa.mail.comcast.net> <1864081109.283641246727373779.JavaMail.root@sz0128a.westchester.pa.mail.comcast.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-purgate-ID: 149285::1246781979-000052E9-CEDDE3F7/0-0/0-0 Cc: freebsd-emulation@freebsd.org Subject: Re: vbox driver 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: Sun, 05 Jul 2009 08:19:42 -0000 On Sat, 4 Jul 2009 17:09:33 +0000 (UTC) rondzierwa@comcast.net wrote: > I have installed the VirtualBox port my FreeBSD 7.0 system. I had to csup ports and download and install the virtualbox port manually, but eventually everything built and installed. > > kldload has a problem with the vboxdrv module: > > phoenix# kldload vboxdrv > kldload: can't load vboxdrv: No such file or directory > phoenix# kldload vboxdrv.ko > kldload: can't load vboxdrv.ko: No such file or directory > phoenix# kldload /boot/modules/vboxdrv.ko > kldload: can't load /boot/modules/vboxdrv.ko: No such file or directory > phoenix# kldload /boot/modules/vboxdrv > kldload: can't load /boot/modules/vboxdrv: No such file or directory > > the file is there, and kldconfig is set up for the /boot/modules directory: > > phoenix# kldconfig -r > /boot/kernel;/boot/modules > phoenix# ls -l /boot/modules > total 182 > -r-xr-xr-x 1 root wheel 185300 Jul 4 12:57 vboxdrv.ko > > > could it be that there is no vboxdrv.ko.symbols file? all the other modules > are in the /boot/kernel directory, and they all have .symbols files. > This error message is confusing and doesn't necessarily really have anything to do with vboxdrv.ko being present. kldload(2) in the kernel can return a number of errors, but they're all hidden behind the error message "can't load..." kldload(8) should probably use perror(3) so the user can see exactly what the error returned from the kernel was. Are your kernel and user-land in synch with the port? I mean, are your sources newer than what you have installed? This can lead to problems. --- Gary Jennejohn