From owner-freebsd-current@FreeBSD.ORG Wed Jul 26 06:36:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2FC616A4E0 for ; Wed, 26 Jul 2006 06:36:41 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD16243D5C; Wed, 26 Jul 2006 06:36:41 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6Q6acNS059896; Wed, 26 Jul 2006 06:36:38 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6Q6aaOM059895; Wed, 26 Jul 2006 06:36:36 GMT (envelope-from yar) Date: Wed, 26 Jul 2006 06:36:36 +0000 From: Yar Tikhiy To: "Bjoern A. Zeeb" Message-ID: <20060726063636.GA58151@freefall.freebsd.org> References: <44210801.90609@micom.mng.net> <20060322083546.N2181@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060322083546.N2181@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.1i Cc: Ganbold , freebsd-current@freebsd.org Subject: Re: LOR when booting CURRENT (ip_divert.c, PFil hook read/write mutex) [#181] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 06:36:42 -0000 On Wed, Mar 22, 2006 at 08:38:22AM +0000, Bjoern A. Zeeb wrote: > On Wed, 22 Mar 2006, Ganbold wrote: > > >When booting recent current I get LOR: > > lock order reversal: > 1st 0xc23d5090 inp (divinp) @ sys/netinet/ip_divert.c:327 > 2nd 0xc07f21d8 PFil hook read/write mutex (PFil hook read/write mutex) @ > sys/net/pfil.c:73 > > added this LOR with # 181 to 'the LOR page': > http://sources.zabbadoz.net/freebsd/lor.html#181 FWIW, the LOR still is there. I was seeing it yesterday while fiddling with the ipfw and natd rc.d scripts. lock order reversal: 1st 0xc1a36090 inp (divinp) @ /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:350 2nd 0xc0a51918 PFil hook read/write mutex (PFil hook read/write mutex) @ /usr/src/sys/net/pfil.c:73 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c0a11598,c0a119d0,c09be4c4,...) at kdb_backtrace+0x29 witness_checkorder(c0a51918,1,c0922658,49) at witness_checkorder+0x586 _rw_rlock(c0a51918,c0922658,49) at _rw_rlock+0x54 pfil_run_hooks(c0a51900,c7f1bb40,c1692c00,2,0,...) at pfil_run_hooks+0x2c ip_output(c1760a00,0,c7f1bb0c,22,0,...) at ip_output+0x627 div_send(c17fa000,0,c1760a00,c16ed990,0,c166ad80) at div_send+0x208 sosend(c17fa000,c16ed990,c7f1bbe8,c1760a00,0,0,c166ad80) at sosend+0x3e5 kern_sendit(c166ad80,3,c7f1bc64,0,0,0) at kern_sendit+0x108 sendit(c166ad80,3,c7f1bc64,0,bfbdebfc,...) at sendit+0x87 sendto(c166ad80,c7f1bd04) at sendto+0x46 syscall(3b,3b,3b,2,3c,...) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (133, FreeBSD ELF32, sendto), eip = 0x2813cbc7, esp = 0xbfbdeb2c, ebp = 0xbfbeebd8 --- -- Yar