From owner-freebsd-net@FreeBSD.ORG Fri Jun 15 20:31:46 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F168106566B for ; Fri, 15 Jun 2012 20:31:46 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 470FF8FC12 for ; Fri, 15 Jun 2012 20:31:45 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q5FKVg0j084023; Sat, 16 Jun 2012 00:31:42 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q5FKVgG2084022; Sat, 16 Jun 2012 00:31:42 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sat, 16 Jun 2012 00:31:42 +0400 From: Gleb Smirnoff To: Przemyslaw Frasunek Message-ID: <20120615203142.GW28613@glebius.int.ru> References: <4DB47CE1.8@frasunek.com> <4DB487D2.7030104@rdtc.ru> <4DB48B76.8050101@frasunek.com> <4DB49109.3050002@frasunek.com> <20110425050548.GF34767@glebius.int.ru> <4DBBBAD8.2000705@frasunek.com> <20110513162311.GK95084@glebius.int.ru> <4DD298AD.2060905@frasunek.com> <20110517184613.GN74366@glebius.int.ru> <4FDB1D71.6050908@freebsd.lublin.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4FDB1D71.6050908@freebsd.lublin.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org, Eugene Grosbein Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 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: Fri, 15 Jun 2012 20:31:46 -0000 On Fri, Jun 15, 2012 at 01:33:05PM +0200, Przemyslaw Frasunek wrote: P> unfortunately, one of my mpd5 PPPoE access servers started panicing every few P> hours. P> P> I'm running recent 8.3-STABLE (as of 23th May) with WITNESS, INVARIANTS and P> DEBUG_MEMGUARD compiled. Unfortunately, I'm unable to catch crashdump. For some P> reason, it is not saved on dumpdev. P> P> The only thing I have is panic string: P> P> Fatal trap 9: general protection fault while in kernel mode P> cpuid = 2; apic id = 02 P> instruction pointer = 0x20:0xffffffff804b4e2d P> stack pointer = 0x28:0xffffff8185386560 P> frame pointer = 0x28:0xffffff81853865d0 P> code segment = base 0x0, limit 0xfffff, type 0x1b P> = DPL 0, pres 1, long 1, def32 0, gran 1 P> processor eflags = interrupt enabled, resume, IOPL = 0 P> current process = 2832 (mpd5) P> trap number = 9 P> P> According to "objdump -d", the fault address points to prelist_remove(). P> P> I tried to replace all of hardware, but it still panics in the same way. I would P> be really grateful for any hints. P> P> dmesg output: http://www.frasunek.com/tmp/dmesg.txt P> kernel config: http://www.frasunek.com/tmp/kernel.txt I suspect this isn't related to netgraph, but to IPv6 since prelist_remove() is found in netinet6/nd6_rtr.c. Several times I looked into ND code and found lots of race prone code there. May be some was recently fixed by bz@, but definitely not merged to stable/8. -- Totus tuus, Glebius.