Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in1.uu.net!news1.digex.net!scratchy.mosquito.com!no.such.domain!boot From: boot@no.such.domain (Bruce Bauman) Newsgroups: comp.unix.bsd.freebsd.misc Subject: enabling crash dumps Date: 29 Nov 1995 18:46:20 GMT Organization: Mosquito Net, Inc. Lines: 26 Message-ID: <49i9ps$cos@scratchy.mosquito.com> NNTP-Posting-Host: itchy.mosquito.com X-Newsreader: TIN [version 1.2 PL2] I have a news server machine running 2.1-STABLE which sporadically crashes about once a week. I'm trying to enable crash dumps. I've read the handbook, but I'm still having (minor) problems. First, after configuring my kernel with config -g, I get an undefined symbol at link time: loading kernel ../../kern/tty.c:2146: Undefined symbol `_ttyprintf' referenced from text segment ../../kern/tty.c:2153: Undefined symbol `_ttyprintf' referenced from text segment ../../kern/tty.c:2160: Undefined symbol `_ttyprintf' referenced from text segment ../../kern/tty.c:2167: Undefined symbol `_ttyprintf' referenced from text segment ../../kern/tty.c:2171: Undefined symbol `_ttyprintf' referenced from text segment ../../kern/tty.c:2177: Undefined symbol `_ttyprintf' referenced from text segment *** Error code 1 Stop. How do I fix this? Second, I'm a little unclear about what I need to do to debug with kgdb. Do I need to enable options KGDB in the kernel config file? I found several #ifdefs in the kernel sources, but couldn't find any documentation telling me what to do. Thanks.