Triage report. Kernel version and source, also include the results of this command: uname -a Linux myhostname 4.4.32-rt41 #1 SMP PREEMPT RT Tue Dec 5 12:57:39 EST 2017 armv7l GNU/Linux File system, TI SDK or Arago/Yocto based filesytem Yocto on ext4 Custom board or TI board? Please include device tree source file. Custom Board based on AM5728 EVM. See below for device tree snippet Console log of the boot process that includes U-Boot and the Kernel. See Below ethtool, ethtool -S, ifconfig shown below... ################################## #### From bootup (dmesg) ################################## ~# dmesg | grep cpsw [ 2.125443] cpsw 48484000.ethernet: Detected MACID = 00:0e:98:02:d9:4b [ 2.132095] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 2.139065] cpsw 48484000.ethernet: cpsw: Detected MACID = 00:0e:98:02:d9:4c [ 11.759090] net eth1: initializing cpsw version 1.15 (0) [ 11.764438] net eth0: initialized cpsw ale version 1.4 [ 11.999086] net eth0: initializing cpsw version 1.15 (0) [ 15.883294] cpsw 48484000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx [ 16.113132] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 16.113132] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx ################################## #### ethtool ################################## root@cut:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x00000000 (0) Link detected: yes root@cut:~# ethtool eth1 Settings for eth1: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Link partner advertised link modes: 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 2 Transceiver: external Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x00000000 (0) Link detected: yes ################################## #### ethtool -S ################################## ethtool -S eth0 NIC statistics: Good Rx Frames: 4073 Broadcast Rx Frames: 1722 Multicast Rx Frames: 407 Pause Rx Frames: 0 Rx CRC Errors: 0 Rx Align/Code Errors: 0 Oversize Rx Frames: 0 Rx Jabbers: 0 Undersize (Short) Rx Frames: 0 Rx Fragments: 0 Rx Octets: 1137305 Good Tx Frames: 3017 Broadcast Tx Frames: 2 Multicast Tx Frames: 423 Pause Tx Frames: 0 Deferred Tx Frames: 0 Collisions: 0 Single Collision Tx Frames: 0 Multiple Collision Tx Frames: 0 Excessive Collisions: 0 Late Collisions: 0 Tx Underrun: 0 Carrier Sense Errors: 0 Tx Octets: 304972 Rx + Tx 64 Octet Frames: 1689 Rx + Tx 65-127 Octet Frames: 3975 Rx + Tx 128-255 Octet Frames: 725 Rx + Tx 256-511 Octet Frames: 67 Rx + Tx 512-1023 Octet Frames: 10 Rx + Tx 1024-Up Octet Frames: 624 Net Octets: 1442277 Rx Start of Frame Overruns: 0 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 0 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 3831 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 0 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 3384 Rx DMA chan: good_dequeue: 3704 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 2227 Tx DMA chan: tail_enqueue: 790 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 790 Tx DMA chan: desc_alloc_fail: 0 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 40 Tx DMA chan: empty_dequeue: 2227 Tx DMA chan: busy_dequeue: 0 Tx DMA chan: good_dequeue: 3017 Tx DMA chan: requeue: 0 Tx DMA chan: teardown_dequeue: 0 ~# ethtool -S eth1 NIC statistics: Good Rx Frames: 4099 Broadcast Rx Frames: 1722 Multicast Rx Frames: 409 Pause Rx Frames: 0 Rx CRC Errors: 0 Rx Align/Code Errors: 0 Oversize Rx Frames: 0 Rx Jabbers: 0 Undersize (Short) Rx Frames: 0 Rx Fragments: 0 Rx Octets: 1149637 Good Tx Frames: 3049 Broadcast Tx Frames: 2 Multicast Tx Frames: 423 Pause Tx Frames: 0 Deferred Tx Frames: 0 Collisions: 0 Single Collision Tx Frames: 0 Multiple Collision Tx Frames: 0 Excessive Collisions: 0 Late Collisions: 0 Tx Underrun: 0 Carrier Sense Errors: 0 Tx Octets: 307888 Rx + Tx 64 Octet Frames: 1689 Rx + Tx 65-127 Octet Frames: 4021 Rx + Tx 128-255 Octet Frames: 729 Rx + Tx 256-511 Octet Frames: 67 Rx + Tx 512-1023 Octet Frames: 10 Rx + Tx 1024-Up Octet Frames: 632 Net Octets: 1457525 Rx Start of Frame Overruns: 0 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 0 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 3855 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 0 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 3404 Rx DMA chan: good_dequeue: 3728 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 2255 Tx DMA chan: tail_enqueue: 794 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 794 Tx DMA chan: desc_alloc_fail: 0 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 40 Tx DMA chan: empty_dequeue: 2255 Tx DMA chan: busy_dequeue: 0 Tx DMA chan: good_dequeue: 3049 Tx DMA chan: requeue: 0 Tx DMA chan: teardown_dequeue: 0 ################################## #### ifconfig ################################## ~# ifconfig eth0 Link encap:Ethernet HWaddr 00:0e:98:02:d9:4b inet addr:192.168.0.114 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20e:98ff:fe02:d94b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1615 errors:0 dropped:0 overruns:0 frame:0 TX packets:311 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:101887 (99.4 KiB) TX bytes:47648 (46.5 KiB) Interrupt:85 eth0:0 Link encap:Ethernet HWaddr 00:0e:98:02:d9:4b inet addr:192.168.0.104 Bcast:192.168.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:85 eth1 Link encap:Ethernet HWaddr 00:0e:98:02:d9:4c inet addr:10.0.0.2 Bcast:10.0.0.3 Mask:255.255.255.252 inet6 addr: fe80::20e:98ff:fe02:d94c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1790 errors:0 dropped:0 overruns:0 frame:0 TX packets:2474 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:867850 (847.5 KiB) TX bytes:224748 (219.4 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:121205 errors:0 dropped:0 overruns:0 frame:0 TX packets:121205 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:6117938 (5.8 MiB) TX bytes:6117938 (5.8 MiB) sitara Link encap:Ethernet HWaddr 00:0e:98:02:d9:4b inet addr:10.0.0.5 Bcast:10.0.0.7 Mask:255.255.255.252 inet6 addr: fe80::20e:98ff:fe02:d94b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:131 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:19371 (18.9 KiB) ################################## #### Device Tree snippet ################################## mac: ethernet@48484000 { compatible = "ti,dra7-cpsw","ti,cpsw"; ti,hwmods = "gmac"; clocks = <&gmac_main_clk>, <&gmac_rft_clk_mux>; clock-names = "fck", "cpts"; cpdma_channels = <8>; ale_entries = <1024>; bd_ram_size = <0x2000>; mac_control = <0x20>; slaves = <2>; active_slave = <0>; cpts_clock_mult = <0x784CFE14>; cpts_clock_shift = <29>; reg = <0x48484000 0x1000 0x48485200 0x2E00>; #address-cells = <1>; #size-cells = <1>; /* * Do not allow gating of cpsw clock as workaround * for errata i877. Keeping internal clock disabled * causes the device switching characteristics * to degrade over time and eventually fail to meet * the data manual delay time/skew specs. */ ti,no-idle; /* * rx_thresh_pend * rx_pend * tx_pend * misc_pend */ interrupts = , , , ; ranges; syscon = <&scm_conf>; status = "disabled"; dual_emac; davinci_mdio: mdio@48485000 { compatible = "ti,cpsw-mdio"; #address-cells = <1>; #size-cells = <0>; ti,hwmods = "davinci_mdio"; bus_freq = <1000000>; reg = <0x48485000 0x100>; }; cpsw_emac0: slave@48480200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; cpsw_emac1: slave@48480300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; phy_id = <&davinci_mdio>, <2>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; phy_sel: cpsw-phy-sel@4a002554 { compatible = "ti,dra7xx-cpsw-phy-sel"; reg= <0x4a002554 0x4>; reg-names = "gmii-sel"; }; }; ################################## #### After Kernel trace (watchdog timeout) ################################## ethtool -S eth0 NIC statistics: Good Rx Frames: 424598 Broadcast Rx Frames: 1975 Multicast Rx Frames: 492 Pause Rx Frames: 0 Rx CRC Errors: 0 Rx Align/Code Errors: 0 Oversize Rx Frames: 0 Rx Jabbers: 0 Undersize (Short) Rx Frames: 0 Rx Fragments: 0 Rx Octets: 55817774 Good Tx Frames: 426810 Broadcast Tx Frames: 2 Multicast Tx Frames: 437 Pause Tx Frames: 0 Deferred Tx Frames: 0 Collisions: 0 Single Collision Tx Frames: 0 Multiple Collision Tx Frames: 0 Excessive Collisions: 0 Late Collisions: 0 Tx Underrun: 0 Carrier Sense Errors: 0 Tx Octets: 55373197 Rx + Tx 64 Octet Frames: 2067 Rx + Tx 65-127 Octet Frames: 25687 Rx + Tx 128-255 Octet Frames: 822831 Rx + Tx 256-511 Octet Frames: 69 Rx + Tx 512-1023 Octet Frames: 10 Rx + Tx 1024-Up Octet Frames: 744 Net Octets: 111190971 Rx Start of Frame Overruns: 698 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 698 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 423580 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 75 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 123529 Rx DMA chan: good_dequeue: 423453 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 107758 Tx DMA chan: tail_enqueue: 319052 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 319052 Tx DMA chan: desc_alloc_fail: 1 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 44 Tx DMA chan: empty_dequeue: 106977 Tx DMA chan: busy_dequeue: 126 Tx DMA chan: good_dequeue: 426808 Tx DMA chan: requeue: 0 Tx DMA chan: teardown_dequeue: 0 ~# ethtool -S eth1 NIC statistics: Good Rx Frames: 478539 Broadcast Rx Frames: 1978 Multicast Rx Frames: 492 Pause Rx Frames: 0 Rx CRC Errors: 0 Rx Align/Code Errors: 0 Oversize Rx Frames: 0 Rx Jabbers: 0 Undersize (Short) Rx Frames: 0 Rx Fragments: 0 Rx Octets: 62862593 Good Tx Frames: 480941 Broadcast Tx Frames: 2 Multicast Tx Frames: 437 Pause Tx Frames: 0 Deferred Tx Frames: 0 Collisions: 0 Single Collision Tx Frames: 0 Multiple Collision Tx Frames: 0 Excessive Collisions: 0 Late Collisions: 0 Tx Underrun: 0 Carrier Sense Errors: 0 Tx Octets: 62447360 Rx + Tx 64 Octet Frames: 2072 Rx + Tx 65-127 Octet Frames: 26575 Rx + Tx 128-255 Octet Frames: 930010 Rx + Tx 256-511 Octet Frames: 69 Rx + Tx 512-1023 Octet Frames: 10 Rx + Tx 1024-Up Octet Frames: 744 Net Octets: 125309953 Rx Start of Frame Overruns: 764 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 764 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 477460 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 76 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 143119 Rx DMA chan: good_dequeue: 477333 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 138455 Tx DMA chan: tail_enqueue: 342486 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 342486 Tx DMA chan: desc_alloc_fail: 1 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 45 Tx DMA chan: empty_dequeue: 137299 Tx DMA chan: busy_dequeue: 178 Tx DMA chan: good_dequeue: 480941 Tx DMA chan: requeue: 0 Tx DMA chan: teardown_dequeue: 0