Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 09:28:18 -0600
From:      Eric van Gyzen <eric@vangyzen.net>
To:        Matt Magoffin <matt@msqr.us>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: 9.2-RELEASE amd64 panic: vn_open_cred
Message-ID:  <527A6012.2050500@vangyzen.net>
In-Reply-To: <D0BA9FE0-8CF2-4221-85A0-27EED6A48048@msqr.us>
References:  <DF88429C-058E-4756-AFC4-F97249FF54AA@msqr.us> <20131106022932.GY59496@kib.kiev.ua> <57A9579D-7BA6-4ED8-9EE0-D2B5949F8D26@msqr.us> <20131106035350.GC59496@kib.kiev.ua> <D0BA9FE0-8CF2-4221-85A0-27EED6A48048@msqr.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/06/2013 03:14, Matt Magoffin wrote:
> On Nov 6, 2013, at 4:53 PM, Konstantin Belousov <kostikbel@gmail.com> wrote:
>
>>>> At least, look up the source line number for the VOP_ADD_WRITECOUNT_APV+0x78,
>>>> by loading the kernel.debug into kgdb and doing
>>>> list *VOP_ADD_WRITECOUNT_APV+0x78
>>>> The lines should be from the build-time generated file vnode_if.c, so please
>>>> provide the excerpt from the source file around the reported line.
>>> I am running a GENERIC amd64 kernel, which I have not compiled. Is there a way to deduce the appropriate line without a dump? Or, would I need to trigger a panic in another machine running the same kernel?
>>>
>> The system comes with kernel.symbols file, which should be enough.
>> You do not need a core to do what I requested.
> Is it possible to answer your question on a different machine, as I am not able to bring the system in question down for some time now. I am not clear on exactly how I can perform what you have requested.

Just do:

$ kgdb /boot/kernel/kernel
(kgdb) list *VOP_ADD_WRITECOUNT_APV+0x78

You don't need to bring the system down.  This will have no effect on
the running system.  It's just reading information from the kernel file
and kernel.symbols file.

Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527A6012.2050500>