Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2004 02:32:09 -0700 (PDT)
From:      Michael Haro <mharo@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/71422: LOR in sys/net/bpf
Message-ID:  <200409060932.i869W9WD029487@burrito.bitsurf.net>
Resent-Message-ID: <200409060940.i869eOWR085731@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71422
>Category:       kern
>Synopsis:       LOR in sys/net/bpf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 06 09:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD ****.****.ucdavis.edu 5.3-BETA3 FreeBSD 5.3-BETA3 #0: Sat Sep  4 16:43:17 PDT 2004     root@****.****.ucdavis.edu:/usr/obj/usr/src/sys/GENERIC


>Description:

When I boot my 5.3-BETA3 (RELENG_5 as of yesterday) system and start kismet
dmesg shows the following:

lock order reversal
 1st 0xc1701ad8 bpf interface lock (bpf interface lock) @ /usr/src/sys/net/bpf.c:1273
 2nd 0xc191ab64 bpf0 (bpf cdev lock) @ /usr/src/sys/net/bpf.c:1277
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c08bddc8,c08bd558,c084c8bc) at kdb_backtrace+0x29
witness_checkorder(c191ab64,9,c07f9506,4fd) at witness_checkorder+0x544
_mtx_lock_flags(c191ab64,0,c07f9506,4fd,c16d0200) at _mtx_lock_flags+0x5b
bpf_mtap2(c1701ac0,c1713020,10,c16d0200) at bpf_mtap2+0x8c
wi_rx_intr(c1711000) at wi_rx_intr+0x432
wi_intr(c1711000) at wi_intr+0x143
pccard_intr(c1705e00,c1701c00,cbd0cd1c,c05ed790,c15f4440) at pccard_intr+0x60
cbb_func_intr(c15f4440) at cbb_func_intr+0x45
ithread_loop(c150c400,cbd0cd48,c150c400,c05ed66c,0) at ithread_loop+0x124
fork_exit(c05ed66c,c150c400,cbd0cd48) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcbd0cd7c, ebp = 0 ---

I've not done anything special with any tunable variables or anything.
Let me know if you'd like more information as I'm not really sure what to report.

>How-To-Repeat:

If I reboot and start kismet it happens again.

>Fix:

Not sure, but willing to test patches.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409060932.i869W9WD029487>