From owner-freebsd-current@FreeBSD.ORG Mon Mar 14 10:43:39 2005 Return-Path: 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 E998516A4CE for ; Mon, 14 Mar 2005 10:43:39 +0000 (GMT) Received: from barton.dreadbsd.org (massena-4-82-67-196-50.fbx.proxad.net [82.67.196.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EACF43D48 for ; Mon, 14 Mar 2005 10:43:39 +0000 (GMT) (envelope-from antoine@massena-4-82-67-196-50.fbx.proxad.net) Received: from barton.dreadbsd.org (localhost [127.0.0.1]) by barton.dreadbsd.org (8.13.3/8.13.1) with ESMTP id j2EAgimB009458; Mon, 14 Mar 2005 11:42:56 +0100 (CET) (envelope-from antoine@massena-4-82-67-196-50.fbx.proxad.net) Received: (from antoine@localhost) by barton.dreadbsd.org (8.13.3/8.13.1/Submit) id j2EAfrOM009190; Mon, 14 Mar 2005 11:41:53 +0100 (CET) (envelope-from antoine) Date: Mon, 14 Mar 2005 11:41:53 +0100 From: Antoine Brodin To: "Bjoern A. Zeeb" Message-Id: <20050314114153.6a362e17.antoine.brodin@laposte.net> In-Reply-To: References: <200503131851.j2DIpKhv001089@lorne.arm.org> <20050314110417.0705f268.antoine.brodin@laposte.net> X-Mailer: Sylpheed version 1.0.3 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: dlt@mebtel.net cc: current@FreeBSD.org Subject: Re: A pair of LORs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 14 Mar 2005 10:43:40 -0000 "Bjoern A. Zeeb" wrote: > On Mon, 14 Mar 2005, Antoine Brodin wrote: > > > Derek Tattersall wrote: > > > This happened on a 6.0 current system supped and built this > > > morning. I didn't see this recorded on Herr Zeeb's page, so > > > perhaps somebody has some clues to offer? > > [snip] > > > lock order reversal > > > 1st 0xc26f1300 so_rcv (so_rcv) @ > > > /usr/src/sys/kern/uipc_socket.c:1256 2nd 0xc23a96c4 skc0 (network > > > driver) @ /usr/src/sys/pci/if_sk.c:1112 > > > > For the second LOR, you can try the patch available at: > > http://sources.zabbadoz.net/freebsd/patchset/if_sk.c-HEAD-20050303-01.diff > > if you are going to try that please use the [1-4]of4 patches from > same directory and apply in ascending order. > > But I doubt it will help with this LOR (but testing would be good > anyway;) > > An interesting thing to know would be if you have sk0 and sk1 (dual > port) ? I think it can definitively help: with the patch, sk_jfree uses a leaf mutex and no longer uses the network driver mutex. Cheers, Antoine