From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 6 21:54:46 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B320E1065672 for ; Tue, 6 Mar 2012 21:54:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3CDAB8FC08 for ; Tue, 6 Mar 2012 21:54:45 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so3902234wib.13 for ; Tue, 06 Mar 2012 13:54:45 -0800 (PST) Received-SPF: pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.95.1 as permitted sender) client-ip=10.180.95.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.95.1 as permitted sender) smtp.mail=adrian.chadd@gmail.com; dkim=pass header.i=adrian.chadd@gmail.com Received: from mr.google.com ([10.180.95.1]) by 10.180.95.1 with SMTP id dg1mr27406292wib.21.1331070885352 (num_hops = 1); Tue, 06 Mar 2012 13:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=NNQAjIlItlL3UqigcNPnIhL7iJFUfBAMF7m/Ucd/E3Q=; b=ApiGmR53RMznHBInRPSZ0hb5QwxXpIgQ3rYvtbEox9JiRX5tsBOvk668yaKCLngyK5 II7deO5F9X1urJbxCms+M8qLr1E4mwS0B3zkel8TajiXX0yVcdxTLzp8hIRGO8KJYq20 mgwW96/w3j+ECJFXyWqpzsCo+MdTnYyyIDUtQ9THTERHBjq0EaJFm9VamC9Ifqbe0QW+ uJkLfdSVATBKDTm6sjEH6OqQk3IfJnK9u8g2vmKJGr6H86cxP7xPeAfCSnYc9Y4mE2H1 ShyKYgvvAgVdSsgm2Hq0DGFqWpsO7kWAhgGNtAgUQc6JdBGLO95Ipc2G6A0KqvI42sDL PUJA== MIME-Version: 1.0 Received: by 10.180.95.1 with SMTP id dg1mr21703523wib.21.1331070885105; Tue, 06 Mar 2012 13:54:45 -0800 (PST) Received: by 10.216.198.81 with HTTP; Tue, 6 Mar 2012 13:54:44 -0800 (PST) In-Reply-To: References: <201203062245.41155.zec@fer.hr> <201203062251.39786.zec@fer.hr> Date: Tue, 6 Mar 2012 13:54:44 -0800 Message-ID: From: Adrian Chadd To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 06 Mar 2012 23:09:55 +0000 Cc: Marko Zec , freebsd-virtualization@freebsd.org Subject: Re: VIMAGE + kldload wlan + kldload wtap panic X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 21:54:46 -0000 No, VIMAGE should be pulled in from an existing configuration in your compile/{KERNEL}/opt_global.h, right? So why's the driver not pulling it in? adrian On 6 March 2012 13:53, Monthadar Al Jaberi wrote: > something like > .if defined(KERNBUILDDIR) > MKDEP=3D =A0 =A0 =A0 =A0 =A0-include ${KERNBUILDDIR}/opt_global.h > .else > CFLAGS+=3D =A0 =A0 =A0 =A0-include opt_global.h > MKDEP=3D =A0 =A0 =A0 =A0 =A0-include opt_global.h > > opt_global.h: > =A0 =A0 =A0 =A0echo "#define VIMAGE 1" > ${.TARGET} > .endif > > ? > > On Tue, Mar 6, 2012 at 10:52 PM, Adrian Chadd wr= ote: >> On 6 March 2012 13:51, Marko Zec wrote: >>> On Tuesday 06 March 2012 22:49:56 Adrian Chadd wrote: >>>> Wait a sec. Is it possible that the macro is a no-op when we're >>>> building modules w/ VNET? >>> >>> Yes that's it, the VNET stuff resolves (mostly) to whitespace when opti= ons >>> VIMAGE is not on! >> >> So the question is - how the heck are the modules supposed to pull in >> the VNET config? >> >> is there a missing opt_.h somewhere? >> >> >> Adrian > > > > -- > Monthadar Al Jaberi