1

Temat: 1043nd problem z wifi

Witam

Mam na swoim routerze tp-link tl-1043nd v 1.8 zainstalowany Openwrt by obsy z 07-02-2011 i co kilka godzin rozlaczane jest polaczenie bezprzewodowe. Router pracuje w trybie AP w standardzie g. Do urzadzenia podlaczonych jest 3 klientow wifi i jeden przewodowo.
Konfiguracja sieci:

network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0.1
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.1.1
network.wan=interface
network.wan.ifname=eth0.2
network.wan.defaultroute=0
network.wan.peerdns=0
network.wan.proto=dhcp
network.@switch[0]=switch
network.@switch[0].name=rtl8366rb
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=rtl8366rb
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=1 2 3 4 5t
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=rtl8366rb
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0 5t

wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.macaddr=74:ea:00:00:00:00
wireless.radio0.disabled=0
wireless.radio0.channel=1
wireless.radio0.hwmode=11g
wireless.radio0.country=PL
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].ssid=xxxxx
wireless.@wifi-iface[0].encryption=psk2
wireless.@wifi-iface[0].key=xxxxxxxxxxxxxx

Informacja, ktora mozna znalezc w logach:

ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA!
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
------------[ cut here ]------------
WARNING: at /opt/projekty/openwrt/ar71xx-backfire/build_dir/linux-ar71xx/compat-wireless-2011-01-24/drivers/net/wireless/ath/ath9k/recv.c:509 0x80ca7a34()
Modules linked in: fuse usblp ledtrig_usbdev nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc vfat fat ath9k ath9k_common ath9k_hw ath nls_iso8859_1 nls_cp437 mac80211 crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc usb_storage ehci_hcd sd_mod ext2 ext3 jbd ext4 jbd2 usbcore scsi_mod nls_base mbcache crc16 leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<800877fc>] 0x800877fc
[<800686c4>] 0x800686c4
[<800686c4>] 0x800686c4
[<80086708>] 0x80086708
[<80ca7a34>] 0x80ca7a34
[<80cb0000>] 0x80cb0000
[<80ca7a34>] 0x80ca7a34
[<80ca45f0>] 0x80ca45f0
[<80ca2958>] 0x80ca2958
[<80ca4f60>] 0x80ca4f60
[<80097f24>] 0x80097f24
[<80068f84>] 0x80068f84
[<8009bd98>] 0x8009bd98
[<80097dfc>] 0x80097dfc
[<8009b8ec>] 0x8009b8ec
[<8006cbcc>] 0x8006cbcc
[<8009b870>] 0x8009b870
[<8006cbbc>] 0x8006cbbc

---[ end trace 25be3f44068dc6ae ]---
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
warning: `smbd' uses 32-bit capabilities (legacy support in use)
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA!
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA!
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA!


Feb 13 13:52:06 LORD user.err kernel: ath: Failed to stop TX DMA in 100 msec after killing last frame
Feb 13 13:52:06 LORD user.err kernel: ath: Failed to stop TX DMA in 100 msec after killing last frame
Feb 13 13:52:06 LORD user.err kernel: ath: Failed to stop TX DMA!
Feb 13 13:52:06 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 13:52:06 LORD user.err kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Feb 13 13:52:06 LORD user.warn kernel: ------------[ cut here ]------------
Feb 13 13:52:06 LORD user.warn kernel: WARNING: at /opt/projekty/openwrt/ar71xx-backfire/build_dir/linux-ar71xx/compat-wireless-2011-01-24/drivers/net/wireless/ath/ath9k/recv.c:509 0x80ca7a34()
Feb 13 13:52:06 LORD user.warn kernel: Modules linked in: fuse usblp ledtrig_usbdev nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ip
Feb 13 13:52:06 LORD user.warn kernel: Call Trace:[<800877fc>] 0x800877fc
Feb 13 13:52:06 LORD user.warn kernel: [<800686c4>] 0x800686c4
Feb 13 13:52:06 LORD user.warn kernel: [<800686c4>] 0x800686c4
Feb 13 13:52:06 LORD user.warn kernel: [<80086708>] 0x80086708
Feb 13 13:52:06 LORD user.warn kernel: [<80ca7a34>] 0x80ca7a34
Feb 13 13:52:06 LORD user.warn kernel: [<80cb0000>] 0x80cb0000
Feb 13 13:52:06 LORD user.warn kernel: [<80ca7a34>] 0x80ca7a34
Feb 13 13:52:06 LORD user.warn kernel: [<80ca45f0>] 0x80ca45f0
Feb 13 13:52:06 LORD user.warn kernel: [<80ca2958>] 0x80ca2958
Feb 13 13:52:06 LORD user.warn kernel: [<80ca4f60>] 0x80ca4f60
Feb 13 13:52:06 LORD user.warn kernel: [<80097f24>] 0x80097f24
Feb 13 13:52:06 LORD user.warn kernel: [<80068f84>] 0x80068f84
Feb 13 13:52:06 LORD user.warn kernel: [<8009bd98>] 0x8009bd98
Feb 13 13:52:06 LORD user.warn kernel: [<80097dfc>] 0x80097dfc
Feb 13 13:52:06 LORD user.warn kernel: [<8009b8ec>] 0x8009b8ec
Feb 13 13:52:06 LORD user.warn kernel: [<8006cbcc>] 0x8006cbcc
Feb 13 13:52:06 LORD user.warn kernel: [<8009b870>] 0x8009b870
Feb 13 13:52:06 LORD user.warn kernel: [<8006cbbc>] 0x8006cbbc
Feb 13 13:52:06 LORD user.warn kernel: ---[ end trace 25be3f44068dc6ae ]---
Feb 13 13:52:06 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 13:58:10 LORD user.err kernel: ath: Failed to stop TX DMA in 100 msec after killing last frame
Feb 13 13:58:10 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 13:58:10 LORD user.err kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Feb 13 13:58:10 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 13:59:01 LORD daemon.info dnsmasq-dhcp[1456]: DHCPINFORM(br-lan) 192.168.1.11 88:ae:1d:82:41:9a 
Feb 13 13:59:01 LORD daemon.info dnsmasq-dhcp[1456]: DHCPACK(br-lan) 192.168.1.11 88:ae:1d:82:41:9a hrabia-lan
Feb 13 13:59:13 LORD daemon.info hostapd: wlan0: STA 00:22:5f:43:ba:46 WPA: group key handshake completed (RSN)
Feb 13 14:09:13 LORD daemon.info hostapd: wlan0: STA 00:22:5f:43:ba:46 WPA: group key handshake completed (RSN)
Feb 13 14:14:10 LORD user.debug kernel: ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22
Feb 13 14:19:13 LORD daemon.info hostapd: wlan0: STA 00:22:5f:43:ba:46 WPA: group key handshake completed (RSN)
Feb 13 14:21:56 LORD user.err kernel: ath: Failed to stop TX DMA in 100 msec after killing last frame
Feb 13 14:21:56 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 14:21:56 LORD user.err kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Feb 13 14:21:56 LORD user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Feb 13 14:25:28 LORD user.debug kernel: ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d22

Zainstalowane pakiety:

base-files - 43.10-r25399
block-hotplug - 0.1.0-2
block-mount - 0.1.0-2
busybox - 1.15.3-2
coreutils-users - 7.2-1
crda - 1.1.0-2
dnsmasq - 2.55-6
dosfsck - 3.0.11-1
dropbear - 0.52-4
e2fsprogs - 1.41.11-1
fdisk - 2.13.0.1-4
file - 4.26-2
firewall - 2-21
glib1 - 1.2.10-1
hdparm - 9.27-1
hotplug2 - 1.0-beta-2
iptables - 1.4.6-3cj
iptables-mod-conntrack - 1.4.6-3cj
iptables-mod-nat - 1.4.6-3cj
iw - 0.9.21-1
kernel - 2.6.32.27-1cj
kmod-ath - 2.6.32.27+2011-01-24-1cj
kmod-ath9k - 2.6.32.27+2011-01-24-1cj
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-01-24-1cj
kmod-crc-ccitt - 2.6.32.27-1cj
kmod-crc16 - 2.6.32.27-1cj
kmod-crypto-aes - 2.6.32.27-1cj
kmod-crypto-arc4 - 2.6.32.27-1cj
kmod-crypto-core - 2.6.32.27-1cj
kmod-fs-ext2 - 2.6.32.27-1cj
kmod-fs-ext3 - 2.6.32.27-1cj
kmod-fs-ext4 - 2.6.32.27-1cj
kmod-fs-mbcache - 2.6.32.27-1cj
kmod-fs-vfat - 2.6.32.27-1cj
kmod-fuse - 2.6.32.27-1cj
kmod-input-core - 2.6.32.27-1cj
kmod-input-gpio-buttons - 2.6.32.27-1cj
kmod-input-polldev - 2.6.32.27-1cj
kmod-ipt-conntrack - 2.6.32.27-1cj
kmod-ipt-core - 2.6.32.27-1cj
kmod-ipt-nat - 2.6.32.27-1cj
kmod-ipt-nathelper - 2.6.32.27-1cj
kmod-leds-gpio - 2.6.32.27-1cj
kmod-ledtrig-usbdev - 2.6.32.27-1cj
kmod-mac80211 - 2.6.32.27+2011-01-24-1cj
kmod-nls-base - 2.6.32.27-1cj
kmod-nls-cp437 - 2.6.32.27-1cj
kmod-nls-iso8859-1 - 2.6.32.27-1cj
kmod-ppp - 2.6.32.27-1cj
kmod-pppoe - 2.6.32.27-1cj
kmod-scsi-core - 2.6.32.27-1cj
kmod-usb-core - 2.6.32.27-1cj
kmod-usb-printer - 2.6.32.27-1cj
kmod-usb-storage - 2.6.32.27-1cj
kmod-usb2 - 2.6.32.27-1cj
libblkid - 1.41.11-1
libc - 0.9.30.1-43.10
libcurl - 7.21.3-1
libevent-2.0 - 2.0.10-1
libext2fs - 1.41.11-1
libgcc - 4.3.3+cs-43.10
libiptc - 1.4.6-3cj
liblua - 5.1.4-7
libmagic - 4.26-2
libncurses - 5.7-2
libnl-tiny - 0.1-1
libopenssl - 0.9.8p-1
libpthread - 0.9.30.1-43.10
librt - 0.9.30.1-43.10
libsigcxx - 2.2.6-1
libstdcpp - 4.3.3+cs-43.10
libtorrent - 0.12.6_r1165-2
libuci - 12012009.6-3
libuci-lua - 12012009.6-2
libuuid - 1.41.11-1
libxml2 - 2.7.7-1
libxtables - 1.4.6-3cj
lua - 5.1.4-7
luci - 0.9+svn6512-1
luci-admin-core - 0.9+svn6512-1
luci-admin-full - 0.9+svn6512-1
luci-admin-mini - 0.9+svn6512-1
luci-app-firewall - 0.9+svn6512-1
luci-app-initmgr - 0.9+svn6512-1
luci-app-p910nd - 0.9+svn6512-1
luci-cbi - 0.9+svn6512-1
luci-core - 0.9+svn6512-1
luci-http - 0.9+svn6512-1
luci-i18n-english - 0.9+svn6512-1
luci-ipkg - 0.9+svn6512-1
luci-lmo - 0.9+svn6512-1
luci-nixio - 0.9+svn6512-1
luci-sgi-cgi - 0.9+svn6512-1
luci-sys - 0.9+svn6512-1
luci-theme-base - 0.9+svn6512-1
luci-theme-openwrt - 0.9+svn6512-1
luci-uci - 0.9+svn6512-1
luci-uvl - 0.9+svn6512-1
luci-web - 0.9+svn6512-1
mc - 4.6.2-1
mount.ntfs-3g - 2010.10.2-1-fuseint
mtd - 13
ntfs-3g - 2011.1.15-1-fuseint
opkg - 576-1
p910nd - 0.93-2
perl - 5.10.0-5
perl-uri - 1.36-1
perl-www-curl - 4.00-1
perlbase-autoloader - 5.10.0-5
perlbase-base - 5.10.0-5
perlbase-bytes - 5.10.0-5
perlbase-config - 5.10.0-5
perlbase-cwd - 5.10.0-5
perlbase-digest - 5.10.0-5
perlbase-dynaloader - 5.10.0-5
perlbase-errno - 5.10.0-5
perlbase-essential - 5.10.0-5
perlbase-fcntl - 5.10.0-5
perlbase-file - 5.10.0-5
perlbase-io - 5.10.0-5
perlbase-mime - 5.10.0-5
perlbase-posix - 5.10.0-5
perlbase-selectsaver - 5.10.0-5
perlbase-socket - 5.10.0-5
perlbase-symbol - 5.10.0-5
perlbase-tie - 5.10.0-5
perlbase-time - 5.10.0-5
perlbase-xsloader - 5.10.0-5
ppp - 2.4.4-16
ppp-mod-pppoe - 2.4.4-16
rtorrent - 0.8.6_r1165-1
samba3 - 3.0.24-7
screen - 4.0.3-2
swap-utils - 2.13.0.1-4
swconfig - 7
transmission-daemon - 2.20b1-1
transmission-web - 2.21-1
tune2fs - 1.41.11-1
uci - 12012009.6-3
udevtrigger - 106-1
uhttpd - 22
vsftpd - 2.3.2-1cj
wget - 1.12-2
wireless-tools - 29-4
wpad-mini - 20100705-2
wput - 0.6.2-1
xmlrpc-c - 1.22.2_r1913-1
zlib - 1.2.3-5

Problem pojawia sie w przypadkowych momentach, zarowno pod wiekszym obciazeniem jak i podczas zwyklego przegladania stron. Z logow mozna wywnioskowac, ze wywalil sie sterownik od wifi, akurat ten komunikat pojawia sie tylko raz od momentu uruchomienia routera natomiast komunikaty o timeoutach wystepuja wlasnie co kilka godzin i skutkuja zrywaniem polaczenia bezprzewodowego na kilka sekund. Podobne poroblemy pojawialy sie juz wczesniej gdy korzystalem z poprzednich obrazow by obsy oraz z obrazow z trunka (ostatni raz dla testow jakies 3 tygodnie temu). Na tp-linku posiadam extroota na dysku podlaczonym przez hub usb. Co o tym sadzicie? Ktos spotkal sie z podobnym problemem?

2

Odp: 1043nd problem z wifi

Komunikaty pochodzą ze sterownika wifi i nic z tym nie zrobisz. Natomiast wykłada Ci się kernel na obsłudze usb/dysku.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: 1043nd problem z wifi

Hmm, czyli pozostaje czekac na aktualizacje/rozwiazanie problemow z wifi. Cezary dlaczego uwazasz, ze kernel wyklada sie na obsludze usb/dysku. W komunikacie w logach znajduje sie informacja, ze chodzi o plik ze sterownika wifi recv.c a dokladnie o linijke 509 kodu zrodlowego.

4

Odp: 1043nd problem z wifi

Bo jedną z głównych przyczyn jest brak zasobów na obsługę wszystkiego. Chyba że wifi u Ciebie spowodowało pociągnięcie za sobą reszty modułów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez macka 2011-02-14 15:12:00)

Odp: 1043nd problem z wifi

Tez mam podobne komunikaty, pojawiaja sie przy starcie routera.
Rzadko korzystam z wifi, tylko jak lacze sie telefonem, wiec nie potwierdze wystepowania bledu podczas dluzszego uzytkowania wifi, ale przy starcie na pewno pojawiaja sie takie bledy. Kiedys tak nie bylo, zaczely pojawiac sie od ktorejs rewizji obrazu. No chyba, ze ... cos zmienilem w jakiejs konfiguracji od tamtego czasu, moze sprawdze na czystym systemie przy nastepnej aktualizacji.