freebsd-questions Digest, Vol 655, Issue 4

Matthew Seaman matthew at FreeBSD.org
Thu Dec 22 15:45:30 UTC 2016


On 22/12/2016 13:56, Manish Jain wrote:
> That URL says that first I have to 'locate the debug version of your 
> kernel (normally called kernel.debug)'.
> 
> Now, I am running the standard generic kernel that was installed by the 
> FreeBSD 11 amd64 setup CD. The command 'locate kernel.debug' returns an 
> empty string.

Good question.  On a system built from source, you'ld want either:

/usr/lib/debug/boot/kernel/kernel.debug

or

/usr/obj/usr/src/sys/GENERIC/kernel.debug

but you don't have either of those when using a -RELEASE kernel IIRC.
Well, certainly not the last one.

Failing that, I'm afraid that I do not know how you're meant to be able
to get a decent backtrace out of a RELEASE kernel.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20161222/a1b0443e/attachment.sig>


More information about the freebsd-questions mailing list