#21953: kernel oops at ieee80211_alloc_hw_nm
----------------------------------------+--------------------------------
Reporter: choogenboom | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: kernel | Version: Chaos Calmer 15.05
Keywords: ieee80211_alloc_hw_nm oops |
----------------------------------------+--------------------------------
Happens about 1 in 5 boots, TP-Link MR3020
{{{
root@OmniSense:~# dmesg
[ 0.000000] Linux version 3.18.23 (choogenboom@ubuntu2) (gcc version
4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r48246) ) #7 Fri Feb 12 12:29:05 EST
2016
[ 0.000000] MyLoader: sysp=7ab7c29c, boardp=07ac6486, parts=24fed496
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 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] 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] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80355cf0, 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=TL-MR3020 console=null,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: 28456K/32768K available (2466K kernel code, 127K
rwdata, 528K rodata, 260K init, 188K bss, 4312K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz,
Ref:25.000MHz
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.100000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is TP-LINK TL-MR3020
[ 0.370000] Switched to clocksource MIPS
[ 0.370000] NET: Registered protocol family 2
[ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.390000] TCP: reno registered
[ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] NET: Registered protocol family 1
[ 0.410000] PCI: CLS 0 bytes, default 32
[ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.440000] msgmni has been set to 55
[ 0.440000] io scheduler noop registered
[ 0.450000] io scheduler deadline registered (default)
[ 0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11,
base_baud = 1562500) is a AR933X UART
[ 0.470000] m25p80 spi0.0: found w25q32, expected m25p80
[ 0.470000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[ 0.480000] 5 tp-link partitions found on MTD device spi0.0
[ 0.480000] Creating 5 MTD partitions on "spi0.0":
[ 0.490000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.490000] 0x000000020000-0x0000001346f8 : "kernel"
[ 0.500000] 0x0000001346f8-0x0000003f0000 : "rootfs"
[ 0.500000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.510000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.510000] 0x000000390000-0x0000003f0000 : "rootfs_data"
[ 0.520000] 0x0000003f0000-0x000000400000 : "art"
[ 0.520000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.560000] libphy: ag71xx_mdio: probed
[ 1.150000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
[uid=004dd041, driver=Generic PHY]
[ 1.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.160000] TCP: cubic registered
[ 1.160000] NET: Registered protocol family 17
[ 1.170000] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.180000] 8021q: 802.1Q VLAN Support v1.8
[ 1.180000] bootconsole [early0] disabled
[ 1.190000] Warning: unable to open an initial console.
[ 1.200000] VFS: Mounted root (squashfs filesystem) readonly on device
31:2.
[ 1.200000] Freeing unused kernel memory: 260K (8036f000 - 803b0000)
[ 2.540000] init: Console is alive
[ 2.540000] init: - watchdog -
[ 4.310000] usbcore: registered new interface driver usbfs
[ 4.310000] usbcore: registered new interface driver hub
[ 4.310000] usbcore: registered new device driver usb
[ 4.370000] SCSI subsystem initialized
[ 4.370000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.380000] ehci-platform: EHCI generic platform driver
[ 4.380000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.380000] ehci-platform ehci-platform: new USB bus registered,
assigned bus number 1
[ 4.380000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.400000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.400000] hub 1-0:1.0: USB hub found
[ 4.400000] hub 1-0:1.0: 1 port detected
[ 4.400000] usbcore: registered new interface driver usb-storage
[ 4.660000] init: - preinit -
[ 4.800000] usb 1-1: new high-speed USB device number 2 using ehci-
platform
[ 5.250000] random: procd urandom read with 8 bits of entropy available
[ 5.250000] hub 1-1:1.0: USB hub found
[ 5.250000] hub 1-1:1.0: 4 ports detected
[ 5.540000] usb 1-1.1: new high-speed USB device number 3 using ehci-
platform
[ 5.650000] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 5.660000] scsi host0: usb-storage 1-1.1:1.0
[ 6.660000] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Fit
1.27 PQ: 0 ANSI: 6
[ 6.660000] sd 0:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00
GB/7.45 GiB)
[ 6.660000] sd 0:0:0:0: [sda] Write Protect is off
[ 6.660000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 6.660000] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[ 6.680000] sda: sda1 sda2
[ 6.680000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 7.870000] mount_root: loading kmods from internal overlay
[ 8.260000] jffs2: notice: (631) 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.260000] block: attempting to load
/tmp/jffs_cfg/upper/etc/config/fstab
[ 8.440000] eth0: link up (10Mbps/Half duplex)
[ 9.280000] EXT4-fs (sda1): mounted filesystem with ordered data mode.
Opts:
[ 9.320000] mount_root: switched to extroot
[ 9.380000] eth0: link down
[ 9.390000] procd: - early -
[ 9.390000] procd: - watchdog -
[ 10.180000] procd: failed to set stdio
[ 10.180000] procd: - ubus -
[ 11.190000] procd: - init -
[ 12.050000] random: nonblocking pool is initialized
[ 13.400000] udevd[876]: starting version 173
[ 13.850000] usbcore: registered new interface driver cdc_acm
[ 13.850000] cdc_acm: USB Abstract Control Model driver for USB modems
and ISDN adapters
[ 13.860000] Loading modules backported from Linux version
master-2015-03-09-0-g141f155
[ 13.860000] Backport generated by backports.git
backports-20150129-0-gdd4a670
[ 13.870000] nf_conntrack version 0.5.0 (448 buckets, 1792 max)
[ 13.940000] usbcore: registered new interface driver usbserial
[ 13.940000] usbcore: registered new interface driver usbserial_generic
[ 13.940000] usbserial: USB Serial support registered for generic
[ 14.130000] xt_time: kernel timezone is -0000
[ 14.290000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.320000] cfg80211: Calling CRDA to update world regulatory domain
[ 14.320000] cfg80211: World regulatory domain updated:
[ 14.320000] cfg80211: DFS Master region: unset
[ 14.320000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.320000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 14.320000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000
KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 14.320000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 14.320000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 14.320000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 14.320000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
2000 mBm), (0 s)
[ 14.320000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 14.320000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 14.610000] usbcore: registered new interface driver pl2303
[ 14.610000] usbserial: USB Serial support registered for pl2303
[ 14.740000] PPP generic driver version 2.4.2
[ 15.040000] usbcore: registered new interface driver option
[ 15.040000] usbserial: USB Serial support registered for GSM modem
(1-port)
[ 15.180000] CPU 0 Unable to handle kernel paging request at virtual
address c03590b0, epc == c03590b0, ra == c03662e4
[ 15.180000] Oops[#1]:
[ 15.180000] CPU: 0 PID: 891 Comm: kmodloader Not tainted 3.18.23 #7
[ 15.180000] task: 818d26c0 ti: 80918000 task.ti: 80918000
[ 15.180000] $ 0 : 00000000 00000000 00000005 000021a0
[ 15.180000] $ 4 : c03b26f8 00002dc0 00000000 ffffffff
[ 15.180000] $ 8 : 00000002 0000001c 00000400 80919bdc
[ 15.180000] $12 : 2f757372 00000031 00000000 2f736269
[ 15.180000] $16 : 8035a670 80674310 806744f4 00000000
[ 15.180000] $20 : 00000002 b8100000 80671c0c 00000018
[ 15.180000] $24 : 00000018 c03661bc
[ 15.180000] $28 : 80918000 80919c00 00000000 c03662e4
[ 15.180000] Hi : 0000001d
[ 15.180000] Lo : 00000018
[ 15.180000] epc : c03590b0 0xc03590b0
[ 15.180000] Not tainted
[ 15.180000] ra : c03662e4 ieee80211_alloc_hw_nm+0x128/0x4a8
[mac80211]
[ 15.180000] Status: 1000d803 KERNEL EXL IE
[ 15.180000] Cause : 10800008
[ 15.180000] BadVA : c03590b0
[ 15.180000] PrId : 00019374 (MIPS 24Kc)
[ 15.180000] Modules linked in: ath9k(+) ath9k_common ppp_async option
iptable_nat ath9k_hw ath usb_wwan ppp_generic pl2303 nf_nat_ipv4
nf_conntrack_ipv4 mac80211 iptable_raw iptable_mangle iptable_filter
ipt_REJECT 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 usbserial slhc nf_reject_ipv4
nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_log_common
nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack
crc_ccitt compat cdc_acm ledtrig_usbdev usb_storage ehci_platform ehci_hcd
sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base
usb_common crc16 crypto_hash
[ 15.180000] Process kmodloader (pid: 891, threadinfo=80918000,
task=818d26c0, tls=7768b440)
[ 15.180000] Stack : 817b8690 00000000 818660f0 80360000 00000001
8035a670 8035a660 806744f4
[ 15.180000] 803e0000 8066d0b8 00000001 803e0000 818660f0 80147d50
817b85f0 00000000
[ 15.180000] 818124b0 817b8690 817b85f0 818660f0 817b85f0 817b8690
8031f460 818660f0
[ 15.180000] 00000001 803e0000 8067459c 00000018 00000000 8014a6b8
803e0000 80096c8c
[ 15.180000] 8035a670 806744f4 806744f4 803e0000 0000000a 803e0000
8067459c 801e2294
[ 15.180000] ...
[ 15.180000] Call Trace:
[ 15.180000] [<8066d0b8>] ath_pci_exit+0x158/0x2fc [ath9k]
[ 15.180000] [<80147d50>] kernfs_new_node+0x38/0x54
[ 15.180000] [<8014a6b8>] sysfs_do_create_link_sd.isra.4+0x6c/0xc0
[ 15.180000] [<80096c8c>] blocking_notifier_call_chain+0x14/0x20
[ 15.180000] [<801e2294>] platform_drv_probe+0x24/0x60
[ 15.180000] [<8014a3e4>] sysfs_create_dir_ns+0x5c/0xb8
[ 15.180000] [<801e0b00>] driver_probe_device+0xc8/0x214
[ 15.180000] [<8019cdd4>] kvasprintf+0x70/0x94
[ 15.180000] [<801e0d2c>] __driver_attach+0x7c/0xb4
[ 15.180000] [<801def90>] next_device+0x10/0x30
[ 15.180000] [<801e0cb0>] __driver_attach+0x0/0xb4
[ 15.180000] [<801df048>] bus_for_each_dev+0x98/0xa8
[ 15.180000] [<802c61ec>] klist_add_tail+0x24/0x50
[ 15.180000] [<801dee20>] bus_get+0x28/0x4c
[ 15.180000] [<801e0230>] bus_add_driver+0x100/0x1f0
[ 15.180000] [<801e1204>] driver_register+0xb0/0x104
[ 15.180000] [<80678000>] init_module+0x0/0x58 [ath9k]
[ 15.180000] [<80678000>] init_module+0x0/0x58 [ath9k]
[ 15.180000] [<80678018>] init_module+0x18/0x58 [ath9k]
[ 15.180000] [<800f01ac>] vunmap_page_range+0xfc/0x214
[ 15.180000] [<800694e0>] do_one_initcall+0x148/0x1ec
[ 15.180000] [<80678000>] init_module+0x0/0x58 [ath9k]
[ 15.180000] [<800cdb04>] free_hot_cold_page+0x108/0x144
[ 15.180000] [<800f161c>] remove_vm_area+0x50/0x78
[ 15.180000] [<800f16f4>] __vunmap+0xb0/0x114
[ 15.180000] [<800bef2c>] load_module+0x159c/0x1b98
[ 15.180000] [<800f13e4>] map_vm_area+0x30/0x60
[ 15.180000] [<800bc680>] unknown_module_param_cb+0x0/0x68
[ 15.180000] [<800f1b18>] __vmalloc_node_range+0x184/0x22c
[ 15.180000] [<800bf57c>] SyS_init_module+0x54/0xe0
[ 15.180000] [<800f1bf0>] __vmalloc_node+0x30/0x3c
[ 15.180000] [<800bf57c>] SyS_init_module+0x54/0xe0
[ 15.180000] [<800bf5dc>] SyS_init_module+0xb4/0xe0
[ 15.180000] [<80062b5c>] handle_sys+0x11c/0x140
[ 15.180000]
[ 15.180000]
[ 15.180000] Code: (Bad address in epc)
[ 15.180000]
[ 15.180000] ---[ end trace 8304e8e043b1f862 ]---
[ 27.740000] EXT4-fs (sda2): mounted filesystem with ordered data mode.
Opts:
[ 34.850000] eth0: link up (10Mbps/Half duplex)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/21953>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets