[OpenWrt-Devel] WRT300N v2 AR5416 (was:MV88E6060 switch)
Nerijus Baliunas
nerijus at users.sourceforge.net
Sun Oct 15 17:50:17 EDT 2017
On Sat, 14 Oct 2017 17:48:12 +0300 Nerijus Baliunas <nerijus at users.sourceforge.net> wrote:
> Thank you. Another question about wifi - there is no /etc/config/wireless
> file, and even if I create it and reboot the device, wifi is not working
> and there is no wlan0 interface. ath5k module is loaded.
WRT300N v2 has AR5416 card, so the driver should be ath9k. I enabled
kmod-ath9k, but did not check "Support chips used in PC OEM cards" and
"Enable TX99 support (WARNING: testing only, breaks normal operation!)".
The module is loaded when booting, but:
[ 14.686040] ath9k 0000:00:01.0: enabling device (0340 -> 0342)
[ 15.372420] kmodloader: page allocation failure: order:6, mode:0x240c0c0
[ 15.379319] CPU: 0 PID: 1331 Comm: kmodloader Not tainted 4.4.91 #0
[ 15.385595] Hardware name: Linksys WRT300N v2
[ 15.389993] Backtrace:
[ 15.392516] [<c00150cc>] (dump_backtrace) from [<c00152cc>] (show_stack+0x18/0x1c)
[ 15.400134] r7:00000000 r6:00000006 r5:0240c0c0 r4:00000001
[ 15.405870] [<c00152b4>] (show_stack) from [<c0135240>] (dump_stack+0x20/0x28)
[ 15.413187] [<c0135220>] (dump_stack) from [<c006f1a4>] (warn_alloc_failed+0xf0/0x118)
[ 15.421176] [<c006f0b8>] (warn_alloc_failed) from [<c0071684>] (__alloc_pages_nodemask+0x6c4/0x718)
[ 15.430258] r3:00002001 r2:00000000
[ 15.433848] r7:00000000 r6:0240c0c0 r5:00000006 r4:0240c0c0
[ 15.439603] [<c0070fc0>] (__alloc_pages_nodemask) from [<c00718fc>] (alloc_kmem_pages+0x18/0x20)
[ 15.448421] r10:00000002 r9:00000004 r8:00000000 r7:00000000 r6:024080c0 r5:c0a34c10
[ 15.456290] r4:c0a34b80
[ 15.458925] [<c00718e4>] (alloc_kmem_pages) from [<c0082714>] (kmalloc_order+0x18/0x4c)
[ 15.466991] [<c00826fc>] (kmalloc_order) from [<c00997fc>] (__kmalloc+0x2c/0x120)
[ 15.474897] [<c00997d0>] (__kmalloc) from [<bf110098>] (ieee80211_txq_setup_flows+0x90/0x1f8 [mac80211])
[ 15.484453] r7:00000000 r6:0000002f r5:c0a34c10 r4:c0a34b80
[ 15.490864] [<bf110008>] (ieee80211_txq_setup_flows [mac80211]) from [<bf0e8f8c>] (ieee80211_register_hw+0x898/0x948 )
[ 15.502505] r7:00000000 r6:0000002f r5:00000000 r4:c0a34b80
[ 15.508685] [<bf0e86f4>] (ieee80211_register_hw [mac80211]) from [<bf1cc614>] (ath9k_init_device+0x8e0/0xa04 [ath9k])
[ 15.519371] r10:c0e800fc r9:c0e80010 r8:c0e80010 r7:00000000 r6:00000000 r5:c0a34b80
[ 15.527246] r4:c0a354a0
[ 15.529948] [<bf1cbd34>] (ath9k_init_device [ath9k]) from [<bf1d6e20>] (ath_pci_probe+0x240/0x2fc [ath9k])
[ 15.539632] r10:00000000 r9:bf1db968 r8:c0a34b80 r7:00000000 r6:c084bc68 r5:c0a354a0
[ 15.547501] r4:c084bc00
[ 15.550170] [<bf1d6be0>] (ath_pci_probe [ath9k]) from [<c0160e64>] (pci_device_probe+0x70/0xbc)
[ 15.558911] r10:c005bec8 r9:00000001 r8:bf1de4c0 r7:00000000 r6:c084bc68 r5:c084bc00
[ 15.566785] r4:bf1de4f4
[ 15.569385] [<c0160df4>] (pci_device_probe) from [<c01866b8>] (driver_probe_device+0xf4/0x258)
[ 15.578027] r9:00000001 r8:bf1de4f4 r7:c03ba818 r6:c03ba81c r5:c084bc9c r4:c084bc68
[ 15.585842] [<c01865c4>] (driver_probe_device) from [<c018688c>] (__driver_attach+0x70/0x94)
[ 15.594315] r9:00000000 r8:c0372008 r7:c0388b28 r6:bf1de4f4 r5:c084bc9c r4:c084bc68
[ 15.602179] [<c018681c>] (__driver_attach) from [<c0184ec4>] (bus_for_each_dev+0x74/0x98)
[ 15.610389] r7:c0388b28 r6:c018681c r5:bf1de4f4 r4:00000000
[ 15.616117] [<c0184e50>] (bus_for_each_dev) from [<c018625c>] (driver_attach+0x20/0x28)
[ 15.624153] r6:c055a900 r5:00000000 r4:bf1de4f4
[ 15.628850] [<c018623c>] (driver_attach) from [<c0185e70>] (bus_add_driver+0xd4/0x1e8)
[ 15.636803] [<c0185d9c>] (bus_add_driver) from [<c0186ed8>] (driver_register+0xa4/0xe8)
[ 15.644843] r7:c0376008 r6:c0376008 r5:bf1e1000 r4:bf1de4f4
[ 15.650595] [<c0186e34>] (driver_register) from [<c016070c>] (__pci_register_driver+0x38/0x40)
[ 15.659240] r5:bf1e1000 r4:c0428ee0
[ 15.662919] [<c01606d4>] (__pci_register_driver) from [<bf1d6ef8>] (ath_pci_init+0x1c/0x2c [ath9k])
[ 15.672150] [<bf1d6edc>] (ath_pci_init [ath9k]) from [<bf1e1014>] (init_module+0x14/0x38 [ath9k])
[ 15.681153] [<bf1e1000>] (init_module [ath9k]) from [<c0011d14>] (do_one_initcall+0x1bc/0x200)
[ 15.689863] [<c0011b58>] (do_one_initcall) from [<c005d274>] (do_init_module+0x60/0x1a0)
[ 15.697985] r9:c0d83f34 r8:0000001a r7:00000000 r6:c0428420 r5:c06bc800 r4:bf1de540
[ 15.705803] [<c005d214>] (do_init_module) from [<c005e87c>] (load_module+0x1444/0x188c)
[ 15.713848] r6:c06bca10 r5:c06bc800 r4:bf1de540
[ 15.718540] [<c005d438>] (load_module) from [<c005edd8>] (SyS_init_module+0x114/0x134)
[ 15.726460] r10:00000051 r9:c0d82000 r8:0001276a r7:c1b0417c r6:00000000 r5:b6f2518c
[ 15.734358] r4:0000c17c
[ 15.736932] [<c005ecc4>] (SyS_init_module) from [<c00093c0>] (ret_fast_syscall+0x0/0x38)
[ 15.745060] r10:00000000 r9:c0d82000 r8:c0009564 r7:00000080 r6:00000003 r5:00000000
[ 15.752956] r4:00001f02
[ 15.755496] Mem-Info:
[ 15.757853] active_anon:135 inactive_anon:2 isolated_anon:0
[ 15.757853] active_file:204 inactive_file:193 isolated_file:0
[ 15.757853] unevictable:0 dirty:0 writeback:0 unstable:0
[ 15.757853] slab_reclaimable:181 slab_unreclaimable:1094
[ 15.757853] mapped:246 shmem:3 pagetables:20 bounce:0
[ 15.757853] free:579 free_pcp:0 free_cma:0
[ 15.789499] DMA free:2316kB min:444kB low:552kB high:664kB active_anon:540kB inactive_anon:8kB active_file:816kB inaco
[ 15.832021] lowmem_reserve[]: 0 0 0
[ 15.835528] DMA: 159*4kB (U) 76*8kB (U) 25*16kB (U) 13*32kB (U) 4*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB B
[ 15.847828] 400 total pagecache pages
[ 15.851504] 0 pages in swap cache
[ 15.854830] Swap cache stats: add 0, delete 0, find 0/0
[ 15.860105] Free swap = 0kB
[ 15.862988] Total swap = 0kB
[ 15.865870] 4096 pages RAM
[ 15.868616] 0 pages HighMem/MovableOnly
[ 15.872456] 976 pages reserved
[ 16.518904] ath9k 0000:00:01.0: Failed to initialize device
[ 16.525279] ath9k: probe of 0000:00:01.0 failed with error -12
[ 16.535006] kmodloader: done loading kernel modules from /etc/modules.d/*
is it because of low RAM?
# cat /proc/meminfo
MemTotal: 12480 kB
MemFree: 576 kB
Regards,
Nerijus
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list