[FS#578] TX99 leads to kernel crash/reboot OM2P-HSv4
LEDE Bugs
lede-bugs at lists.infradead.org
Wed Mar 1 05:27:45 PST 2017
A new Flyspray task has been opened. Details are below.
User who did this - Simon Wunderlich (simonwunderlich)
Attached to Project - LEDE Project
Summary - TX99 leads to kernel crash/reboot OM2P-HSv4
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - I've tested lede-17.01 branch (ee1cd31d2b) with a vanilla config for OM2P-HSv4 and tx99 turned on for ath9k (please see .config attached).
After booting up, I've used the following commands to test TX99:
iw phy phy0 interface add mon0 type monitor flags active
ip link set dev mon0 up
iw dev mon0 set channel 6 HT20
iw dev mon0 set bitrates ht-mcs-2.4 4
echo 10 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99_power
echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99
The last command hangs and causes the crash/reboot.
This is the crashlog found after reboot:
root at LEDE:~# cat /sys/kernel/debug/crashlog
Time: 1488374337.404187
Modules: ath9k at 83040000+1725e ath9k_common at 83110000+496e pppoe at 83264000+1f30 ppp_async at 8308e000+18d0 iptable_nat at 831ed000+310 ath9k_hw at 83200000+52a0c ath at 831e8000+4573 pppox at 830a2000+56a ppp_generic at 830a8000+4fa2 nf_nat_ipv4 at 830fb000+eb1 nf_conntrack_ipv6 at 831e6000+1410 nf_conntrack_ipv4 at 83bba000+12b0 mac80211 at 83180000+65c42 ipt_REJECT at 830a4000+3b0 ipt_MASQUERADE at 83bbf000+2b0 cfg80211 at 830c0000+39118 xt_time at 83bbc000+670 xt_tcpudp at 83bb9000+6f0 xt_state at 83ba9000+2d0 xt_nat at 83bb0000+490 xt_multiport at 83bb1000+4d0 xt_mark at 83bae000+2b0 xt_mac at 83ba5000+290 xt_limit at 8300f000+410 xt_conntrack at 83baa000+8d0 xt_comment at 83ba3000+210 xt_TCPMSS at 83ba1000+ab0 xt_REDIRECT at 83ba2000+2b0 xt_LOG at 83037000+310slhc@83026000+115b nf_reject_ipv4 at 83004000+863 nf_nat_redirect at 83025000+3db nf_nat_masquerade_ipv4 at 83b8b000+59c nf_nat at 83b8c000+237b nf_log_ipv4 at 83031000+c90 nf_defrag_ipv6 at 83b88000+2457 nf_defrag_ipv4 at 8303f000+396 nf_conntrack_rtcache at 8303c000+9b0 nf_conntrack at 83b90000+bb69 iptable_mangle at 83001000+3b0 iptable_filter at 83003000+2d0 ip_tables at 83020000+24ed crc_ccitt at 83b7a000+40b compat at 83008000+2366 ip6t_REJECT at 83b79000+3d0 nf_reject_ipv6 at 83002000+908 nf_log_ipv6 at 83b78000+d50 nf_log_common at 83bc7000+92f ip6table_mangle at 83bff000+470 ip6table_filter at 83b76000+290 ip6_tables at 83b7c000+2441 x_tables at 83bc4000+2d67 gpio_button_hotplug at 83b4a000+1870
[ 0.000000] Linux version 4.4.50 (dotslash at prime) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3230-ee1cd31d2b) ) #0 Wed Mar 1 11:10:06 2017
[ 0.000000] MyLoader: sysp=2267fd7d, boardp=11fbfffe, parts=eb64bfd6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8040a3d0, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 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] 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: console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/etc/preinit board=OM2P-HSv4 root=31:04 mtdparts=spi0.0:256k(u-boot),256k(u-boot-env),1280k(custom),1536k(kernel),5632k(rootfs),7168k(inactive),256k(ART) mem=64M 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60164K/65536K available (2966K kernel code, 154K rwdata, 752K rodata, 280K init, 200K bss, 5372K 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:650.000MHz, DDR:597.973MHz, AHB:216.666MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000008] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008213] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.071088] pid_max: default: 32768 minimum: 301
[ 0.076072] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083050] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092952] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104094] NET: Registered protocol family 16
[ 0.110164] MIPS: machine is OpenMesh OM2P HSv4
[ 0.117216] ar71xx: using random MAC address for eth0
[ 0.564076] clocksource: Switched to clocksource MIPS
[ 0.570703] NET: Registered protocol family 2
[ 0.576075] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.583433] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.590188] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.596996] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.603162] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.610056] NET: Registered protocol family 1
[ 0.614737] PCI: CLS 0 bytes, default 32
[ 0.618615] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.625194] Crashlog allocated RAM at address 0x3f00000
[ 0.643803] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.650011] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.662708] io scheduler noop registered
[ 0.666897] io scheduler deadline registered (default)
[ 0.672501] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.679635] console [ttyS0] disabled
[ 0.703533] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.712641] console [ttyS0] enabled
[ 0.720195] bootconsole [early0] disabled
[ 0.731604] m25p80 spi0.0: s25sl12800 (16384 Kbytes)
[ 0.736838] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.742950] Creating 7 MTD partitions on "spi0.0":
[ 0.747915] 0x000000000000-0x000000040000 : "u-boot"
[ 0.755177] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.762169] 0x000000080000-0x0000001c0000 : "custom"
[ 0.768893] 0x0000001c0000-0x000000340000 : "kernel"
[ 0.775585] 0x000000340000-0x0000008c0000 : "rootfs"
[ 0.782179] mtd: device 4 (rootfs) set to be root filesystem
[ 0.788128] 1 squashfs-split partitions found on MTD device rootfs
[ 0.794527] 0x000000540000-0x0000008c0000 : "rootfs_data"
[ 0.801625] 0x0000008c0000-0x000000fc0000 : "inactive"
[ 0.808490] 0x000000fc0000-0x000001000000 : "ART"
[ 0.836596] libphy: ag71xx_mdio: probed
[ 1.427011] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.437134] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.026616] ag71xx-mdio.1: Found an AR934X built-in switch
[ 2.069912] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.078419] NET: Registered protocol family 10
[ 2.087230] NET: Registered protocol family 17
[ 2.091894] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.105087] 8021q: 802.1Q VLAN Support v1.8
[ 2.116723] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.125584] Freeing unused kernel memory: 280K (8042a000 - 80470000)
[ 3.047559] init: Console is alive
[ 3.051280] init: - watchdog -
[ 3.876010] init: - preinit -
[ 4.352827] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4.377282] random: procd: uninitialized urandom read (4 bytes read, 7 bits of entropy available)
[ 6.617586] eth0: link up (100Mbps/Full duplex)
[ 6.622302] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.165306] IPv6: eth0: IPv6 duplicate address fe80::ae86:74ff:fe82:9a50 detected!
[ 7.678343] jffs2: notice: (339) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.695809] mount_root: switching to jffs2 overlay
[ 7.712345] urandom-seed: Seeding with /etc/urandom.seed
[ 7.880000] eth0: link down
[ 7.892897] procd: - early -
[ 7.896904] procd: - watchdog -
[ 8.503616] procd: - ubus -
[ 8.557970] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.568258] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.577628] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.587294] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.596640] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.606131] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.616005] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.625723] procd: - init -
[ 8.901262] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.917457] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 8.925787] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 8.936244] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.949344] nf_conntrack version 0.5.0 (944 buckets, 3776 max)
[ 8.986405] xt_time: kernel timezone is -0000
[ 9.045279] PPP generic driver version 2.4.2
[ 9.052017] NET: Registered protocol family 24
[ 9.099822] ath: EEPROM regdomain: 0x0
[ 9.099843] ath: EEPROM indicates default country code should be used
[ 9.099852] ath: doing EEPROM country->regdmn map search
[ 9.099872] ath: country maps to regdmn code: 0x3a
[ 9.099882] ath: Country alpha2 being used: US
[ 9.099890] ath: Regpair used: 0x3a
[ 9.110315] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 9.114367] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[ 9.947094] random: jshn: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 10.026842] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 14.433917] device eth1 entered promiscuous mode
[ 14.453005] br-lan: port 1(eth1) entered forwarding state
[ 14.458672] br-lan: port 1(eth1) entered forwarding state
[ 14.496362] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.374126] br-lan: port 1(eth1) entered disabled state
[ 16.947811] eth0: link up (100Mbps/Full duplex)
[ 16.952532] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.485700] IPv6: eth0: IPv6 duplicate address fe80::ae86:74ff:fe82:9a50 detected!
[ 73.484013] random: nonblocking pool is initialized
[ 86.838964] Data bus error, epc == 83041ef8, ra == 83041ef4
[ 86.844733] Oops[#1]:
[ 86.847081] CPU: 0 PID: 941 Comm: ash Not tainted 4.4.50 #0
[ 86.852841] task: 83984a10 ti: 82c50000 task.ti: 82c50000
[ 86.858408] $ 0 : 00000000 779c3302 deadbeef 83041ec0
[ 86.863837] $ 4 : b8109864 00009864 0007f000 00000000
[ 86.869266] $ 8 : 0000a35c ffffffff 00000000 00000000
[ 86.874697] $12 : ffffffff 00800000 00000000 ffffffff
[ 86.880127] $16 : 0007f000 ffffffff 00009864 83085460
[ 86.885557] $20 : 82c51dfc 00000018 833d4000 83366b78
[ 86.890985] $24 : 00000000 8007d234
[ 86.896415] $28 : 82c50000 82c51d70 00000000 83041ef4
[ 86.901846] Hi : 00000001
[ 86.904820] Lo : 00000000
[ 86.907828] epc : 83041ef8 ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
[ 86.914573] ra : 83041ef4 ath_start_rfkill_poll+0x548/0x6a8 [ath9k]
[ 86.921307] Status: 1000f403 KERNEL EXL IE
[ 86.925655] Cause : 1080001c (ExcCode 07)
[ 86.929793] PrId : 00019374 (MIPS 24Kc)
[ 86.933840] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[ 86.992849] Process ash (pid: 941, threadinfo=82c50000, task=83984a10, tls=779cdd48)
[ 87.000835] Stack : 83085460 00000000 82c51dfc 00000018 833d4000 83b80010 00000003 83085460
[ 87.000835] 00000000 83208268 83085460 83b80010 00000004 833d4000 83085460 833a4c00
[ 87.000835] 83058010 8304c2e0 00000000 830474a0 83085460 00000001 833a4c00 83085460
[ 87.000835] 833a4c00 83b80010 80400000 00000002 83084b40 8304f6f0 00000022 0000ffff
[ 87.000835] 83984a00 00000002 00000001 83086034 00000000 00000000 00000000 310a3dd0
[ 87.000835] ...
[ 87.037824] Call Trace:
[ 87.040363] [] ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
[ 87.046761] [] ath_start_rfkill_poll+0x548/0x6a8 [ath9k]
[ 87.053141]
[ 87.054676]
[ 87.054676] Code: 0c0722a3 00852021 00118827 8e6509bc 00508025 00b22821 0c0722a0 02002021
[ 87.065050] ---[ end trace 850be6c44f1050af ]---
===================================
Time: 1488374342.423893
[ 86.890985] $24 : 00000000 8007d234
[ 86.896415] $28 : 82c50000 82c51d70 00000000 83041ef4
[ 86.901846] Hi : 00000001
[ 86.904820] Lo : 00000000
[ 86.907828] epc : 83041ef8 ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
[ 86.914573] ra : 83041ef4 ath_start_rfkill_poll+0x548/0x6a8 [ath9k]
[ 86.921307] Status: 1000f403 KERNEL EXL IE
[ 86.925655] Cause : 1080001c (ExcCode 07)
[ 86.929793] PrId : 00019374 (MIPS 24Kc)
[ 86.933840] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[ 86.992849] Process ash (pid: 941, threadinfo=82c50000, task=83984a10, tls=779cdd48)
[ 87.000835] Stack : 83085460 00000000 82c51dfc 00000018 833d4000 83b80010 00000003 83085460
[ 87.000835] 00000000 83208268 83085460 83b80010 00000004 833d4000 83085460 833a4c00
[ 87.000835] 83058010 8304c2e0 00000000 830474a0 83085460 00000001 833a4c00 83085460
[ 87.000835] 833a4c00 83b80010 80400000 00000002 83084b40 8304f6f0 00000022 0000ffff
[ 87.000835] 83984a00 00000002 00000001 83086034 00000000 00000000 00000000 310a3dd0
[ 87.000835] ...
[ 87.037824] Call Trace:
[ 87.040363] [] ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
[ 87.046761] [] ath_start_rfkill_poll+0x548/0x6a8 [ath9k]
[ 87.053141]
[ 87.054676]
[ 87.054676] Code: 0c0722a3 00852021 00118827 8e6509bc 00508025 00b22821 0c0722a0 02002021
[ 87.065050] ---[ end trace 850be6c44f1050af ]---
[ 87.071512] Fatal exception: panic in 5 seconds
[ 92.083905] Kernel panic - not syncing: Fatal exception
One or more files have been attached.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=578
More information about the lede-bugs
mailing list