Building "third-party" modules for kernel with debug options?
Lev Serebryakov
lev at FreeBSD.org
Fri Jan 7 12:16:07 UTC 2011
Hello, Freebsd-hackers.
I've found, that "struct bio" is depend on state of "DIAGNOSTIC"
flag ("options DIAGNOSTIC" in kernel config). But when I build
third-party GEOM (or any other) module with using of <bsd.kmod.mk>,
there is no access to these options. So, module, built from ports, can
fail on user's kernel, even if it built with proper kernel sources in
"/usr/src/sys". Is here any solution for this problem?
P.S. NB: GEOM module is only example, question is about modules &
kernel options in general, so I put this message on Hackers list.
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-hackers
mailing list