From owner-freebsd-stable@FreeBSD.ORG Wed Nov 6 15:29:27 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9D44BF8 for ; Wed, 6 Nov 2013 15:29:27 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from aussmtpmrkps320.us.dell.com (aussmtpmrkps320.us.dell.com [143.166.224.254]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F2C6274F for ; Wed, 6 Nov 2013 15:29:27 +0000 (UTC) X-Loopcount0: from 64.238.244.148 X-IronPort-AV: E=Sophos;i="4.93,647,1378875600"; d="scan'208,217";a="67482535" Message-ID: <527A6012.2050500@vangyzen.net> Date: Wed, 6 Nov 2013 09:28:18 -0600 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130702 Thunderbird/17.0.7 MIME-Version: 1.0 To: Matt Magoffin Subject: Re: 9.2-RELEASE amd64 panic: vn_open_cred References: <20131106022932.GY59496@kib.kiev.ua> <57A9579D-7BA6-4ED8-9EE0-D2B5949F8D26@msqr.us> <20131106035350.GC59496@kib.kiev.ua> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Konstantin Belousov , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 15:29:28 -0000 On 11/06/2013 03:14, Matt Magoffin wrote: > On Nov 6, 2013, at 4:53 PM, Konstantin Belousov 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