Date: Sat, 13 Dec 2014 06:34:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 195937] New: [urtwn] panic: mtx_lock() of destroyed mutex @ /home/dchagin/head/sys/net80211/ieee80211_node.c Message-ID: <bug-195937-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195937 Bug ID: 195937 Summary: [urtwn] panic: mtx_lock() of destroyed mutex @ /home/dchagin/head/sys/net80211/ieee80211_node.c Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: dchagin@FreeBSD.org get out usb urtwn device. dchagin.static.corbina.net dumped core - see /var/crash/vmcore.1 Sat Dec 13 00:02:31 MSK 2014 FreeBSD dchagin.static.corbina.net 11.0-CURRENT FreeBSD 11.0-CURRENT #161 r275641+669d6a9(lemul): Tue Dec 9 17:40:17 MSK 2014=20=20=20=20 root@dchagin.static.corbina.net:/home/rootobj/home/dchagin/head/sys/YOY am= d64 panic: mtx_lock() of destroyed mutex @ /home/dchagin/head/sys/net80211/ieee80211_node.c:1933 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: urtwn0: timeout waiting for MAC initialization panic: mtx_lock() of destroyed mutex @ /home/dchagin/head/sys/net80211/ieee80211_node.c:1933 cpuid =3D 6 KDB: enter: panic Reading symbols from /boot/kernel/xhci.ko.symbols...done. Loaded symbols for /boot/kernel/xhci.ko.symbols Reading symbols from /boot/kernel/usb.ko.symbols...done. Loaded symbols for /boot/kernel/usb.ko.symbols Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. Loaded symbols for /boot/kernel/linprocfs.ko.symbols Reading symbols from /boot/kernel/pseudofs.ko.symbols...done. Loaded symbols for /boot/kernel/pseudofs.ko.symbols Reading symbols from /boot/kernel/linux_common.ko.symbols...done. Loaded symbols for /boot/kernel/linux_common.ko.symbols Reading symbols from /boot/kernel/procfs.ko.symbols...done. Loaded symbols for /boot/kernel/procfs.ko.symbols Reading symbols from /boot/kernel/if_urtwn.ko.symbols...done. Loaded symbols for /boot/kernel/if_urtwn.ko.symbols #0 doadump (textdump=3D1015036432) at /home/dchagin/head/sys/kern/kern_shutdown.c:261 261 dumptid =3D curthread->td_tid; (kgdb) #0 doadump (textdump=3D1015036432) at /home/dchagin/head/sys/kern/kern_shutdown.c:261 #1 0xffffffff803a45e8 in db_fncall_generic (addr=3D-2140153696,=20 rv=3D0xfffffe033c8039a0, nargs=3D0, args=3D0xfffffe033c8039b0) at /home/dchagin/head/sys/ddb/db_command.c:568 #2 0xffffffff803a42ba in db_fncall (dummy1=3D0, dummy2=3D0,=20 dummy3=3D-2199011875852,=20 dummy4=3D0xfffffe033c803a90 "=D1=8E:\200<\003=D0=A7=D0=AA=D0=AAi0h\200\= 001") at /home/dchagin/head/sys/ddb/db_command.c:616 #3 0xffffffff803a3f34 in db_command (last_cmdp=3D0xffffffff810209a8,=20 cmd_table=3D0x0, dopager=3D1) at /home/dchagin/head/sys/ddb/db_command.= c:440 #4 0xffffffff803a3b4d in db_command_loop () at /home/dchagin/head/sys/ddb/db_command.c:493 #5 0xffffffff803a8138 in db_trap (type=3D3, code=3D0) at /home/dchagin/head/sys/ddb/db_main.c:251 #6 0xffffffff80759a5c in kdb_trap (type=3D3, code=3D0, tf=3D0xfffffe033c80= 4130) at /home/dchagin/head/sys/kern/subr_kdb.c:654 #7 0xffffffff80bc1e31 in trap (frame=3D0xfffffe033c804130) at /home/dchagin/head/sys/amd64/amd64/trap.c:546 #8 0xffffffff80bc3508 in trap_check (frame=3D0xfffffe033c804130) at /home/dchagin/head/sys/amd64/amd64/trap.c:644 #9 0xffffffff80b97db2 in calltrap () at /home/dchagin/head/sys/amd64/amd64/exception.S:231 #10 0xffffffff80759285 in breakpoint () at cpufunc.h:63 #11 0xffffffff80758ebf in kdb_enter (why=3D0xffffffff80cef26d "panic",=20 msg=3D0xffffffff80cef26d "panic") at /home/dchagin/head/sys/kern/subr_kdb.c:443 #12 0xffffffff806fe077 in vpanic ( fmt=3D0xffffffff80cec4ae "mtx_lock() of destroyed mutex @ %s:%d",=20 ap=3D0xfffffe033c804350) at /home/dchagin/head/sys/kern/kern_shutdown.c= :739 #13 0xffffffff806fda8c in kassert_panic ( fmt=3D0xffffffff80cec4ae "mtx_lock() of destroyed mutex @ %s:%d") at /home/dchagin/head/sys/kern/kern_shutdown.c:634 #14 0xffffffff806db6de in __mtx_lock_flags (c=3D0xfffffe000348e850, opts=3D= 0,=20 file=3D0xffffffff80d11ff1 "/home/dchagin/head/sys/net80211/ieee80211_no= de.c", line=3D1933) at /home/dchagin/head/sys/kern/kern_mutex.c:214 #15 0xffffffff808c5a51 in ieee80211_node_table_reset (nt=3D0xfffffe000348e8= 20,=20 match=3D0xfffff801528b4000) at /home/dchagin/head/sys/net80211/ieee80211_node.c:1933 #16 0xffffffff808c598c in ieee80211_node_vdetach (vap=3D0xfffff801528b4000) at /home/dchagin/head/sys/net80211/ieee80211_node.c:194 #17 0xffffffff8087ee84 in ieee80211_vap_detach (vap=3D0xfffff801528b4000) at /home/dchagin/head/sys/net80211/ieee80211.c:657 #18 0xffffffff816362ee in urtwn_vap_delete (vap=3D0xfffff801528b4000) at /home/dchagin/head/sys/modules/usb/urtwn/../../../dev/usb/wlan/if_urtwn.c:6= 30 #19 0xffffffff808962b0 in wlan_clone_destroy (ifp=3D0xfffff8014f688800) at /home/dchagin/head/sys/net80211/ieee80211_freebsd.c:160 #20 0xffffffff8084f464 in ifc_simple_destroy (ifc=3D0xfffff80003db8280,=20 ifp=3D0xfffff8014f688800) at /home/dchagin/head/sys/net/if_clone.c:676 #21 0xffffffff8084f2cb in if_clone_destroyif (ifc=3D0xfffff80003db8280,=20 ifp=3D0xfffff8014f688800) at /home/dchagin/head/sys/net/if_clone.c:324 #22 0xffffffff8084f0c8 in if_clone_destroy (name=3D0xfffffe033c804880 "wlan= 0") at /home/dchagin/head/sys/net/if_clone.c:284 #23 0xffffffff80847b48 in ifioctl (so=3D0xfffff8000aa76000, cmd=3D214960780= 1,=20 data=3D0xfffffe033c804880 "wlan0", td=3D0xfffff8000a746000) at /home/dchagin/head/sys/net/if.c:2686 #24 0xffffffff8079c8c4 in soo_ioctl (fp=3D0xfffff8000a32d230, cmd=3D2149607= 801,=20 data=3D0xfffffe033c804880, active_cred=3D0xfffff8000a541c00,=20 td=3D0xfffff8000a746000) at /home/dchagin/head/sys/kern/sys_socket.c:222 #25 0xffffffff8078fdbc in fo_ioctl (fp=3D0xfffff8000a32d230, com=3D21496078= 01,=20 data=3D0xfffffe033c804880, active_cred=3D0xfffff8000a541c00,=20 td=3D0xfffff8000a746000) at file.h:319 #26 0xffffffff8078fc5d in kern_ioctl (td=3D0xfffff8000a746000, fd=3D3,=20 com=3D2149607801, data=3D0xfffffe033c804880 "wlan0") at /home/dchagin/head/sys/kern/sys_generic.c:809 #27 0xffffffff8078f8de in sys_ioctl (td=3D0xfffff8000a746000,=20 uap=3D0xfffffe033c804a58) at /home/dchagin/head/sys/kern/sys_generic.c:= 718 #28 0xffffffff80bc3f28 in syscallenter (td=3D0xfffff8000a746000,=20 sa=3D0xfffffe033c804a48) at subr_syscall.c:133 #29 0xffffffff80bc38df in amd64_syscall (td=3D0xfffff8000a746000, traced=3D= 0) at /home/dchagin/head/sys/amd64/amd64/trap.c:991 #30 0xffffffff80b9809b in Xfast_syscall () at /home/dchagin/head/sys/amd64/amd64/exception.S:390 #31 0x00000008011c7efa in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195937-21060>