Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 21:13:48 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Trap for young players: was: kernel core files broken in 6.0?
Message-ID:  <42E85B7C.90005@elischer.org>
In-Reply-To: <42E85942.8050405@elischer.org>
References:  <42E85898.7040500@elischer.org> <42E85942.8050405@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Figured out why my kernel .debug didn't work to read the core file;

>>
>> drwxr-xr-x   2 root  wheel         512 Jul 28 03:52 .
>> schizo# uname -a
>> FreeBSD schizo.dev.vicor-nb.com 6.0-20050725-SNAP FreeBSD 
>> 6.0-20050725-SNAP
>> #0: Mon Jul 25 17:24:58 UTC 2005
>> root@fbsd6.dev.vicor-nb.com:/usr/obj/usr/src/sys/GENERIC  i386
>

Since this kernel was made by a "make release" the directory it reports is
INSIDE THE BUILD JAIL and not on the main machine.. i.e.
the debug kernel is to be found at
/usr/tmp/chroot/usr/obj/usr/src/sys/GENERIC

and not at

 /usr/obj/usr/src/sys/GENERIC

which if it exists, will hold some completely different debug kernel :-/

Julian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E85B7C.90005>