Trap for young players: was: kernel core files broken in 6.0?

From: Julian Elischer <julian_at_elischer.org>
Date: Wed, 27 Jul 2005 21:13:48 -0700
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_at_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
Received on Thu Jul 28 2005 - 02:13:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC