Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 22:40:47 -0500 (EST)
From:      David Miller <dmiller@search.sparks.net>
To:        freebsd-hackers@freebsd.org
Subject:   Need help with crash debug
Message-ID:  <Pine.BSF.4.21.0002261132220.7784-100000@search.sparks.net>

next in thread | raw e-mail | index | archive | help
I'm trying my first ever post-mortem on a core file, so please be kind:)

I recompiled the kernel with  makeoptions    DEBUG="-g", copied the kernel
to kernel.debug, strip -g the kernel, and booted.

I set the dumpdev in rc.conf, and added to the savecore line in /etc/rc so
it looks like this:

savecore -N /sys/compile/STAGING-1/kernel.debug /var/crash

Now I'm trying to follow along in the handbook, so I do what it seems to
say:

staging-1:/# cd /sys/compile/STAGING-
staging-1:STAGING-1# gdb -k kernel.debug /var/crash/vmcore.1
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...

kernel symbol `SMP_prvspace' not found.
(kgdb)  where
No stack.
(kgdb)

At this point I'm lost, in search of clues.

Details:

Intel NLX based motherboard, ncr controllers, two P-III 500 CPU's, 256 MB
ram.

Running FreeBSD 3.2-Release, with SMP enabled in the config file.

FWIW, SMP_prvspace definately isn't in the symbol file:

staging-1:STAGING-1# strings kernel.debug |grep SMP_
_SMP_prvstart
SMP_ioapic
SMP_prvpt


Pointers to existing docs I should have known about most
welcome.  Pointers/clues/advice also welcome.

--- David Miller




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002261132220.7784-100000>