Sporadic eth interface problem after boot. TK1 on ixora

It happens sporadicly that some of our TK1 show missing eth interface after boot. Rebooting solves the problem temporarily. ‘ifconfig’ should show:

enp3s0 Link encap:Ethernet HWaddr 00:14:2D:2B:FB:84

I attached dmesg from ok and not good (ng) boot. link text

ng files shows difference in:

[    0.560858]  iram: dma coherent mem declare 0x40001000,258048
[    0.561718] misc nvmap: created heap iram base 0x40001000 size (252KiB)
[    0.561885] nvmap:inner cache maint threshold=2097152
[    0.571962] Wake39 for irq=52
[    0.572059] tegra-otg tegra-otg: otg transceiver registered
[    0.572416] NET: Registered protocol family 2
[    0.573214] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.573420] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.573631] TCP: Hash tables configured (established 8192 bind 8192)
[    0.573694] TCP: reno registered
[    0.573719] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.573774] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.574110] NET: Registered protocol family 1
[    0.574517] RPC: Registered named UNIX socket transport module.
[    0.574562] RPC: Registered udp transport module.
[    0.574582] RPC: Registered tcp transport module.
[    0.574601] RPC: Registered tcp NFSv4.1 backchannel transport module.

Any ideas what could cause this?

I can add that it has nothing todo with the debug output shown above. Sometimes these lines can also be found with okay boot.

I can add that it has nothing todo with the debug output shown above. Sometimes these lines can also be found with okay boot.

Yeah, that was kind of clear to me as well.

May I ask what exact hardware versions of both Apalis TK1 as well as Ixora you are using?

As for the log files the ok one seems cut at 80 characters per line.

Looking further through the log files I don’t think you are using our latest BSP 2.7b2. Could you please re-test the same with that stock demo image?

TK1: 02882436 V1.1A
Ixora: 00002966 V1.0A

And what BSP version? Did you try my suggestion of using our latest 2.7b2?

yes. still same behaviour. Apalis-TK1_LXDE-Image_2.7b2-20170410.tar.bz2.

debug log

It really looks like the PCIe link to the Gigabit Ethernet controller can’t be brought up:

[    0.889560] PCIE: port 0: link down, retrying
[    1.089702] PCIE: port 0: link down, retrying
[    1.289841] PCIE: port 0: link down, retrying
[    1.289862] PCIE: port 0: link down, ignoring
[    1.489998] PCIE: port 1: link down, retrying
[    1.690131] PCIE: port 1: link down, retrying
[    1.890264] PCIE: port 1: link down, retrying
[    1.890285] PCIE: port 1: link down, ignoring

Do you have any mini-PCIe card which you could try to see whether the other PCIe ports link would come up?

Do you have another set of module and/or carrier board you could try as well?

Problem seems to be not present in Apalis-TK1-Mainline_LXDE-Image_2.7b2-20170410.tar.bz2. I did reboot like 20 times now. Always okay. debug log