From owner-freebsd-net@FreeBSD.ORG Mon Mar 24 19:07:15 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 060CF1065677 for ; Mon, 24 Mar 2008 19:07:15 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id AB0698FC25 for ; Mon, 24 Mar 2008 19:07:14 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2OISUcr040464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Mar 2008 11:28:32 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47E7F2CE.503@freebsd.org> Date: Mon, 24 Mar 2008 11:28:30 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Robert Jenssen References: <200803232052.07111.robertjenssen@ozemail.com.au> In-Reply-To: <200803232052.07111.robertjenssen@ozemail.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: net@freebsd.org Subject: Re: Lock order reversal in ral driver 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: Mon, 24 Mar 2008 19:07:15 -0000 Robert Jenssen wrote: > Hi, > > Since upgrading to FreeBSD 7 I have been experiencing some frustrating > problems with my RAL wifi card. In particular, it seems to me that dhclient > fails when the ral device driver times out while scanning for my access > point. At the same time my HP PDA with Spectec WiFi SDIO card has no problems > finding my access point. > > Today I made a kernel with the following options: > > makeoptions DEBUG=-g > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options DEBUG_LOCKS > options DEBUG_VFS_LOCKS > options DIAGNOSTIC > options SOCKBUF_DEBUG > options DDB > options KDB > > Upon rebooting the dmesg immediately showed a lock order reversal in the ral > driver in ieee80211_scan.c and rt2560.c (see below). Does this correspond to > my symptoms? Is there a wizard out there who understands what is happening? > <...stuff snipped...> The LOR is unrelated to any issues you are seeing and can be safely ignored. Try providing a description of your setup and a log that indicates the problem. For the latter look at wlandebug(8). Sam