LOR if_ath.c:842 ieee80211_node.c:1488

From: Jiri Mikulas <konfer_at_mikulas.com>
Date: Sat, 22 Jan 2005 21:03:50 +0100
Hello
FYI

in AP mode
ifconfig ath0 channel 42 media autoselect mode 11a mediaopt hostap

platan6# uname -a
FreeBSD platan6.praha12.czf 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Sat Jan 22 01:19:19 CET 2005 
root_at_platan6.praha12.czf:/usr/obj/usr/src/sys/ROUTER-IPFW-PF  i386

~~~~~~~~~~~~~~~~~
ath0_at_pci0:10:0: class=0x020000 card=0x7005144f chip=0x0013168c rev=0x01 hdr=0x00
     vendor   = 'Atheros Communications Inc.'
     device   = 'AR5213 802.11a/b/g Wireless Adapter'
     class    = network
     subclass = ethernet

ath0: <Atheros 5212> mem 0xd4800000-0xd480ffff irq 12 at device 10.0 on pci0
ath0: Ethernet address: 00:90:4b:ca:33:19
ath0: mac 5.9 phy 4.3 radio 3.6

ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 fe80::290:4bff:feca:3319%ath0 prefixlen 64 scopeid 0x2
         inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
         ether 00:90:4b:ca:33:19
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <hostap>
         status: associated
         ssid A channel 42 bssid 00:90:4b:ca:33:19
         authmode OPEN privacy OFF txpowmax 54 dtimperiod 1 bintval 100

~~~~~~~~~~~~~~~~~
device          ath_rate_onoe
~~~~~~~~~~~~~~~~~


lock order reversal
  1st 0xc1a9de28 ath0 (network driver) _at_ /usr/src/sys/dev/ath/if_ath.c:842
  2nd 0xc1e89eb4 ath0 (802.11 scangen) _at_ /usr/src/sys/net80211/ieee80211_node.c:1488
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0809c30,c0809b68,c07a7d28) at kdb_backtrace+0x29
witness_checkorder(c1e89eb4,9,c0766c6e,5d0) at witness_checkorder+0x54c
_mtx_lock_flags(c1e89eb4,0,c0766c6e,5d0,c1a9d3f4) at _mtx_lock_flags+0x5b
ieee80211_iterate_nodes(c1e89e00,c04a0034,0) at ieee80211_iterate_nodes+0x21
ath_rate_newstate(c1a9d000,4) at ath_rate_newstate+0x7f
ath_newstate(c1a9d3f4,4,ffffffff,c1a9d3f4,c1a9d3f4) at ath_newstate+0x1bf
ieee80211_create_ibss(c1a9d3f4,c1a9d6c6) at ieee80211_create_ibss+0x1ff
ieee80211_newstate(c1a9d3f4,1,ffffffff,d865cbc4,c0730b20) at ieee80211_newstate+0x2e4
ath_newstate(c1a9d3f4,1,ffffffff) at ath_newstate+0x2a3
ath_init(c1a9d000) at ath_init+0x167
ath_ioctl(c1a9d000,801c69ea,c1c67020,d865cc48,c05582a4) at ath_ioctl+0x19e
in_control(c1e5d000,801c69ea,c1c67020,c1a9d000,c1bfb730) at in_control+0xabd
ifioctl(c1e5d000,801c69ea,c1c67020,c1bfb730,0) at ifioctl+0x198
soo_ioctl(c1c259d4,801c69ea,c1c67020,c1e3fb80,c1bfb730) at soo_ioctl+0x2db
ioctl(c1bfb730,d865cd14,3,2,282) at ioctl+0x370
syscall(2f,2f,2f,bfbfe40c,9) at syscall+0x213
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c4853, esp = 0xbfbfe3cc, ebp = 0xbfbfe428 ---
Received on Sat Jan 22 2005 - 19:03:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC