#13405: kernel panic on atheros AR9230 chip (ATH9K module)
-----------------------+----------------------------------
Reporter: dony74@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer (trunk)
Component: kernel | Version: 10.03.1
Resolution: | Keywords:
-----------------------+----------------------------------
Comment (by cmtsij):
This is reproducible with curren trunk.
I tested it on r43793 without those two patches with device XWR100.
(support XWR100 with this patch
https://github.com/cmtsij/openwrt/commit/b8f722)
Here is full kernel log:
{{{
[ 0.000000] Linux version 3.14.26 (anony@none) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r43793) ) #1 Mon Dec 29 16:53:12 CST 2014
[ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80341ff0, node_mem_map
81000000
[ 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] 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: 8128
[ 0.000000] Kernel command line: board=XWR100 console=ttyS0,115200
rootfstype=squashfs,jffs2 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: 28588K/32768K available (2392K kernel code, 133K
rwdata, 524K rodata, 204K init, 187K bss, 4180K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz,
Ref:40.000MHz
[ 0.000000] Calibrating delay loop...
[ 0.060000] 452.19 BogoMIPS (lpj=2260992)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.080000] NET: Registered protocol family 16
[ 0.080000] MIPS: machine is Vizio XWR100
[ 2.730000] registering PCI controller with io_map_base unset
[ 2.740000] bio: create slab <bio-0> at 0
[ 2.750000] PCI host bridge to bus 0000:00
[ 2.750000] pci_bus 0000:00: root bus resource [mem
0x10000000-0x16ffffff]
[ 2.760000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.760000] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 2.770000] pci_bus 0000:00: scanning bus
[ 2.770000] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
[ 2.770000] pci 0000:00:11.0: calling ath9k_pci_fixup+0x0/0x248
[ 2.770000] pci 0000:00:11.0: fixup device configuration
[ 2.770000] pci 0000:00:11.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 2.770000] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 2.770000] pci 0000:00:11.0: PME# disabled
[ 2.770000] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
[ 2.770000] pci 0000:00:12.0: calling ath9k_pci_fixup+0x0/0x248
[ 2.770000] pci 0000:00:12.0: fixup device configuration
[ 2.780000] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 2.780000] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 2.780000] pci 0000:00:12.0: PME# disabled
[ 2.780000] pci_bus 0000:00: fixups for bus
[ 2.780000] pci_bus 0000:00: bus scan returning with max=00
[ 2.780000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.780000] pci 0000:00:11.0: BAR 0: assigned [mem
0x10000000-0x1000ffff]
[ 2.780000] pci 0000:00:11.0: BAR 0: set to [mem 0x10000000-0x1000ffff]
(PCI address [0x10000000-0x1000ffff])
[ 2.780000] pci 0000:00:12.0: BAR 0: assigned [mem
0x10010000-0x1001ffff]
[ 2.790000] pci 0000:00:12.0: BAR 0: set to [mem 0x10010000-0x1001ffff]
(PCI address [0x10010000-0x1001ffff])
[ 2.790000] pci 0000:00:11.0: using irq 40 for pin 1
[ 2.790000] pci 0000:00:11.0: fixup irq: got 40
[ 2.790000] pci 0000:00:11.0: assigning IRQ 40
[ 2.790000] pci 0000:00:12.0: using irq 41 for pin 1
[ 2.790000] pci 0000:00:12.0: fixup irq: got 41
[ 2.790000] pci 0000:00:12.0: assigning IRQ 41
[ 2.800000] Switched to clocksource MIPS
[ 2.800000] NET: Registered protocol family 2
[ 2.810000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 2.820000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.820000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.830000] TCP: reno registered
[ 2.830000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.840000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.840000] NET: Registered protocol family 1
[ 2.850000] PCI: CLS 0 bytes, default 32
[ 2.850000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 2.870000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.880000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.890000] msgmni has been set to 55
[ 2.890000] io scheduler noop registered
[ 2.900000] io scheduler deadline registered (default)
[ 2.900000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2.930000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
= 10625000) is a 16550A
[ 2.940000] console [ttyS0] enabled
[ 2.950000] bootconsole [early0] disabled
[ 2.960000] m25p80 spi0.0: found m25p64, expected m25p80
[ 2.960000] m25p80 spi0.0: m25p64 (8192 Kbytes)
[ 2.970000] Creating 9 MTD partitions on "spi0.0":
[ 2.970000] 0x000000000000-0x000000030000 : "uboot"
[ 2.980000] 0x000000030000-0x000000040000 : "env"
[ 2.990000] 0x000000040000-0x0000001b0000 : "linux"
[ 2.990000] 0x0000001b0000-0x0000007b0000 : "rootfs"
[ 3.000000] mtd: device 3 (rootfs) set to be root filesystem
[ 3.010000] 1 squashfs-split partitions found on MTD device rootfs
[ 3.010000] 0x000000420000-0x0000007b0000 : "rootfs_data"
[ 3.020000] 0x0000007b0000-0x0000007c0000 : "nvram"
[ 3.030000] 0x0000007c0000-0x0000007d0000 : "factory"
[ 3.030000] 0x0000007d0000-0x0000007f0000 : "language"
[ 3.040000] 0x0000007f0000-0x000000800000 : "caldata"
[ 3.050000] 0x000000040000-0x0000007b0000 : "firmware"
[ 3.090000] switch0: Atheros AR8236 rev. 1 switch registered on ag71xx-
mdio.0
[ 3.110000] libphy: ag71xx_mdio: probed
[ 3.430000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RMII
[ 3.750000] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:04
[uid=004dd043, driver=Atheros AR8216/AR8236/AR8316]
[ 3.760000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RMII
[ 3.770000] TCP: cubic registered
[ 3.770000] NET: Registered protocol family 17
[ 3.780000] 8021q: 802.1Q VLAN Support v1.8
[ 3.790000] VFS: Mounted root (squashfs filesystem) readonly on device
31:3.
[ 3.790000] Freeing unused kernel memory: 204K (8035d000 - 80390000)
[ 6.180000] ar71xx: pll_reg 0xb8050010: 0x1099
[ 6.180000] eth0: link up (100Mbps/Full duplex)
[ 6.220000] random: mktemp urandom read with 42 bits of entropy
available
[ 9.440000] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 3 of xdatum (0 unchecked, 2 orphan) and 117 of
xref (0 dead, 102 orp
han) found.
[ 9.480000] eth0: link down
[ 11.830000] Loading modules backported from Linux version
master-2014-11-04-0-gf3660a2
[ 11.840000] Backport generated by backports.git
backports-20141023-2-g4ff890b
[ 11.860000] nf_conntrack version 0.5.0 (449 buckets, 1796 max)
[ 11.900000] xt_time: kernel timezone is -0000
[ 11.930000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.930000] cfg80211: World regulatory domain updated:
[ 11.940000] cfg80211: DFS Master region: unset
[ 11.940000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.950000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 11.960000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 11.970000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 11.980000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 11.980000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 11.990000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
2000 mBm), (0 s)
[ 12.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 12.010000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 12.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.120000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
[ 12.130000] ath9k 0000:00:11.0: enabling bus mastering
[ 12.130000] ath: EEPROM regdomain: 0x13
[ 12.130000] ath: EEPROM indicates we should expect a direct regpair map
[ 12.130000] ath: Country alpha2 being used: 00
[ 12.130000] ath: Regpair used: 0x13
[ 12.140000] Data bus error, epc == 80cc16b8, ra == 80cc16b4
[ 12.140000] Oops[#1]:
[ 12.140000] CPU: 0 PID: 545 Comm: kmodloader Not tainted 3.14.26 #1
[ 12.140000] task: 81992640 ti: 81b46000 task.ti: 81b46000
[ 12.140000] $ 0 : 00000000 0000006e deadc0de 80cc1580
[ 12.140000] $ 4 : b0008048 b0000000 02000020 00000000
[ 12.140000] $ 8 : ffffffff 00000000 ffffffff 0000000c
[ 12.140000] $12 : 00000001 ffffff80 00000000 8034207c
[ 12.140000] $16 : ffffffff 00008048 80c396c0 02000020
[ 12.140000] $20 : 0000016d 00000002 00000000 00007894
[ 12.140000] $24 : 00000001 00000000
[ 12.140000] $28 : 81b46000 81b479c8 ffbfffff 80cc16b4
[ 12.140000] Hi : 00000000
[ 12.140000] Lo : 19d60000
[ 12.140000] epc : 80cc16b8 ath_start_rfkill_poll+0x250/0x37c [ath9k]
[ 12.140000] Not tainted
[ 12.140000] ra : 80cc16b4 ath_start_rfkill_poll+0x24c/0x37c [ath9k]
[ 12.140000] Status: 1000f403 KERNEL EXL IE
[ 12.140000] Cause : 1080001c
[ 12.140000] PrId : 00019374 (MIPS 24Kc)
[ 12.140000] Modules linked in: ath9k(+) ath9k_common iptable_nat
ath9k_hw ath nf_nat_ipv4 nf_conntrack_ipv4 mac80211 iptable_raw
iptable_mangle iptable_filter ipt_RE
JECT ipt_MASQUERADE ip_tables cfg80211 xt_time xt_tcpudp xt_state xt_nat
xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment
xt_TCPMSS xt_REDIRECT xt_LOG
xt_CT x_tables nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4
nf_conntrack_rtcache nf_conntrack_irc nf_conntrack_ftp nf_conntrack
crc_ccitt compat arc4 crypto_blkcipher g
pio_button_hotplug
[ 12.140000] Process kmodloader (pid: 545, threadinfo=81b46000,
task=81992640, tls=774f5440)
[ 12.140000] Stack : 0000000c 81b47aa8 818a2010 818a2010 00000004
818a2010 00000004 818a22ec
00000002 80d8d1b8 00001708 00000000 81b47a50 818a22ec 000002c7
00000000
818a2010 818a22ec 818a2030 00000000 00001708 00000000 00000001
00010000
00000000 80d86790 00010000 00000002 00000000 0000000a 09b409b4
09b40002
0002221c 1a08f4ac 0000000c 085fa1af 00000000 00b93eee 20000000
80cf358e
...
[ 12.140000] Call Trace:
[ 12.140000] [<80cc16b8>] ath_start_rfkill_poll+0x250/0x37c [ath9k]
[ 12.140000] [<80cc16b4>] ath_start_rfkill_poll+0x24c/0x37c [ath9k]
[ 12.140000]
Code: 0c05d728 00852021 8e45088c <00501024> 00538025 02002021 0c05d86d
00b12821 8fbf0024
[ 12.350000] ---[ end trace e8d5588716071238 ]---
[ 18.660000] ar71xx: pll_reg 0xb8050010: 0x1099
[ 18.660000] eth0: link up (100Mbps/Full duplex)
[ 18.670000] device eth0.1 entered promiscuous mode
[ 18.670000] device eth0 entered promiscuous mode
[ 18.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 20.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 34.160000] random: nonblocking pool is initialized}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/13405#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets