9.2-RELEASE amd64 panic: vn_open_cred

Eric van Gyzen eric at vangyzen.net
Wed Nov 6 15:29:28 UTC 2013


On 11/06/2013 03:14, Matt Magoffin wrote:
> On Nov 6, 2013, at 4:53 PM, Konstantin Belousov <kostikbel at 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


More information about the freebsd-stable mailing list