From owner-freebsd-net@FreeBSD.ORG Mon Jan 31 13:40:59 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121441065670; Mon, 31 Jan 2011 13:40:59 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 99BD38FC13; Mon, 31 Jan 2011 13:40:58 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:c42d:e325:61d:9d63] (unknown [IPv6:2a02:2928:a:ffff:c42d:e325:61d:9d63]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 2753523944A; Mon, 31 Jan 2011 14:40:57 +0100 (CET) Message-ID: <4D46BBE7.7040006@frasunek.com> Date: Mon, 31 Jan 2011 14:40:55 +0100 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gleb Smirnoff References: <4D3011DB.9050900@frasunek.com> <20110131125440.GK62007@FreeBSD.org> In-Reply-To: <20110131125440.GK62007@FreeBSD.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: Netgraph/mpd5 stability issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 13:40:59 -0000 > In this dump, can we seek for where did 0x74 came from? Can you look at > ng_name_hash[hash]? (kgdb) print hash No symbol "hash" in current context. (kgdb) info all eax 0xffffff9a -102 ecx 0xe7ce6895 -405903211 edx 0xffffff9a -102 ebx 0x74 116 esp 0xcc28c380 0xcc28c380 ebp 0xe7ce6878 0xe7ce6878 esi 0xe7ce6894 -405903212 edi 0xe7ce6ac8 -405902648 [...] (kgdb) print ng_name_hash[116] $4 = {lh_first = 0xcbd6fb00} (kgdb) print *ng_name_hash[116].lh_first $5 = {nd_name = "ng357", '\0' , nd_type = 0xc61871a0, nd_flags = 0, nd_refs = 1, nd_numhooks = 0, nd_private = 0xcc3b5e80, nd_ID = 454681, nd_hooks = {lh_first = 0x0}, nd_nodes = { le_next = 0xcbbf7900, le_prev = 0xc5f4fad0}, nd_idnodes = { le_next = 0xcc061680, le_prev = 0xc5f4f744}, nd_work = {tqe_next = 0x0, tqe_prev = 0x0}, nd_input_queue = {q_flags = 0, q_mtx = {lock_object = { lo_name = 0xc5f4e986 "ng_node", lo_type = 0xc5f4e986 "ng_node", lo_flags = 16973824, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 4, mtx_recurse = 0}, queue = 0x0, last = 0xcbd6fb70, q_node = 0xcbd6fb00}}