root@mgate-eth:~# uname -a Linux mgate-eth 4.19.94-rt39-ga242ccf3f1 #1 PREEMPT RT Tue May 12 13:26:51 +03 2020 armv7l GNU/Linux root@mgate-eth:~# root@mgate-eth:~# root@mgate-eth:~# root@mgate-eth:~# root@mgate-eth:~# cat /proc/device-tree/model; echo TI AM3359 ICE-V2 - single PRUETH - v1.0 root@mgate-eth:~# root@mgate-eth:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 2c:6b:7d:49:cd:19 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback LOOPBACK MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@mgate-eth:~# root@mgate-eth:~# ethtool -i eth0 driver: PRUSS Ethernet driver version: 0.2 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no root@mgate-eth:~# root@mgate-eth:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 100baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: Unknown! Duplex: Unknown! (255) Port: MII PHYAD: 3 Transceiver: internal Auto-negotiation: on Link detected: no root@mgate-eth:~# root@mgate-eth:~# ifconfig eth0 up [ 235.981255] iep ptp bc clkid -1 [ 235.984575] remoteproc remoteproc2: powering up 4a338000.pru [ 235.998709] remoteproc remoteproc2: Booting fw image ti-pruss/am335x-pru1-prueth-fw.elf, size 7712 [ 236.008036] pruss 4a300000.pruss: configured system_events[63-0] = 00600000,08a00000 [ 236.015853] pruss 4a300000.pruss: configured intr_channels = 0x0000032a host_intr = 0x000002aa [ 236.024520] remoteproc remoteproc2: remote processor 4a338000.pru is now up [ 236.031962] net eth0: started [ 236.035300] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 236.042004] Unable to handle kernel NULL pointer dereference at virtual address 00000064 [ 236.050159] pgd = c992a842 [ 236.052882] [00000064] *pgd=00000000 [ 236.056489] Internal error: Oops: 17 [#1] PREEMPT ARM [ 236.056494] Modules linked in: ti_am335x_adc ti_prueth pru_rproc pruss pm33xx irq_pruss_intc wkup_m3_ipc wkup_m3_rproc omap_aes_driver crypto_engine omap_sham remoteproc omap_crypto pruss_soc_bus ti_emif_sram gpio_pisosr rtc_omap omap_wdt gpio_tpic2810 ti_am335x_tscadc gpio_decoder input_polldev [ 236.056566] CPU: 0 PID: 10 Comm: ktimersoftd/0 Not tainted 4.19.94-rt39-ga242ccf3f1 #1 [ 236.056571] Hardware name: Generic AM33XX (Flattened Device Tree) [ 236.056673] PC is at prueth_timer+0x94/0x1d8 [ti_prueth] [ 236.056678] LR is at 0x36 [ 236.056684] pc : [] lr : [<00000036>] psr: a00b0013 [ 236.056689] sp : cf071e38 ip : 00000000 fp : cf071e6c [ 236.056694] r10: 600b0013 r9 : ce072cc4 r8 : 0000000c [ 236.056700] r7 : ce072cc0 r6 : 0000000a r5 : ce072d00 r4 : 00000000 [ 236.056706] r3 : 00000004 r2 : 00000036 r1 : 00000000 r0 : 00000001 [ 236.056715] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 236.056721] Control: 10c5387d Table: 8e32c019 DAC: 00000051 [ 236.056729] Process ktimersoftd/0 (pid: 10, stack limit = 0x2a6e64e1) [ 236.056735] Stack: (0xcf071e38 to 0xcf072000) [ 236.056744] 1e20: 00989680 00000000 [ 236.056757] 1e40: cf071e6c c0d19130 ce072d00 c0d190e0 ffffe000 00000000 00000000 600b0013 [ 236.056771] 1e60: cf071ec4 cf071e70 c0185d08 bf0c35a4 c018a84c c0ac2da4 c0d4fb16 00000036 [ 236.056785] 1e80: f537d4a3 c0d19040 f537d4a3 c0d19144 f537d4a3 00000036 00000000 93a5301f [ 236.056798] 1ea0: 160a2ec4 c0d19040 600b0013 00000100 00000000 00000008 cf071ee4 cf071ec8 [ 236.056812] 1ec0: c0185ffc c0185c30 00000020 c0d0fb24 ffffe000 04208140 cf071f2c cf071ee8 [ 236.056825] 1ee0: c012d6b8 c0185f88 cf02ec40 c08d01d0 c0902b18 c0d12810 c0d50b2c c0d4f840 [ 236.056839] 1f00: c0d0faf4 ffffe000 ffffe000 00000001 c0d0faf4 c0d05888 00000000 cf051df0 [ 236.056852] 1f20: cf071f44 cf071f30 c012d7a0 c012d4fc cf02eb80 ffffe000 cf071f74 cf071f48 [ 236.056866] 1f40: c014c124 c012d778 cf071f74 960c0f54 cf02ec40 cf02ec00 00000000 cf070000 [ 236.056880] 1f60: cf02eb80 c014be64 cf071fac cf071f78 c0147d58 c014be70 cf02ec58 cf02ec58 [ 236.056893] 1f80: 00000000 cf02ec00 c0147c00 00000000 00000000 00000000 00000000 00000000 [ 236.056906] 1fa0: 00000000 cf071fb0 c01010f0 c0147c0c 00000000 00000000 00000000 00000000 [ 236.056918] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 236.056931] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 236.056933] Backtrace: [ 236.056994] [] (prueth_timer [ti_prueth]) from [] (__hrtimer_run_queues.constprop.3+0xe4/0x230) [ 236.057009] r10:600b0013 r9:00000000 r8:00000000 r7:ffffe000 r6:c0d190e0 r5:ce072d00 [ 236.057013] r4:c0d19130 [ 236.057027] [] (__hrtimer_run_queues.constprop.3) from [] (hrtimer_run_softirq+0x80/0x10c) [ 236.057040] r10:00000008 r9:00000000 r8:00000100 r7:600b0013 r6:c0d19040 r5:160a2ec4 [ 236.057044] r4:93a5301f [ 236.057070] [] (hrtimer_run_softirq) from [] (do_current_softirqs+0x1c8/0x27c) [ 236.057080] r7:04208140 r6:ffffe000 r5:c0d0fb24 r4:00000020 [ 236.057094] [] (do_current_softirqs) from [] (run_ksoftirqd+0x34/0x54) [ 236.057107] r10:cf051df0 r9:00000000 r8:c0d05888 r7:c0d0faf4 r6:00000001 r5:ffffe000 [ 236.057111] r4:ffffe000 [ 236.057138] [] (run_ksoftirqd) from [] (smpboot_thread_fn+0x2c0/0x2ec) [ 236.057145] r5:ffffe000 r4:cf02eb80 [ 236.057159] [] (smpboot_thread_fn) from [] (kthread+0x158/0x160) [ 236.057171] r9:c014be64 r8:cf02eb80 r7:cf070000 r6:00000000 r5:cf02ec00 r4:cf02ec40 [ 236.057184] [] (kthread) from [] (ret_from_fork+0x14/0x24) [ 236.057190] Exception stack(0xcf071fb0 to 0xcf071ff8) [ 236.057199] 1fa0: 00000000 00000000 00000000 00000000 [ 236.057211] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 236.057222] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 236.057234] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0147c00 [ 236.057238] r4:cf02ec00 [ 236.057252] Code: e1590007 0a000027 e515301c e4974004 (e5942064) [ 236.443775] ---[ end trace 0000000000000002 ]--- r