Swapfile problem in 6?

Brian Fundakowski Feldman green at freebsd.org
Tue Nov 15 10:16:53 PST 2005


On Tue, Nov 15, 2005 at 07:16:47AM -0800, Rob wrote:
> 
> 
> --- Peter Jeremy <PeterJeremy at optushome.com.au> wrote:
> 
> > On Tue, 2005-Nov-15 02:08:12 -0800, Rob wrote:
> > > makeoptions DEBUG=-g
> > > options INVARIANTS
> > > options WITNESS
> > > options WITNESS_KDB
> > > options KDB
> > > options DDB
> > > options DDB_NUMSYM
> > > options GDB
> > >
> > >Is that enough?
> > 
> > If your system is headless, you probably want
> > 'options BREAK_TO_DEBUGGER' as well.
> 
> If I merge all these options into the GENERIC kernel
> config file, the kernel compilation ends with error:
> 
> $ make buildkernel KERNCONF=DEBUGKERNEL
> [...snip...]
> cc -c -O -pipe ... /usr/src/sys/dev/ata/atapi-cd.c
> /usr/src/sys/dev/ata/atapi-cd.c: In function
> `acd_geom_attach':
> /usr/src/sys/dev/ata/atapi-cd.c:181: warning: implicit
> declaration of function `_sx_assert'
> /usr/src/sys/dev/ata/atapi-cd.c:181: warning: nested
> extern declaration of `_sx_assert'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/MYKERNEL.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.

You may not have INVARIANT_SUPPORT -- I don't see that listed explicitly,
but it's necessary as well.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the freebsd-stable mailing list