On Wed, Oct 11, 2017 at 7:17 PM, Nerijus Baliunas
<neri...@users.sourceforge.net> wrote:
> On Wed, 11 Oct 2017 18:53:40 +0300 Sergey Ryazanov <ryazanov....@gmail.com> 
> wrote:
>
>> A-ha! The interface survives the down/up circle but does not survive
>> the init procedure.
>>
>> Try to completely avoid bridge usage, e.g.:
>> 1. boot in normal mode
>> 2. disable bridge usage on "lan":
>>     # uci delete network.lan.type
>>     # uci commit
>> 3. reboot
>> 4. after reboot is completed, check whether IP address has been
>> assigned to eth0.
>> 5. ping
>
> Yes, after reboot eth0 has 192.168.1.1, but it does not ping.
> dmesg:
> [    4.970623] init: - preinit -
> [    6.462015] random: jshn: uninitialized urandom read (4 bytes read, 10 
> bits of entropy available)
> [    6.532512] random: jshn: uninitialized urandom read (4 bytes read, 10 
> bits of entropy available)
> [    6.748641] NPE-B: firmware's license can be found in 
> /usr/share/doc/LICENSE.IPL
> [    6.756083] NPE-B: firmware functionality 0x2, revision 0x2:1
> [    6.764113] eth0: link up, speed 100 Mb/s, full duplex
> [   10.330454] jffs2: notice: (733) jffs2_build_xattr_subsystem: complete 
> building xattr subsystem, 0 of xdatum (0 u.
> [   10.348884] mount_root: switching to jffs2 overlay
> [   10.401588] urandom-seed: Seeding with /etc/urandom.seed
> [   10.553168] eth0: link down
>

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.

Check, please, memory information and list of loaded kernel modules:
# cat /proc/meminfo
# lsmod

-- 
Sergey

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to