Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 13:54:44 -0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Monthadar Al Jaberi <monthadar@gmail.com>
Cc:        Marko Zec <zec@fer.hr>, freebsd-virtualization@freebsd.org
Subject:   Re: VIMAGE + kldload wlan + kldload wtap panic
Message-ID:  <CAJ-Vmo=fK8mOV5n%2B6jsDkBt32OpG_Qbgv7OGaj2aMr6EAJsKeQ@mail.gmail.com>
In-Reply-To: <CA%2BsBSoJKxFNupKMb%2BO0_p6%2B-cv_hqOopqdQwRdbF1k%2B0Pcu6Kw@mail.gmail.com>
References:  <CA%2BsBSo%2Bt=p0HLbyOH87DOJWWYn%2Be%2Bok7cwRiL1c1=gCw5=KTqg@mail.gmail.com> <201203062245.41155.zec@fer.hr> <CAJ-Vmo=dyOwVs4G09=LXwxc%2Bs%2BuUh%2B-WFTFkmMMYxHym1KOOgw@mail.gmail.com> <201203062251.39786.zec@fer.hr> <CAJ-VmonjsTDKT_NyHfDjby9TSf6zrfV0PK4RShK2fBNoDtF%2B4Q@mail.gmail.com> <CA%2BsBSoJKxFNupKMb%2BO0_p6%2B-cv_hqOopqdQwRdbF1k%2B0Pcu6Kw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <monthadar@gmail.com> 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 <adrian.chadd@gmail.com> wr=
ote:
>> On 6 March 2012 13:51, Marko Zec <zec@fer.hr> 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_<x>.h somewhere?
>>
>>
>> Adrian
>
>
>
> --
> Monthadar Al Jaberi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=fK8mOV5n%2B6jsDkBt32OpG_Qbgv7OGaj2aMr6EAJsKeQ>