Bug 144387 - [run] [panic] if_run panic
Summary: [run] [panic] if_run panic
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-01 12:00 UTC by Alexander Kuznetsov
Modified: 2016-06-15 19:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kuznetsov 2010-03-01 12:00:06 UTC
if_run causes kernel panic

run0: device timeout
panic: mutex run0 not owned at /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/run/if_run.c:3376
cpuid = 0
KDB: enter: panic
[ thread pid 0 tid 100068 ]
Stopped at kdb_enter+0x3d: movq $0,0x6b5b30(%rip)
db>bt
Tracing pid 0 tid 100068 td 0xffffff000252d000
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
_mtx_assert() at _mtx_assert+0xdc
run_usb_timeout_cb() at run_usb_timeout_cb+0x35
taskqueue_run() at taskqueue_run+0x91
taskqueue_thread_loop() at taskqueue_thread_loop+0x3f
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffff80001bcd30, rbp = 0 ---
db>

How-To-Repeat: # kldload if_run
# ifconfig wlan create wlandev run0 wlanmode hostap
# ifconfig wlan0 ssid test
# ifconfig wlan0 inet 192.168.0.10
[panic after some seconds]
Comment 1 Hans Petter Selasky 2010-03-02 21:44:11 UTC
This is a know issue which has been fixed, but not committed to -current yet.

--HPS
Comment 2 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-06-15 19:22:36 UTC
Fixed in r205042.