Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2010 17:13:35 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 8.0-RELEASE -> -STABLE and size of /
Message-ID:  <4B62FB1F.7070005@icyb.net.ua>
In-Reply-To: <20100129143314.GA46085@icarus.home.lan>
References:  <20100122162155.GG3917@e-Gitt.NET>	<201001232244.03752.doconnor@gsoft.com.au>	<20100129104624.GA13472@ei.bzerk.org>	<201001292230.01867.doconnor@gsoft.com.au>	<20100129134030.GA44869@icarus.home.lan>	<4B62EFD7.2010800@icyb.net.ua> <20100129143314.GA46085@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B62FB1F.7070005>