Skip to contentSkip to conversation

incorrect operation in access point mode

ath9k-devel dzivalli dzivalli 1 participant 1 message Mar 18, 2012

lore
Share & tools
lore
#0 lore raw

device tp-link wn821n
driver ath_htc

I use usb adapter configured in ap mode using hostapd. After a few hours falling off the network. At the bottom I attached the logs.

root at s1:~# uname -a
Linux s1 3.0.0-16-generic-pae #29-Ubuntu SMP Tue Feb 14 13:56:31 UTC 2012 i686 i686 i386 GNU/Linux root at s1:~# dpkg -l| grep -i hostapd
ii hostapd 1:0.7.3-2build1 user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator

Mar 18 10:51:18 s1 hostapd: wlan1: STA ec:55:f9:c4:0c:31 IEEE 802.11: disassociated due to inactivity
Mar 18 10:51:19 s1 hostapd: wlan1: STA ec:55:f9:c4:0c:31 IEEE 802.11: deauthenticated due to inactivity
Mar 18 10:52:25 s1 kernel: [ 5243.708077] ath: Unable to remove station entry for: ec:55:f9:c4:0c:31
Mar 18 10:59:02 s1 kernel: [ 5640.496103] INFO: task irqbalance:890 blocked for more than 120 seconds.
Mar 18 10:59:02 s1 kernel: [ 5640.496230] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 18 10:59:02 s1 kernel: [ 5640.496367] irqbalance      D c156114f     0   890      1 0x00000000
Mar 18 10:59:02 s1 kernel: [ 5640.496380]  f6b3de98 00000086 f6b3de98 c156114f 00000029 00000000 f74d0000 c18b4d40
Mar 18 10:59:02 s1 kernel: [ 5640.496398]  c18b4d40 26d31170 000004f8 f7906d40 f74ea640 f74d0000 00000000 00000000
Mar 18 10:59:02 s1 kernel: [ 5640.496415]  f6b3de88 c1123a1d 00000000 00000000 00000000 f6971200 c14582bc 0000023c
Mar 18 10:59:02 s1 kernel: [ 5640.496433] Call Trace:
Mar 18 10:59:02 s1 kernel: [ 5640.496450]  [<c156114f>] ? do_page_fault+0x22f/0x4a0
Mar 18 10:59:02 s1 kernel: [ 5640.496463]  [<c1123a1d>] ? kmem_cache_alloc+0x11d/0x140
Mar 18 10:59:02 s1 kernel: [ 5640.496474]  [<c14582bc>] ? sk_prot_alloc+0x2c/0x1a0
Mar 18 10:59:02 s1 kernel: [ 5640.496484]  [<c155bea5>] schedule+0x35/0x50
Mar 18 10:59:02 s1 kernel: [ 5640.496492]  [<c155ca46>] __mutex_lock_slowpath+0xc6/0x120
Mar 18 10:59:02 s1 kernel: [ 5640.496501]  [<c155c6f4>] mutex_lock+0x24/0x40
Mar 18 10:59:02 s1 kernel: [ 5640.496510]  [<c1473f52>] rtnl_lock+0x12/0x20
Mar 18 10:59:02 s1 kernel: [ 5640.496519]  [<c1469ec8>] dev_ioctl+0x1a8/0x2f0
Mar 18 10:59:02 s1 kernel: [ 5640.496529]  [<c1454084>] ? sock_alloc_file+0x84/0xf0
Mar 18 10:59:02 s1 kernel: [ 5640.496538]  [<c155d8bd>] ? _raw_spin_lock+0xd/0x10
Mar 18 10:59:02 s1 kernel: [ 5640.496548]  [<c14b9400>] ? udp_poll+0x70/0x70
Mar 18 10:59:02 s1 kernel: [ 5640.496556]  [<c14547ea>] sock_ioctl+0x8a/0x290
Mar 18 10:59:02 s1 kernel: [ 5640.496564]  [<c1454760>] ? move_addr_to_user+0x90/0x90
Mar 18 10:59:02 s1 kernel: [ 5640.496573]  [<c1144549>] do_vfs_ioctl+0x79/0x2d0
Mar 18 10:59:02 s1 kernel: [ 5640.496581]  [<c114480f>] sys_ioctl+0x6f/0x80
Mar 18 10:59:02 s1 kernel: [ 5640.496589]  [<c1564b1f>] sysenter_do_call+0x12/0x28
Mar 18 11:01:02 s1 kernel: [ 5760.496106] INFO: task irqbalance:890 blocked for more than 120 seconds.
Mar 18 11:01:02 s1 kernel: [ 5760.496232] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 18 11:01:02 s1 kernel: [ 5760.496368] irqbalance      D c156114f     0   890      1 0x00000000
Mar 18 11:01:02 s1 kernel: [ 5760.496382]  f6b3de98 00000086 f6b3de98 c156114f 00000029 00000000 f74d0000 c18b4d40
Mar 18 11:01:02 s1 kernel: [ 5760.496400]  c18b4d40 26d31170 000004f8 f7906d40 f74ea640 f74d0000 00000000 00000000
Mar 18 11:01:02 s1 kernel: [ 5760.496418]  f6b3de88 c1123a1d 00000000 00000000 00000000 f6971200 c14582bc 0000023c
Mar 18 11:01:02 s1 kernel: [ 5760.496435] Call Trace:
Mar 18 11:01:02 s1 kernel: [ 5760.496452]  [<c156114f>] ? do_page_fault+0x22f/0x4a0
Mar 18 11:01:02 s1 kernel: [ 5760.496464]  [<c1123a1d>] ? kmem_cache_alloc+0x11d/0x140
Mar 18 11:01:02 s1 kernel: [ 5760.496475]  [<c14582bc>] ? sk_prot_alloc+0x2c/0x1a0
Mar 18 11:01:02 s1 kernel: [ 5760.496485]  [<c155bea5>] schedule+0x35/0x50
Mar 18 11:01:02 s1 kernel: [ 5760.496493]  [<c155ca46>] __mutex_lock_slowpath+0xc6/0x120
Mar 18 11:01:02 s1 kernel: [ 5760.496502]  [<c155c6f4>] mutex_lock+0x24/0x40
Mar 18 11:01:02 s1 kernel: [ 5760.496511]  [<c1473f52>] rtnl_lock+0x12/0x20
Mar 18 11:01:02 s1 kernel: [ 5760.496521]  [<c1469ec8>] dev_ioctl+0x1a8/0x2f0
Mar 18 11:01:02 s1 kernel: [ 5760.496530]  [<c1454084>] ? sock_alloc_file+0x84/0xf0
Mar 18 11:01:02 s1 kernel: [ 5760.496538]  [<c155d8bd>] ? _raw_spin_lock+0xd/0x10
Mar 18 11:01:02 s1 kernel: [ 5760.496548]  [<c14b9400>] ? udp_poll+0x70/0x70
Mar 18 11:01:02 s1 kernel: [ 5760.496557]  [<c14547ea>] sock_ioctl+0x8a/0x290
Mar 18 11:01:02 s1 kernel: [ 5760.496564]  [<c1454760>] ? move_addr_to_user+0x90/0x90
Mar 18 11:01:02 s1 kernel: [ 5760.496573]  [<c1144549>] do_vfs_ioctl+0x79/0x2d0
Mar 18 11:01:02 s1 kernel: [ 5760.496581]  [<c114480f>] sys_ioctl+0x6f/0x80
Mar 18 11:01:02 s1 kernel: [ 5760.496591]  [<c1564b1f>] sysenter_do_call+0x12/0x28

root at s1:~# ifconfig wlan1 down
....................
ioctl(4, SIOCGIFFLAGS, {ifr_name="wlan1", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 ioctl(4, SIOCSIFFLAGS

, {ifr_name="wlan1", ifr_flags=IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
exit_group(0) = ?
root at s1:~#
root at s1:~# ifconfig wlan1 up
SIOCSIFFLAGS: Connection timed out
root at s1:~#