Bug 203755

Summary: panic: mutex run0 not owned at /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:1226
Product: Base System Reporter: Danilo Egea Gondolfo <danilo>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: adrian, ksw.childe
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
core.txt
none
patch for monitor mode panic none

Description Danilo Egea Gondolfo freebsd_committer freebsd_triage 2015-10-13 23:41:53 UTC
Created attachment 162004 [details]
core.txt

I'm getting this panic when I use the aircrack-ng with the if_run driver.

It's fully reproducible:
# ifconfig wlan0 create wlandev run0 wlanmode monitor up
# airodump-ng -i wlan0
crash

The core.txt is attached.
Comment 1 Keith White 2015-11-11 11:48:17 UTC
Created attachment 163004 [details]
patch for monitor mode panic
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2015-11-11 13:29:37 UTC
It works. Thanks!
Comment 3 Keith White 2016-06-12 15:08:55 UTC
This bug is fixed with commit 301302.  One more custom diff bites the dust.

Thanks Adrian!

...keith
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2016-06-13 15:56:11 UTC
fixed with commit 301302.