Building third-party modules for kernel with debug options?

2011-01-07 Thread Lev Serebryakov
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

Re: Building third-party modules for kernel with debug options?

2011-01-07 Thread Gleb Kurtsou
On (07/01/2011 15:15), Lev Serebryakov wrote: 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

Re: Building third-party modules for kernel with debug options?

2011-01-07 Thread John Baldwin
On Friday, January 07, 2011 7:15:59 am Lev Serebryakov wrote: 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