8.0-RELEASE -> -STABLE and size of /

Andriy Gapon avg at icyb.net.ua
Fri Jan 29 15:13:40 UTC 2010


on 29/01/2010 16:33 Jeremy Chadwick said the following:
> 
> The *.symbols files I have for the kernel are installed in /boot/kernel.
> I'm referring to "stuff" in /usr/obj which appears to be required to
> debug a crash (vmcore).  What I'm describing is even mentioned in the
> FreeBSD Developers Handbook:
> 
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html
> 
> Note the first two steps:
> 
>  1:# cd /usr/obj/usr/src/sys/KERNCONF
>  2:# kgdb kernel.debug /var/crash/vmcore.0

No, that information is outdated.
The *.symbols files in /boot/kernel are required, "stuff in /usr/obj" is not.
You start debugging by
kgdb /boot/kernel/kernel /var/crash/vmcore.0
or whatever are the proper paths.

BTW, this section is also obsolete:
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-kld.html
Modules/their symbols are loaded automatically in the recent versions of FreeBSD.

-- 
Andriy Gapon


More information about the freebsd-stable mailing list