From owner-freebsd-net@FreeBSD.ORG Wed Sep 21 13:13:40 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 4E13E1065673; Wed, 21 Sep 2011 13:13:40 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id F1FF58FC0C; Wed, 21 Sep 2011 13:13:39 +0000 (UTC) Received: by gwj15 with SMTP id 15so2117718gwj.17 for ; Wed, 21 Sep 2011 06:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8Vc7obEy40KQXcUgrQpIEA+L8a2OqwgthJ3/8Y7wbD0=; b=DIU4MegVjnMZx4wbZbKKjfYA17/VMOkyajiIs0Nn7EAnk886jBYi4qDJ2DK1nTTr4H xwK6W+dwmclfHDCNX2Yl2PxF0KaD7YoOgQcubA5wCc4rGEfSYzdQyvHKIuBKVgP166Pw xM4yl0SKEbxu2WKIeWfBZHq9ZFZt3rBIF8HrA= MIME-Version: 1.0 Received: by 10.150.229.16 with SMTP id b16mr1007171ybh.155.1316610819386; Wed, 21 Sep 2011 06:13:39 -0700 (PDT) Received: by 10.150.53.2 with HTTP; Wed, 21 Sep 2011 06:13:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2011 17:13:39 +0400 Message-ID: From: Sergey Kandaurov To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, FreeBSD Current Subject: Re: LOR in route.c // scope6.c 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: Wed, 21 Sep 2011 13:13:40 -0000 On 19 August 2011 05:07, Garrett Cooper wrote: > Hi, > =A0 =A0I've periodically seen the following LOR when trying to repro a > panic after restarting my network configuration: > > :lock order reversal: > =A01st 0xc4142f1c rtentry (rtentry) @ /usr/src/sys/net/routec:362 > =A02nd 0xc3d08604 if_afdata (if_afdata) @ /usr/src/sys/netinet6/scope6.c:= 417 > KDB: stack backtrace: > db_trace_self_wrapper(...) > _witness_debugger(...) > _rw_wlock(...) > in6_setscope(...) > in6_purgeaddr(...) > in6_control(...) > ifioctl(...) > soo_ioctl(...) > kern_ioctl(...) > ioctl(...) > syscallenter(...) > syscall(...) > Xint0x80_syscall() > > I don't have a full backtrace or core for this. This was running > r224948 UP with WITNESS. > I just got exactly the same LOR on a very fresh current with /etc/rc.d/netif restart, and then I lost the system. Thanks for the report. I hope to dig out the solution... --=20 wbr, pluknet