From owner-freebsd-net@FreeBSD.ORG Sat Dec 1 07:16:28 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 64C91700; Sat, 1 Dec 2012 07:16:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 604818FC13; Sat, 1 Dec 2012 07:16:26 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id dr1so101805wgb.1 for ; Fri, 30 Nov 2012 23:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=tcZQqt5xnA0yVUyZsxMpXUD5z4npSoXj1odc0RmziMA=; b=bbSSTfRG6YpkvWbylne1PlWw8nte1x7yHxjdtnJU1x8yIIxUpDdSidpZ1vBebXNj3t yMWshjrAX0K06jsXR3Pa6l3NckV9h7s/rdXOwxc6SAHgi3J+SBezMwOViWrGaa9ySevQ ThEhyzeZ6OGBcnwwkK9/iKXXtBGww3tGAMOdq+SDJZvIxsZ0B7ZJTlch0yOvqqo2Jj/0 LqQ6GkwIVcqwR4I4gKrQBSYhHBCMNF2WlYmMo/zN7ZXV6bQC3Hh0o7IvDlF9Yhp5v8sE pN9/w7mRdWpm+J9Hmjc+loy8rNlwIPo4HoEGZmuR7wfXnsvuZ++YsnWoktg8rYkgiRqH g7yA== MIME-Version: 1.0 Received: by 10.180.88.138 with SMTP id bg10mr1211193wib.13.1354346186036; Fri, 30 Nov 2012 23:16:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Fri, 30 Nov 2012 23:16:25 -0800 (PST) In-Reply-To: <20121126182642.GB17080@dft-labs.eu> References: <7C5421B8-9D32-4771-B453-151D9D07A214@FreeBSD.org> <63C19AD8-EA8D-49A8-9E98-4235C4745405@freebsd.org> <20121126.164809.1810866108604245881.hrs@allbsd.org> <20121126182642.GB17080@dft-labs.eu> Date: Fri, 30 Nov 2012 23:16:25 -0800 X-Google-Sender-Auth: z9u9gqjb22Yv0G9ftbWBSIfNiWs Message-ID: Subject: Re: LOR in rtsock/ifnet From: Adrian Chadd To: Mateusz Guzik Content-Type: text/plain; charset=ISO-8859-1 Cc: ae@freebsd.org, Hiroki Sato , rpaulo@freebsd.org, freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 07:16:28 -0000 Mateusz: are you sure it's that commit? I still get this in -HEAD: lock order reversal: 1st 0x80f19e38 if_addr_lock (if_addr_lock) @ /usr/home/adrian/work/freebsd/svn/src/sys/net/rtsock.c:1818 2nd 0x806e2b14 ifnet_rw (ifnet_rw) @ /usr/home/adrian/work/freebsd/svn/src/sys/net/if.c:241 KDB: stack backtrace: db_trace_thread+30 (?,?,?,?) ra cdfb181000000018 sp 0 sz 0 db_trace_self+1c (?,?,?,?) ra cdfb182800000018 sp 0 sz 0 8007be28+34 (?,?,?,?) ra cdfb1840000001a0 sp 0 sz 0 kdb_backtrace+44 (?,?,?,?) ra cdfb19e000000018 sp 0 sz 0 802109a8+34 (?,?,?,?) ra cdfb19f800000020 sp 0 sz 0 witness_checkorder+9e0 (?,?,80454dc4,f1) ra cdfb1a1800000050 sp 0 sz 1 __rw_rlock+e0 (?,?,?,?) ra cdfb1a6800000040 sp 0 sz 0 ifnet_byindex+28 (?,?,?,?) ra cdfb1aa800000018 sp 0 sz 0 sa6_recoverscope+8c (?,?,?,?) ra cdfb1ac000000058 sp 0 sz 0 80297244+16c (c,?,?,?) ra cdfb1b18000000d0 sp 100000000 sz 0 80298910+424 (?,?,?,?) ra cdfb1be800000080 sp 0 sz 0 801cba8c+1dc (?,?,?,?) ra cdfb1c6800000040 sp 0 sz 0 userland_sysctl+15c (?,?,?,?) ra cdfb1ca800000060 sp 0 sz 0 sys___sysctl+90 (?,?,?,?) ra cdfb1d08000000a8 sp 0 sz 0 trap+84c (?,?,?,?) ra cdfb1db0000000d0 sp 0 sz 0 MipsUserGenException+10c (?,?,?,4061a8f0) ra cdfb1e8000000000 sp 0 sz 0 pid 90 Thanks, Adrian On 26 November 2012 10:26, Mateusz Guzik wrote: > On Mon, Nov 26, 2012 at 04:48:09PM +0900, Hiroki Sato wrote: >> Rui Paulo wrote >> in <63C19AD8-EA8D-49A8-9E98-4235C4745405@freebsd.org>: >> >> rp> On 25 Nov 2012, at 23:35, Adrian Chadd wrote: >> rp> >> rp> > DO we know which commit triggered this? >> rp> >> rp> >> rp> I haven't bisected. >> >> I do not think my commit triggered it because it occurred in >> rt_msg2(). Andrey, can you take a look at this? >> > > I'm booting i386 on VirtualBox and I have two em interfaces, em0 is > configured to get ip from DHCP and the other one is untouched. > > I don't get this lor with r243186, but I see it with r243187. > > I'm happy to provide more information if needed. > -- > Mateusz Guzik