VIMAGE + kldload wlan + kldload wtap panic

Monthadar Al Jaberi monthadar at gmail.com
Tue Mar 6 21:53:26 UTC 2012


something like
.if defined(KERNBUILDDIR)
MKDEP=          -include ${KERNBUILDDIR}/opt_global.h
.else
CFLAGS+=        -include opt_global.h
MKDEP=          -include opt_global.h

opt_global.h:
	echo "#define VIMAGE 1" > ${.TARGET}
.endif

?

On Tue, Mar 6, 2012 at 10:52 PM, Adrian Chadd <adrian.chadd at gmail.com> wrote:
> On 6 March 2012 13:51, Marko Zec <zec at 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 options
>> 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


More information about the freebsd-virtualization mailing list