Date: Tue, 6 Nov 2018 16:54:00 -0800 From: Pete Wright <pete@nomadlogic.org> To: Rainer Duffner <rainer@ultra-secure.de> Cc: stable@freebsd.org Subject: Re: How do you boot the debug kernel installed from kernel-dbg.txz? Message-ID: <bfb0bb83-b591-03de-dcb6-e7f926275ad1@nomadlogic.org> In-Reply-To: <30B2CF5C-51A6-457E-9192-DC6C4C62A769@ultra-secure.de> References: <C0A5F11B-9739-4B55-81AF-B19BE026D708@ultra-secure.de> <9f460694-5ce6-132e-e0cc-6b7d01e36f2d@nomadlogic.org> <30B2CF5C-51A6-457E-9192-DC6C4C62A769@ultra-secure.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/6/18 4:47 PM, Rainer Duffner wrote: > >> Am 07.11.2018 um 01:40 schrieb Pete Wright <pete@nomadlogic.org>: >> >> I may be mistaken, but I don't think you actually need to boot the debug-kernel and modules (in fact I don't think you can), rather those files are intended for being read by kgdb while debugging a core that is generated by savecore(8) so that you have access to full symbol table etc. this page section in the dev handbook debugging kernel core dumps: >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html <https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html> >> >> hope this helps, >> >> -pete > > > Yes, you are right. > > However obvious it may seem, it isn’t for somebody who’s never really done that… > > > I asked the same question in my PR and got an answer immediately - didn’t expect that to go that fast… great, glad i'm not spreading mis-info! i don't think it's too obvious IMHO, took me a while to grok it a year or so ago when i was debugging some graphics driver issues :) -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bfb0bb83-b591-03de-dcb6-e7f926275ad1>