[OpenWrt-Devel] WRT300N v2 AR5416 (was:MV88E6060 switch)
Sergey Ryazanov
ryazanov.s.a at gmail.com
Sun Oct 15 18:17:19 EDT 2017
On Mon, Oct 16, 2017 at 12:50 AM, Nerijus Baliunas
<nerijus at users.sourceforge.net> wrote:
> 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.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
>
Yep, It looks like so.
You could try reduce firmware footprint by disabling some options
(e.g. disable IPv6 support, etc.).
--
Sergey
_______________________________________________
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