From owner-freebsd-current@FreeBSD.ORG Sun Sep 4 22:00:54 2005 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 AC31916A41F for ; Sun, 4 Sep 2005 22:00:54 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A70743D45 for ; Sun, 4 Sep 2005 22:00:54 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id j84M0k3P028894; Sun, 4 Sep 2005 15:00:50 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200509042200.j84M0k3P028894@gw.catspoiler.org> Date: Sun, 4 Sep 2005 15:00:46 -0700 (PDT) From: Don Lewis To: bzeeb-lists@lists.zabbadoz.net In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org Subject: Re: LOR route vr0 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: Sun, 04 Sep 2005 22:00:54 -0000 On 4 Sep, Bjoern A. Zeeb wrote: > On Thu, 1 Sep 2005, Don Lewis wrote: > >> lock order reversal >> 1st 0xc23e2018 fxp0 (network driver) @ /usr/src/sys/dev/fxp/if_fxp.c:1907 >> 2nd 0xc09387e0 Giant (Giant) @ /usr/src/sys/kern/kern_poll.c:460 > > added with ID 148: > http://sources.zabbadoz.net/freebsd/lor.html#148 jhb commented that the polling code should use something other than Giant to protect it's data structures, which would eliminate this LOR. It looks like LOR 120, 121, 122, 125, 126, 128, 130, 131, 133, 135, 136, 139, 140, 142, 143, 145, 146, 150, 151, 152, 153, 154, and 156 are all caused by the use of Giant in the polling code. >> lock order reversal >> 1st 0xe35e0cc4 g_xdown (g_xdown) @ /usr/src/sys/geom/geom_io.c:465 >> 2nd 0xc09387e0 Giant (Giant) @ /usr/src/sys/geom/geom_disk.c:99 > > and this one with ID 149: > http://sources.zabbadoz.net/freebsd/lor.html#149 > Thanks!