ath: phy0: Failed to stop TX DMA, queues=0x004!

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
garuser
Posts: 5
Joined: Tue May 21, 2013 11:51 pm

ath: phy0: Failed to stop TX DMA, queues=0x004!

Post by garuser »

router:843N@gargoyle 1.6.1 client bridge mode
(hardware mod,16M FLASH/64M RAM,Similar to 841N V8 )
full log

BusyBox v1.19.4 (2014-04-18 07:06:21 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

------------------------------------------------------------------
| _____ _ |
| | __ \ | | |
| | | \/ __ _ _ __ __ _ ___ _ _| | ___ |
| | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \ |
| | |_\ \ (_| | | | (_| | (_) | |_| | | __/ |
| \____/\__,_|_| \__, |\___/ \__, |_|\___| |
| __/ | __/ | |
| |___/ |___/ |
| |
|----------------------------------------------------------------|
| Gargoyle version 1.6.1 | OpenWrt Attitude Adjustment branch |
| Gargoyle revision 87ce626 | OpenWrt revision r40423 |
| Built April 18, 2014 | Target ar71xx/default |
------------------------------------------------------------------
root@843N@Gargoyle 1:~# dmesg
[ 0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Apr 18 07:38:53 EDT 2014
[ 0.000000] MyLoader: sysp=5dedffbd, boardp=d23319d1, parts=84b5f2f2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9341 rev 1
[ 0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 802e71f0, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=TL-WR841N-v8 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61528k/65536k available (2169k kernel code, 4008k reserved, 420k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-MR3420 v2 | TP-LINK TL-WR841N/ND v8 (3G)
[ 0.520000] bio: create slab <bio-0> at 0
[ 0.530000] Switching to clocksource MIPS
[ 0.530000] NET: Registered protocol family 2
[ 0.540000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.540000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.550000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.550000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.560000] TCP reno registered
[ 0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.570000] NET: Registered protocol family 1
[ 0.580000] PCI: CLS 0 bytes, default 32
[ 0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.600000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.610000] msgmni has been set to 120
[ 0.610000] io scheduler noop registered
[ 0.620000] io scheduler deadline registered (default)
[ 0.620000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.660000] console [ttyS0] enabled, bootconsole disabled
[ 0.670000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[ 0.680000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.680000] 5 tp-link partitions found on MTD device spi0.0
[ 0.690000] Creating 5 MTD partitions on "spi0.0":
[ 0.690000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.700000] 0x000000020000-0x000000107034 : "kernel"
[ 0.710000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.720000] 0x000000107034-0x000000ff0000 : "rootfs"
[ 0.730000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.740000] mtd: partition "rootfs" set to be root filesystem
[ 0.750000] mtd: partition "rootfs_data" created automatically, ofs=390000, len=C60000
[ 0.760000] 0x000000390000-0x000000ff0000 : "rootfs_data"
[ 0.760000] 0x000000ff0000-0x000001000000 : "art"
[ 0.770000] 0x000000020000-0x000000ff0000 : "firmware"
[ 0.800000] ag71xx_mdio: probed
[ 0.800000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.360000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[ 1.370000] eth1: Atheros AG71xx at 0xba000000, irq 5
[ 1.920000] eth1: Found an AR934X built-in switch
[ 2.960000] TCP cubic registered
[ 2.960000] NET: Registered protocol family 17
[ 2.960000] Bridge firewalling registered
[ 2.970000] Ebtables v2.0 registered
[ 2.970000] 8021q: 802.1Q VLAN Support v1.8
[ 2.980000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.990000] Freeing unused kernel memory: 212k freed
[ 4.920000] Registered led device: tp-link:green:lan1
[ 4.920000] Registered led device: tp-link:green:lan2
[ 4.930000] Registered led device: tp-link:green:lan3
[ 4.930000] Registered led device: tp-link:green:lan4
[ 4.930000] Registered led device: tp-link:green:qss
[ 4.930000] Registered led device: tp-link:green:system
[ 4.930000] Registered led device: tp-link:green:wan
[ 4.930000] Registered led device: tp-link:green:wlan
[ 8.230000] JFFS2 notice: (418) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 23 of xref (0 dead, 4 orphan) found.
[ 9.000000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
[ 9.010000] Backport generated by backports.git backports-20140124-0-g1256d3e
[ 9.160000] cfg80211: Calling CRDA to update world regulatory domain
[ 9.170000] cfg80211: World regulatory domain updated:
[ 9.170000] cfg80211: DFS Master region: unset
[ 9.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.190000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.190000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.200000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 9.210000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 9.220000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 9.230000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 9.590000] usbcore: registered new interface driver usbfs
[ 9.600000] usbcore: registered new interface driver hub
[ 9.600000] usbcore: registered new device driver usb
[ 10.220000] ath: EEPROM regdomain: 0x0
[ 10.220000] ath: EEPROM indicates default country code should be used
[ 10.220000] ath: doing EEPROM country->regdmn map search
[ 10.220000] ath: country maps to regdmn code: 0x3a
[ 10.220000] ath: Country alpha2 being used: US
[ 10.220000] ath: Regpair used: 0x3a
[ 10.230000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 10.240000] Registered led device: ath9k-phy0
[ 10.240000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 10.250000] cfg80211: Calling CRDA for country: US
[ 10.250000] cfg80211: Regulatory domain changed to country: US
[ 10.260000] cfg80211: DFS Master region: FCC
[ 10.260000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.270000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 10.280000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm)
[ 10.290000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[ 10.290000] cfg80211: (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[ 10.300000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm)
[ 10.310000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm)
[ 10.320000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 10.370000] PPP generic driver version 2.4.2
[ 10.490000] tun: Universal TUN/TAP device driver, 1.6
[ 10.500000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 10.590000] GRE over IPv4 demultiplexor driver
[ 10.610000] GRE over IPv4 tunneling driver
[ 10.720000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.070000] NET: Registered protocol family 24
[ 11.160000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.170000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.180000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.220000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.240000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.240000] hub 1-0:1.0: USB hub found
[ 11.250000] hub 1-0:1.0: 1 port detected
[ 11.340000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
[ 11.690000] PPTP driver version 0.8.5
[ 12.280000] xt_time: kernel timezone is -0000
[ 12.960000] Hooked IMQ after mangle on PREROUTING
[ 12.970000] Hooked IMQ after nat on POSTROUTING
[ 12.970000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[ 13.160000] Netfilter messages via NETLINK v0.30.
[ 13.210000] ip_set: protocol 6
[ 13.720000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 19.650000] device eth1 entered promiscuous mode
[ 20.250000] eth1: link up (1000Mbps/Full duplex)
[ 20.250000] br-lan: port 1(eth1) entered forwarding state
[ 20.260000] br-lan: port 1(eth1) entered forwarding state
[ 22.260000] br-lan: port 1(eth1) entered forwarding state
[ 25.390000] device wlan0 entered promiscuous mode
[ 29.290000] device wlan0-1 entered promiscuous mode
[ 29.550000] wlan0-1: authenticate with MAC ADDRESS
[ 29.560000] wlan0-1: send auth to MAC ADDRESS (try 1/3)
[ 29.570000] wlan0-1: authenticated
[ 29.690000] wlan0-1: associate with MAC ADDRESS (try 1/3)
[ 29.700000] wlan0-1: RX AssocResp from MAC ADDRESS (capab=0xc11 status=0 aid=1)
[ 29.700000] wlan0-1: associated
[ 29.710000] br-lan: port 3(wlan0-1) entered forwarding state
[ 29.710000] br-lan: port 3(wlan0-1) entered forwarding state
[ 30.990000] br-lan: port 2(wlan0) entered forwarding state
[ 30.990000] br-lan: port 2(wlan0) entered forwarding state
[ 31.710000] br-lan: port 3(wlan0-1) entered forwarding state
[ 32.990000] br-lan: port 2(wlan0) entered forwarding state
[ 54.460000] ipt_bandwidth: timezone shift of 480 minutes detected, adjusting
[ 54.460000] old minutes west=0, new minutes west=-480
[ 4825.080000] ------------[ cut here ]------------
[ 4825.090000] WARNING: at /home/eric/gargoyle/ar71xx-src/build_dir/linux-ar71xx_generic/compat-wireless-2014-01-23.1/net/mac80211/agg-tx.c:694 0x8308b508()
[ 4825.100000] Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev xt_set(O) ip_set_list_set(O) ip_set_hash_netport(O) ip_set_hash_netiface(O) ip_set_hash_net(O) ip_set_hash_ipportnet(O) ip_set_hash_ipportip(O) ip_set_hash_ipport(O) ip_set_hash_ip(O) ip_set_bitmap_port(O) ip_set_bitmap_ipmac(O) ip_set_bitmap_ip(O) ip_set(O) ebt_among ebt_802_3 nfnetlink xt_IMQ imq ipt_weburl ipt_webmon ipt_timerange nf_nat_tftp nf_conntrack_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_conntrack_sip nf_nat_pptp nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_amanda nf_conntrack_amanda nf_conntrack_broadcast nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_iprange xt_HL xt_hl xt_ecn ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP xt_dscp xt_string xt_layer7 xt_quota xt_pkttype xt_physdev xt_owner ipt_bandwidth ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE iptable_nat nf_nat xt_recent xt_helper xt_connmark xt_connbytes pptp pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables ip_gre gre tun ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base ts_fsm ts_bm ts_kmp crc_ccitt cfg80211(O) compat(O) arc4 aes_generic crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 4825.240000] Call Trace:[<802798c8>] 0x802798c8
[ 4825.250000] [<802798c8>] 0x802798c8
[ 4825.250000] [<80071aec>] 0x80071aec
[ 4825.250000] [<8308b508>] 0x8308b508
[ 4825.260000] [<80071b30>] 0x80071b30
[ 4825.260000] [<8308b508>] 0x8308b508
[ 4825.260000] [<83090284>] 0x83090284
[ 4825.270000] [<80094864>] 0x80094864
[ 4825.270000] [<830901bc>] 0x830901bc
[ 4825.280000] [<80085f40>] 0x80085f40
[ 4825.280000] [<800952f0>] 0x800952f0
[ 4825.280000] [<800869f0>] 0x800869f0
[ 4825.290000] [<8027d05c>] 0x8027d05c
[ 4825.290000] [<800867c4>] 0x800867c4
[ 4825.290000] [<800867c4>] 0x800867c4
[ 4825.300000] [<8008a314>] 0x8008a314
[ 4825.300000] [<800e72bc>] 0x800e72bc
[ 4825.300000] [<80064bd0>] 0x80064bd0
[ 4825.310000] [<8008a28c>] 0x8008a28c
[ 4825.310000] [<80064bc0>] 0x80064bc0
[ 4825.320000]
[ 4825.320000] ---[ end trace d34de26625210d50 ]---
[ 9518.260000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16560.160000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16593.780000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16623.290000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16634.210000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16711.170000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16716.090000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16739.210000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16744.110000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16787.070000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16797.880000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16818.230000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[16923.060000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[16928.470000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[17088.490000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[17089.140000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[17089.630000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[17115.720000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[17116.690000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[17149.770000] ath: phy0: Failed to stop TX DMA, queues=0x005!
[17157.940000] ath: phy0: Failed to stop TX DMA, queues=0x005!
root@843N@Gargoyle 1:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11ng'
option macaddr 'MAC ADDRESS'
option htmode 'HT20'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option channel '7'

config wifi-iface 'cfg2'
option device 'radio0'
option network 'lan'
option mode 'sta'
option client_bridge '1'
option ssid 'WIRELESS'
option encryption 'psk2'
option key 'PASSWORD'
option wpa_group_rekey '0'
option noscan '1'

config wifi-iface 'cfg3'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'WIRELESS2'
option encryption 'psk2'
option key 'PASSWORD'
option wpa_group_rekey '0'
option noscan '1'

root@843N@Gargoyle 1:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/reset
Baseband Hang: 0
Baseband Watchdog: 1
Fatal HW Error: 0
TX HW error: 0
TX Path Hang: 0
PLL RX Hang: 0
MAC Hang: 0
Stuck Beacon: 20
MCI Reset: 0
It seems my wifi is unstable,how to fix it?

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: ath: phy0: Failed to stop TX DMA, queues=0x004!

Post by DoesItMatter »

Since you have a hardware modded - non-standard router,
you need to do testing with standard OpenWRT images first.

Test with a regular OpenWRT image and make sure it boots
properly, wireless/wired works, etc.

If there are still issues with standard OpenWRT, Gargoyle will
not work properly on your device either as Gargoyle is built
on an OpenWRT base.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply