From owner-freebsd-ports@FreeBSD.ORG Mon Oct 31 10:26:03 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC501065670; Mon, 31 Oct 2011 10:26:03 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 1709E8FC08; Mon, 31 Oct 2011 10:26:03 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 4D0E62A28CD1; Mon, 31 Oct 2011 11:26:02 +0100 (CET) Date: Mon, 31 Oct 2011 11:26:02 +0100 From: Ed Schouten To: Bernhard Froehlich Message-ID: <20111031102602.GI2258@hoeg.nl> References: <4EAE690D.1070609@executive-computing.de> <01c0ad0f006967454da602c2812981ce@bluelife.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gvF4niNJ+uBMJnEh" Content-Disposition: inline In-Reply-To: <01c0ad0f006967454da602c2812981ce@bluelife.at> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Marco Steinbach , Vladimir Kushnir , freebsd-ports Subject: Re: VirtualBox-kmod fails to build on -CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2011 10:26:03 -0000 --gvF4niNJ+uBMJnEh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Bernhard, * Bernhard Froehlich , 20111031 11:04: > My first guess is that it could be enough to remove the flag but I > don't know if we need to replace some code with make_dev_p(). So i've > CC'd ed@ and hope that he can shed some light on that. >=20 > https://www.virtualbox.org/browser/trunk/src/VBox/HostDrivers/Support/fre= ebsd/SUPDrv-freebsd.c#L104 Hmmm... You can simply remove D_PSEUDO for now, but I think eventually the driver should be restructured a bit. It seems we can simply use the cdevpriv API for this, where we have a single /dev/vboxdrv device node. I think I'll take a closer look at this code more thoroughly sometime this week. --=20 Ed Schouten WWW: http://80386.nl/ --gvF4niNJ+uBMJnEh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOrne6AAoJEG5e2P40kaK7TQAP/2Cr0qHj3G6whxCqWhaOA+82 oE70oKoelXiVRBdUaFc/FZ90efczr2u1ugVAEpTbPqGI68zZqDbDlc2YTKYLCQ+D 0F54n4YCTFqj8VywcJVgstwiqMKs4noSZJWe/eCXs9FaVyPLBFTIJ5pZIRXQm8Q7 sCqHdZVKgeEO9W72S2MKmFlp9DAAy8HZtwpy27Td3iV2tmU1cu/9T2y7jhOXwmFu Q6+4n9rZKrKG8lmyOEbiaEivelC/V94Z8KBzXS8ZIcXs7ypwgEKUUmqu8u635CXh cpXIlRrxLGr39IGjFflHOOo6R0scgyh/DvwIR+TRbeS/TDkXYTIILlqrXPitM9UR Vrcbrdg7bTmORLHgVJgz4M5VosfiY7WponhfA4n4vdbGZypRcy9DLfc+S+NlIwOK RJY5qMDuJDpngVGAwwaFfeNJ0d/Uj7afbtOaeMv3xoghAl/8UOVgKlQ7oDoyr+5J ArOkqK0PTJHgfpa9N0UaBSL1ZoiQWn/a0JBOgGGH9RUE5oIM/zVBwei7FjN9DSbU QnJfoFfQqcW7FETbpwe2Nvhn5MVQuMI501oFT98MtaknNGv/moqLhFgCy/06MwRW gDQapJRUtD4CiIpxhgPBmRYclKddll2Xyqaw0OqvTHvXz+l7bTvr3/PSOXJUM6t8 5USkvvumBTvPFG9dinhL =0mXK -----END PGP SIGNATURE----- --gvF4niNJ+uBMJnEh--