[LEDE-DEV] [OpenWrt-Devel] MV88E6060 switch

Sergey Ryazanov ryazanov.s.a at gmail.com
Wed Oct 11 13:28:00 PDT 2017


On Wed, Oct 11, 2017 at 11:01 PM, Nerijus Baliunas
<nerijus at users.sourceforge.net> wrote:
> On Wed, 11 Oct 2017 22:50:40 +0300 Sergey Ryazanov <ryazanov.s.a at gmail.com> wrote:
>
>> Khm, according to wikidevi your router is equipped with 16MB of RAM,
>> the ethernet driver for xscale SoCs attempts to allocate almost a 1 MB
>> of memory for buffers, so may be there are really no free memory for
>> them.
>
> Yes, RAM is 16 MB.
>
>> Check, please, memory information and list of loaded kernel modules:
>> # cat /proc/meminfo
>> # lsmod
>
> root at LEDE:/# free
>              total       used       free     shared    buffers     cached
> Mem:         12232      11352        880         40        632       2420
> -/+ buffers/cache:       8300       3932
> Swap:            0          0          0
> root at LEDE:/# cat /proc/meminfo
> MemTotal:          12232 kB
> MemFree:             996 kB

Looks like this ^^^ is the cause of the "ifconfig up" failure. Your
board really have not free RAM.

As a quick test, can you unload all kernel modules and try to set eth0 UP again?

-- 
Sergey



More information about the Lede-dev mailing list