Date: Sun, 09 Dec 2012 09:37:46 +0200 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-wireless@FreeBSD.org Subject: rum0 based USB wireless adapter dumps core Message-ID: <50C43FCA.3040900@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all. I recently acquired another device. Upon creating simple access point my machine starts to dump core: KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x835551fc at panic+0x1bc #2 0x89ba96a2 at ieee80211_pwrsave+0x252 #3 0x89ba44fe at ieee80211_start+0x40e #4 0x8360a019 at if_transmit+0x129 #5 0x8360bb47 at ether_output+0x5e7 #6 0x836314e0 at ip_output+0xd70 #7 0x8362e807 at ip_forward+0x3b7 #8 0x8362e107 at ip_input+0x5d7 #9 0x83610fd7 at netisr_dispatch_src+0xa7 #10 0x83611370 at netisr_dispatch+0x20 #11 0x8360c373 at ether_demux+0x133 #12 0x8360c1e9 at ether_nh_input+0x329 #13 0x83610fd7 at netisr_dispatch_src+0xa7 #14 0x83611370 at netisr_dispatch+0x20 #15 0x8360c5d1 at ether_input+0x21 #16 0x896e6335 at ste_rxeof+0xe5 #17 0x896e706e at ste_intr+0xae Uptime: 54m35s Physical memory: 1011 MB #0 doadump (textdump=-202975232) at pcpu.h:249 249 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=-202975232) at pcpu.h:249 #1 0x83554dd1 in kern_reboot (howto=Variable "howto" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:448 #2 0x83555248 in panic (fmt=Unhandled dwarf expression opcode 0xfb ) at /usr/src/sys/kern/kern_shutdown.c:636 #3 0x89ba96a2 in ieee80211_pwrsave (ni=Cannot access memory at address 0x1 ) at /usr/src/sys/modules/wlan/../../net80211/ieee80211_power.c:387 #4 0x89ba44fe in ieee80211_start (ifp=Variable "ifp" is not available. ) at /usr/src/sys/modules/wlan/../../net80211/ieee80211_output.c:284 #5 0x8360a019 in if_transmit (ifp=Variable "ifp" is not available. ) at /usr/src/sys/net/if.c:3354 #6 0x8360bb47 in ether_output (ifp= Abort trap (core dumped) Relevant output from messages: ugen0.2: <Ralink> at usbus0 rum0: <Ralink 54M.USB......., class 0/0, rev 2.00/0.01, addr 2> on usbus0 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: 00:e0:4c:54:2b:5c rum0: need to implement rum_update_mcast Starting Network: rum0. rum0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether 00:e0:4c:54:2b:5c nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap> status: running lock order reversal: 1st 0x89c4e6c0 rum0_node_lock (rum0_node_lock) @ /usr/src/sys/modules/wlan/../../net80211/ieee80211_node.c:1940 2nd 0x89c4d014 rum0_com_lock (rum0_com_lock) @ /usr/src/sys/modules/wlan/../../net80211/ieee80211_power.c:295 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x8359a34e at witness_checkorder+0xc1e #2 0x835411da at _mtx_lock_flags+0x7a #3 0x89ba8f06 at ieee80211_set_tim+0x76 #4 0x89ba0061 at node_age+0x61 #5 0x89b9faf0 at ieee80211_node_timeout+0x1b0 #6 0x8356955e at softclock+0x25e #7 0x83528655 at intr_event_execute_handlers+0xc5 #8 0x83528a32 at ithread_loop+0xe2 #9 0x83525f4c at fork_exit+0x7c #10 0x83783634 at fork_trampoline+0x8 rum0: device timeout rum0: device timeout rum0: at uhub0, port 1, addr 2 (disconnected) rum0: could not multi read MAC register: USB_ERR_TIMEOUT Dec 8 23:03:53 limbo dhcpd: receive_packet failed on wlan0: Device not configured rum0: could not multi read MAC register: USB_ERR_TIMEOUT lock order reversal: 1st 0x87da6e28 if_addr_mtx (if_addr_mtx) @ /usr/src/sys/netinet/igmp.c:1710 2nd 0x83a25318 ifnet_rw (ifnet_rw) @ /usr/src/sys/net/if.c:238 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x8359a34e at witness_checkorder+0xc1e #2 0x83553415 at _rw_rlock+0x75 #3 0x83603e53 at ifnet_byindex+0x23 #4 0x8361b5fe at igmp_intr+0x1e #5 0x83610fd7 at netisr_dispatch_src+0xa7 #6 0x83611370 at netisr_dispatch+0x20 #7 0x8361e4f0 at igmp_v1v2_queue_report+0x190 #8 0x8361d6a9 at igmp_fasttimo+0x549 #9 0x835b4840 at pffasttimo+0x30 #10 0x8356955e at softclock+0x25e #11 0x83528655 at intr_event_execute_handlers+0xc5 #12 0x83528a32 at ithread_loop+0xe2 #13 0x83525f4c at fork_exit+0x7c #14 0x83783634 at fork_trampoline+0x8 lock order reversal: 1st 0x87da6e28 if_addr_mtx (if_addr_mtx) @ /usr/src/sys/netinet/igmp.c:1710 2nd 0x83a257dc PFil hook read/write mutex (PFil hook read/write mutex) @ /usr/src/sys/net/pfil.c:77 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x8359a34e at witness_checkorder+0xc1e #2 0x83552885 at _rm_rlock_debug+0x85 #3 0x836120ba at pfil_run_hooks+0x4a #4 0x83630fc1 at ip_output+0x851 #5 0x8361b8b8 at igmp_intr+0x2d8 #6 0x83610fd7 at netisr_dispatch_src+0xa7 #7 0x83611370 at netisr_dispatch+0x20 #8 0x8361e4f0 at igmp_v1v2_queue_report+0x190 #9 0x8361d6a9 at igmp_fasttimo+0x549 #10 0x835b4840 at pffasttimo+0x30 #11 0x8356955e at softclock+0x25e #12 0x83528655 at intr_event_execute_handlers+0xc5 #13 0x83528a32 at ithread_loop+0xe2 #14 0x83525f4c at fork_exit+0x7c #15 0x83783634 at fork_trampoline+0x8 lock order reversal: 1st 0x87da6e28 if_addr_mtx (if_addr_mtx) @ /usr/src/sys/netinet/igmp.c:1710 2nd 0x8965f2e8 ste0 (network driver) @ /usr/src/sys/modules/ste/../../dev/ste/if_ste.c:1881 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x8359a34e at witness_checkorder+0xc1e #2 0x835411da at _mtx_lock_flags+0x7a #3 0x896e6f23 at ste_start+0x33 #4 0x8360a019 at if_transmit+0x129 #5 0x8360bb47 at ether_output+0x5e7 #6 0x836314e0 at ip_output+0xd70 #7 0x8361b8b8 at igmp_intr+0x2d8 #8 0x83610fd7 at netisr_dispatch_src+0xa7 #9 0x83611370 at netisr_dispatch+0x20 #10 0x8361e4f0 at igmp_v1v2_queue_report+0x190 #11 0x8361d6a9 at igmp_fasttimo+0x549 #12 0x835b4840 at pffasttimo+0x30 #13 0x8356955e at softclock+0x25e #14 0x83528655 at intr_event_execute_handlers+0xc5 #15 0x83528a32 at ithread_loop+0xe2 #16 0x83525f4c at fork_exit+0x7c #17 0x83783634 at fork_trampoline+0x8 rum0: could not multi write MAC register: USB_ERR_TIMEOUT rum0: <Ralink 54M.USB......., class 0/0, rev 2.00/0.01, addr 2> on usbus0 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: 00:e0:4c:54:2b:5c lock order reversal: 1st 0x887d1778 rum0_scan_lock (rum0_scan_lock) @ /usr/src/sys/modules/wlan/../../net80211/ieee80211_node.c:1937 2nd 0x887d0014 rum0_com_lock (rum0_com_lock) @ /usr/src/sys/modules/wlan/../../net80211/ieee80211_node.c:2510 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x8359a34e at witness_checkorder+0xc1e #2 0x835411da at _mtx_lock_flags+0x7a #3 0x89ba1cd8 at ieee80211_node_leave+0x98 #4 0x89b9f9b8 at ieee80211_node_timeout+0x78 #5 0x8356955e at softclock+0x25e #6 0x83528655 at intr_event_execute_handlers+0xc5 #7 0x83528a32 at ithread_loop+0xe2 #8 0x83525f4c at fork_exit+0x7c #9 0x83783634 at fork_trampoline+0x8 panic: age -1 cpuid = 0 KDB: stack backtrace: #0 0x83586132 at kdb_backtrace+0x52 #1 0x835551fc at panic+0x1bc #2 0x89ba96a2 at ieee80211_pwrsave+0x252 #3 0x89ba44fe at ieee80211_start+0x40e #4 0x8360a019 at if_transmit+0x129 #5 0x8360bb47 at ether_output+0x5e7 #6 0x836314e0 at ip_output+0xd70 #7 0x8362e807 at ip_forward+0x3b7 #8 0x8362e107 at ip_input+0x5d7 #9 0x83610fd7 at netisr_dispatch_src+0xa7 #10 0x83611370 at netisr_dispatch+0x20 #11 0x8360c373 at ether_demux+0x133 #12 0x8360c1e9 at ether_nh_input+0x329 #13 0x83610fd7 at netisr_dispatch_src+0xa7 #14 0x83611370 at netisr_dispatch+0x20 #15 0x8360c5d1 at ether_input+0x21 #16 0x896e6335 at ste_rxeof+0xe5 #17 0x896e706e at ste_intr+0xae > uname -a FreeBSD limbo.xim.bz 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1 r243673M: Fri Dec 7 21:57:21 EET 2012 arcade@limbo.xim.bz:/usr/obj/usr/src/sys/MINIMALx32 i386 Kernel source has tmpfs-nrbtree.1.patch, world is built with clang. -- Sphinx of black quartz judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C43FCA.3040900>