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

Julian Elischer julian at elischer.org
Thu Jul 28 04:13:50 GMT 2005


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




More information about the freebsd-current mailing list