Lock order reversal in ral driver

Sam Leffler sam at freebsd.org
Mon Mar 24 12:07:15 PDT 2008


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



More information about the freebsd-net mailing list