Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2011 22:52:25 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        maestro something <maestro82@gmail.com>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: dtrace ustack kernel panic
Message-ID:  <4E3460F9.7090909@FreeBSD.org>
In-Reply-To: <CAJ_JOqu2SR2n1Cm__3x3rfcJpYY=ihnoE9oyuKeNmKGuUGgnGA@mail.gmail.com>
References:  <CAJ_JOqvEmXBTBABhUcJ66=bh9%2B8S%2BC9v30hXxVZiCXuEpGPJ1A@mail.gmail.com> <4E2E9F60.1060808@FreeBSD.org> <CAJ_JOqszViwLi6TeQxAxeX2Mte5eBPsGJpjQPVOQs2BOwAq9JQ@mail.gmail.com> <4E33B7CF.90200@FreeBSD.org> <CAJ_JOqt4VdgJm3NnB1KUf1RFuk75nu6-Rh=Bqb53h5TAEzB0%2BA@mail.gmail.com> <4E344D15.1040508@FreeBSD.org> <CAJ_JOqvCDE1Zcv4jz14rtZu5_NmqfY04tz91uy76WnaW2trO7Q@mail.gmail.com> <CAJ_JOqu2SR2n1Cm__3x3rfcJpYY=ihnoE9oyuKeNmKGuUGgnGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 30/07/2011 22:05 maestro something said the following:
> fb82i386# cat /etc/make.conf
> CFLAGS= -O
> 
> (accodring to man make.conf only -O and -O2 is supported for CFLAGS anyways)
> 
> kernel.debug is the newly compiled kernel (according to the timestamp)
> 
> fb82i386# kgdb kernel.debug /var/crash/vmcore.0

Is vmcore.0 also new (i.e. produced with the new kernel)?
Does 'list ...' command still produces no useful output?

P.S. Also, hmm, I think that you shouldn't run kgdb on kernel.debug, just to
avoid any confusion... I think that you should run something like kgdb
/boot/${your installed kernel}/kernel /var/crash/vmcore.0; the debug symbols are
automatically picked up from *.symbols files in the kernel directory.

-- 
Andriy Gapon



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