Subject: Re: Kernel crashed, what now?
To: David Maxwell <david@vex.net>
From: Tomi Nylund <wizard@mail.suomi.invalid>
List: port-sparc
Date: 03/07/2002 21:33:11
David Maxwell wrote:
> 
> On Thu, Mar 07, 2002 at 09:43:36AM -0500, Steven Grunza wrote:
> > My SS10 has been running 1.5.1 for a while without problems.  Today it was
> > sitting at the single-user boot prompt after apparently panicing during the
> > night.
> >
> > How can I figure out what happened?  Looking at /var/crash shows netbsd.0
> > and netbsd.0.core.Z
> >
[...]
> Kernel core files shouldn't be supplied as a command line argument.
> Instead, leave that out, and enter 'target kcore netbsd.0.core' at the
> gdb prompt.
> 
> Also, you won't have a full set of symbols available if you use
> 'netbsd.0' as your kernel. Ideally, you want a netbsd.gdb, which you
> would get by uncommenting the following, in your kernel config.
> 
> makeoptions    DEBUG="-g"      # compile full symbol table
> 

Dumb question: how will this affect system performance? If I compile
"product" kernels with this option enabled, does it have an adverse
effect to the overall system performance?


Tomi

PS: Please reply to mailing list, as my address is obfuscated to repel
spammers.