[FS#1530] r6755: tl-841n-v8 problems: ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 ...

LEDE Bugs lede-bugs at lists.infradead.org
Wed May 2 17:01:32 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Martin Tippmann (glycoknob) 

Attached to Project - OpenWrt/LEDE Project
Summary - r6755: tl-841n-v8 problems: ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 ...
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - revision: trunk - r6755-d089a5d773
hardware: tp-link 841n-v8 
build-configs: 
https://github.com/weimarnetz/firmware/blob/master/configs/ar71xx_tiny.config
https://github.com/weimarnetz/firmware/blob/master/configs/common.config


Started to see these errors in crash-reports - seems to happen multiple times per day. 



crashlog fh461-TP-Link TL-WR841N/ND v8
beta-113-g9c709a2+openwrt-r6755-d089a5d773
Linux fh461 4.9.91 #0 Mon Apr 23 20:07:22 2018 mips GNU/Linux
69:24:7d:f0:91:12:fa:32:92:55:08:69:f3:4a:27:09:d4:4a:f9:05
TP-Link TL-WR841N/ND v8
Time: 1525266772.173517
Modules:	ath9k at 80ee0000+15db0	ath9k_common at 80e34000+2a80	ath9k_hw at 80f00000+51020	ath at 80e38000+41c0	mac80211 at 80e80000+5faa0	iptable_nat at 80e31000+2c0	ipt_REJECT at 80ce2000+360	ipt_MASQUERADE at 80d85000+260	cfg80211 at 80e00000+30d50	xt_time at 80da3000+620	xt_tcpudp at 80da1000+680	xt_state at 80d9e000+280	xt_nat at 80da2000+440	xt_multiport at 80da0000+480	xt_mark at 80d9d000+260	xt_mac at 80d9a000+240	xt_limit at 80d98000+3c0	xt_conntrack at 80d95000+860	xt_comment at 80d87000+1c0	xt_TCPMSS at 80d90000+a40	xt_REDIRECT at 80d84000+260	xt_LOG at 80d80000+2c0	nf_reject_ipv4 at 80ce8000+7a0	nf_nat_redirect at 80ceb000+360	nf_nat_masquerade_ipv4 at 80cfc000+4f0	nf_conntrack_ipv4 at 80d82000+1240	nf_nat_ipv4 at 80ce0000+c50	nf_nat at 80ce4000+2010	nf_log_ipv4 at 80d13000+c20	nf_defrag_ipv4 at 80d1a000+2c0	nf_conntrack_rtcache at 80d1b000+960	nf_conntrack at 80cf0000+b2c0	iptable_mangle at 80d0e000+380	iptable_filter at 80d10000+2a0	ip_tables at 80d14000+2490	compat at 80cda000+1260	ip6t_REJECT at 80d07000+380	nf_reject_ipv6 at 80cd9000+840	nf_log_ipv6 at 80d05000+cc0	nf_log_common at 80d0c000+840	ip6table_mangle at 80cdf000+460	ip6table_filter at 80d35000+260	ip6_tables at 80d08000+2400	x_tables at 80cdc000+2b30	tun at 80d00000+4360	gpio_button_hotplug at 80c8c000+11c0
[    0.000000] Linux version 4.9.91 (buildbot at weimarnetz) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6556-d7ca4c6d3e) ) #0 Mon Apr 23 20:07:22 2018
[    0.000000] MyLoader: sysp=8b8b81ac, boardp=96e34c72, parts=b298aa77
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 803ec8b4, node_mem_map 81000020
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  board=TL-WR841N-v8  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27984K/32768K available (3153K kernel code, 150K rwdata, 332K rodata, 196K init, 212K bss, 4784K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[    0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.091064] pid_max: default: 32768 minimum: 301
[    0.096058] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103051] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.113506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.123919] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.131034] NET: Registered protocol family 16
[    0.137451] MIPS: machine is TP-LINK TL-WR841N/ND v8
[    0.618054] Can't analyze schedule() prologue at 80370e68
[    0.635480] clocksource: Switched to clocksource MIPS
[    0.642102] NET: Registered protocol family 2
[    0.647714] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.655078] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.661846] TCP: Hash tables configured (established 1024 bind 1024)
[    0.668662] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.674834] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.681773] NET: Registered protocol family 1
[    0.686454] PCI: CLS 0 bytes, default 32
[    0.691104] Crashlog allocated RAM at address 0x1f00000
[    0.698114] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.712737] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.718933] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.739073] io scheduler noop registered
[    0.743211] io scheduler deadline registered (default)
[    0.749106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.756351] console [ttyS0] disabled
[    0.780246] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.789368] console [ttyS0] enabled
[    0.796935] bootconsole [early0] disabled
[    0.809405] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.815183] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.821115] 5 tp-link partitions found on MTD device spi0.0
[    0.826931] Creating 5 MTD partitions on "spi0.0":
[    0.831893] 0x000000000000-0x000000020000 : "u-boot"
[    0.838748] 0x000000020000-0x00000015107c : "kernel"
[    0.845853] 0x00000015107c-0x0000003f0000 : "rootfs"
[    0.852824] mtd: device 2 (rootfs) set to be root filesystem
[    0.858792] 1 squashfs-split partitions found on MTD device rootfs
[    0.865191] 0x000000390000-0x0000003f0000 : "rootfs_data"
[    0.872684] 0x0000003f0000-0x000000400000 : "art"
[    0.879534] 0x000000020000-0x0000003f0000 : "firmware"
[    0.887904] libphy: Fixed MDIO Bus: probed
[    0.911041] libphy: ag71xx_mdio: probed
[    1.537571] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.547876] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.177362] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.229797] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.238507] NET: Registered protocol family 10
[    2.247818] NET: Registered protocol family 17
[    2.252602] 8021q: 802.1Q VLAN Support v1.8
[    2.265221] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.273857] Freeing unused kernel memory: 196K
[    2.278494] This architecture does not have kernel memory protection.
[    2.545497] random: fast init done
[    3.233660] init: Console is alive
[    3.237514] init: - watchdog -
[    3.994732] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.146802] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.155226] init: - preinit -
[    5.340601] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    8.562019] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.579568] mount_root: switching to jffs2 overlay
[    8.616411] urandom-seed: Seeding with /etc/urandom.seed
[    8.689353] procd: - early -
[    8.692446] procd: - watchdog -
[    9.250783] procd: - watchdog -
[    9.254343] procd: - ubus -
[    9.517271] procd: - init -
[    9.830081] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.840020] tun: Universal TUN/TAP device driver, 1.6
[    9.845248] tun: (C) 1999-2004 Max Krasnyansky 
[    9.856765] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.874264] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    9.882597] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    9.891727] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.906150] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.962757] xt_time: kernel timezone is -0000
[   10.071153] ath: EEPROM regdomain: 0x0
[   10.071164] ath: EEPROM indicates default country code should be used
[   10.071168] ath: doing EEPROM country->regdmn map search
[   10.071185] ath: country maps to regdmn code: 0x3a
[   10.071191] ath: Country alpha2 being used: US
[   10.071195] ath: Regpair used: 0x3a
[   10.084756] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.089600] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
[   10.132795] kmodloader: done loading kernel modules from /etc/modules.d/*
[   21.132399] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   21.159067] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.181083] IPv6: ADDRCONF(NETDEV_UP): br-vap: link is not ready
[   21.216086] IPv6: ADDRCONF(NETDEV_UP): br-roam: link is not ready
[   23.217877] eth0: link up (100Mbps/Full duplex)
[   23.222619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.416141] ath: EEPROM regdomain: 0x8114
[   23.420293] ath: EEPROM indicates we should expect a country code
[   23.426643] ath: doing EEPROM country->regdmn map search
[   23.432129] ath: country maps to regdmn code: 0x37
[   23.437092] ath: Country alpha2 being used: DE
[   23.441679] ath: Regpair used: 0x37
[   23.445283] ath: regdomain 0x8114 dynamically updated by user
[   28.082864] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[   28.377681] br-vap: port 1(wlan0-1) entered blocking state
[   28.383369] br-vap: port 1(wlan0-1) entered disabled state
[   28.389588] device wlan0-1 entered promiscuous mode
[   28.507712] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   28.514627] br-vap: port 1(wlan0-1) entered blocking state
[   28.520388] br-vap: port 1(wlan0-1) entered forwarding state
[   28.582371] IPv6: ADDRCONF(NETDEV_CHANGE): br-vap: link becomes ready
[   28.617361] br-roam: port 1(wlan0-2) entered blocking state
[   28.623278] br-roam: port 1(wlan0-2) entered disabled state
[   28.629546] device wlan0-2 entered promiscuous mode
[   28.696011] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
[   28.702438] br-roam: port 1(wlan0-2) entered blocking state
[   28.708272] br-roam: port 1(wlan0-2) entered forwarding state
[   28.714815] IPv6: ADDRCONF(NETDEV_CHANGE): br-roam: link becomes ready
[   28.826240] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
[   29.344781] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.554096] wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
[   29.561380] wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
[   29.600876] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   54.884553] random: crng init done
[26187.720165] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[26729.429478] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[28439.382610] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[29941.604627] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00026400
[34096.679390] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[35348.329357] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[39363.344165] ------------[ cut here ]------------
[39363.348963] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a95c0
[39363.356276] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[39363.363033] Kernel panic - not syncing: panic_on_warn set ...
[39363.363033]


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1530



More information about the lede-bugs mailing list