This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethernet TX failed on XTCIEVMK2X board

Other Parts Discussed in Thread: TCI6636K2H, TCI6638K2K

Hello,

I boot Linux-3.8.4 on XTCIEVMK2X EVM, and start a network ping test.

Ethernet TX became failed after transmitting couples of packets.

The kernel was download from git://git.ti.com/keystone-linux/linux.git,

  and built with the default config file: keystone2_defconfig.

But, when I boot the precompiled kernel from MCSDK, Ethernet works very well.

Any ideas? Thanks~

Ethan

---

~# cat /proc/version

Linux version 3.8.4 (ethan@porsche.alifecom.com) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #27 SMP Tue Sep 30 14:21:55 CST 2014

~#

~# ifconfig

eth0      Link encap:Ethernet  HWaddr C4:ED:BA:A0:44:9A

            inet addr:192.168.2.123  Bcast:192.168.2.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:56 errors:0 dropped:0 overruns:0 frame:0

          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:6245 (6.0 KiB)  TX bytes:1062 (1.0 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:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~#

~# ping 192.168.2.2

PING 192.168.2.2 (192.168.2.2): 56 data bytes

64 bytes from 192.168.2.2: seq=0 ttl=64 time=0.942 ms

64 bytes from 192.168.2.2: seq=1 ttl=64 time=0.472 ms

64 bytes from 192.168.2.2: seq=2 ttl=64 time=0.397 ms

64 bytes from 192.168.2.2: seq=3 ttl=64 time=0.488 ms

64 bytes from 192.168.2.2: seq=4 ttl=64 time=0.442 ms

64 bytes from 192.168.2.2: seq=5 ttl=64 time=0.489 ms

64 bytes from 192.168.2.2: seq=6 ttl=64 time=0.433 ms

64 bytes from 192.168.2.2: seq=7 ttl=64 time=0.456 ms

64 bytes from 192.168.2.2: seq=8 ttl=64 time=0.449 ms

64 bytes from 192.168.2.2: seq=9 ttl=64 time=0.577 ms

64 bytes from 192.168.2.2: seq=10 ttl=64 time=0.424 ms

64 bytes from 192.168.2.2: seq=11 ttl=64 time=0.491 ms

64 bytes from 192.168.2.2: seq=12 ttl=64 time=0.447 ms

64 bytes from 192.168.2.2: seq=13 ttl=64 time=0.510 ms

64 bytes from 192.168.2.2: seq=14 ttl=64 time=0.436 ms

64 bytes from 192.168.2.2: seq=15 ttl=64 time=0.470 ms

64 bytes from 192.168.2.2: seq=16 ttl=64 time=0.456 ms

64 bytes from 192.168.2.2: seq=17 ttl=64 time=0.453 ms

64 bytes from 192.168.2.2: seq=18 ttl=64 time=0.440 ms

64 bytes from 192.168.2.2: seq=19 ttl=64 time=0.406 ms

64 bytes from 192.168.2.2: seq=20 ttl=64 time=0.464 ms

64 bytes from 192.168.2.2: seq=21 ttl=64 time=0.481 ms

64 bytes from 192.168.2.2: seq=22 ttl=64 time=0.432 ms

64 bytes from 192.168.2.2: seq=23 ttl=64 time=0.404 ms

64 bytes from 192.168.2.2: seq=24 ttl=64 time=0.466 ms

64 bytes from 192.168.2.2: seq=25 ttl=64 time=0.410 ms

64 bytes from 192.168.2.2: seq=26 ttl=64 time=0.475 ms

64 bytes from 192.168.2.2: seq=27 ttl=64 time=0.414 ms

64 bytes from 192.168.2.2: seq=28 ttl=64 time=0.441 ms

64 bytes from 192.168.2.2: seq=29 ttl=64 time=0.384 ms

64 bytes from 192.168.2.2: seq=30 ttl=64 time=0.499 ms

64 bytes from 192.168.2.2: seq=31 ttl=64 time=0.456 ms

64 bytes from 192.168.2.2: seq=32 ttl=64 time=0.505 ms

64 bytes from 192.168.2.2: seq=33 ttl=64 time=0.452 ms

64 bytes from 192.168.2.2: seq=34 ttl=64 time=0.503 ms

64 bytes from 192.168.2.2: seq=35 ttl=64 time=0.429 ms

64 bytes from 192.168.2.2: seq=36 ttl=64 time=0.489 ms

64 bytes from 192.168.2.2: seq=37 ttl=64 time=0.389 ms

64 bytes from 192.168.2.2: seq=38 ttl=64 time=0.513 ms

64 bytes from 192.168.2.2: seq=39 ttl=64 time=0.464 ms

64 bytes from 192.168.2.2: seq=40 ttl=64 time=0.504 ms

64 bytes from 192.168.2.2: seq=41 ttl=64 time=0.470 ms

64 bytes from 192.168.2.2: seq=42 ttl=64 time=0.415 ms

64 bytes from 192.168.2.2: seq=43 ttl=64 time=0.470 ms

64 bytes from 192.168.2.2: seq=44 ttl=64 time=0.438 ms

64 bytes from 192.168.2.2: seq=45 ttl=64 time=0.457 ms

64 bytes from 192.168.2.2: seq=46 ttl=64 time=0.398 ms

64 bytes from 192.168.2.2: seq=47 ttl=64 time=0.443 ms

64 bytes from 192.168.2.2: seq=48 ttl=64 time=0.402 ms

64 bytes from 192.168.2.2: seq=49 ttl=64 time=0.480 ms

64 bytes from 192.168.2.2: seq=50 ttl=64 time=0.431 ms

64 bytes from 192.168.2.2: seq=51 ttl=64 time=0.466 ms

64 bytes from 192.168.2.2: seq=52 ttl=64 time=0.460 ms

64 bytes from 192.168.2.2: seq=53 ttl=64 time=0.489 ms

64 bytes from 192.168.2.2: seq=54 ttl=64 time=0.437 ms

64 bytes from 192.168.2.2: seq=55 ttl=64 time=0.495 ms

64 bytes from 192.168.2.2: seq=56 ttl=64 time=0.430 ms

64 bytes from 192.168.2.2: seq=57 ttl=64 time=0.510 ms

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

------------[ cut here ]------------

WARNING: at /home/ethan/platform/kernel/linux-3.8.4-keystone/net/sched/sch_generic.c:254 dev_watchdog+0x258/0x278()

NETDEV WATCHDOG: eth0 (keystone-netcp): transmit queue 0 timed out

Modules linked in:

[<c0015240>] (unwind_backtrace+0x0/0xf8) from [<c0021800>] (warn_slowpath_common+0x4c/0x64)

[<c0021800>] (warn_slowpath_common+0x4c/0x64) from [<c00218ac>] (warn_slowpath_fmt+0x30/0x40)

[<c00218ac>] (warn_slowpath_fmt+0x30/0x40) from [<c03c08cc>] (dev_watchdog+0x258/0x278)

[<c03c08cc>] (dev_watchdog+0x258/0x278) from [<c002f014>] (call_timer_fn+0x3c/0x108)

[<c002f014>] (call_timer_fn+0x3c/0x108) from [<c0030afc>] (run_timer_softirq+0x1a8/0x258)

[<c0030afc>] (run_timer_softirq+0x1a8/0x258) from [<c0028b3c>] (__do_softirq+0xe0/0x224)

[<c0028b3c>] (__do_softirq+0xe0/0x224) from [<c0028f4c>] (irq_exit+0x4c/0x54)

[<c0028f4c>] (irq_exit+0x4c/0x54) from [<c000ea38>] (handle_IRQ+0x3c/0x94)

[<c000ea38>] (handle_IRQ+0x3c/0x94) from [<c000851c>] (gic_handle_irq+0x28/0x5c)

[<c000851c>] (gic_handle_irq+0x28/0x5c) from [<c04fd080>] (__irq_svc+0x40/0x50)

Exception stack(0xee0e7f90 to 0xee0e7fd8)

7f80:                                     c13beba0 00000000 0000bf4e 00000000

7fa0: ee0e6000 ee0e6000 c0768188 ee0e6000 c0730510 412fc0f4 00000000 00000000

7fc0: 00000000 ee0e7fd8 c000eafc c000eb00 60000013 ffffffff

[<c04fd080>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)

[<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)

[<c000ec44>] (cpu_idle+0x64/0xa0) from [<80709788>] (0x80709788)

---[ end trace b0d627bc838957ed ]---

net eth0: transmit timed out

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

dma dma0chan12: out of descriptors

  • Hi Ethan,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    We would recommend you to use the latest MCSDK for development. Please use the kernel tag specified in the MCSDK 3.1 release notes( section 9.1 to build the kernel).

    Thank you.

  • Hi Rajasekaran,

    This is the capture of XTCIEVMK2X EVM release note.

     

    I cannot find the kernel source code in MCSDK intallation directory, it is empty.

    [ethan@porsche ~]$ ll /opt/ti/mcsdk_linux_3_00_00_11/board-support/linux-src/

    total 0

    [ethan@porsche ~]$

     

    So I download kernel by using "git".

    Following shows many tags of kernel revision, which one I should checkout ?

    I have tried "K2_RT_LINUX_03.08.04_13.11", it has the same Ethernet problem.

    [ethan@porsche linux-keystone]$ git tag -l

    K2_LINUX_03.08.04_13.11

    K2_LINUX_03.08.04_13.12

    K2_LINUX_03.08.04_13.12_01

    K2_LINUX_03.08.04_14.01

    K2_LINUX_03.08.04_14.02

    K2_LINUX_03.08.04_14.03

    K2_LINUX_03.08.04_RIO_14.04

    K2_LINUX_03.10.10_13.11

    K2_LINUX_03.10.10_13.11_01

    K2_LINUX_03.10.10_13.12

    K2_LINUX_03.10.10_14.02

    K2_LINUX_03.10.10_14.02_SRIO

    K2_LINUX_03.10.10_14.03

    K2_LINUX_03.10.10_14.03_01

    K2_LINUX_03.10.10_14.03_02

    K2_LINUX_03.10.10_14.03_03

    K2_LINUX_03.10.10_14.04

    K2_LINUX_03.10.10_14.06

    K2_LINUX_03.10.10_14.07

    K2_LINUX_03.10.10_14.09

    K2_LINUX_03.10.10_14.09_01

    K2_LINUX_03.10.10_RIO_14.04

    K2_LINUX_03.13.00_14.05

    K2_RT_LINUX_03.08.04_13.11

    K2_RT_LINUX_03.08.04_13.12

    K2_RT_LINUX_03.08.04_13.12_01

    K2_RT_LINUX_03.08.04_14.01

    K2_RT_LINUX_03.08.04_14.02

    K2_RT_LINUX_03.08.04_14.03

    K2_RT_LINUX_03.10.10_13.11

    K2_RT_LINUX_03.10.10_13.11_01

    K2_RT_LINUX_03.10.10_13.12

    K2_RT_LINUX_03.10.10_14.02

    K2_RT_LINUX_03.10.10_14.03

    K2_RT_LINUX_03.10.10_14.03_01

    K2_RT_LINUX_03.10.10_14.03_02

    K2_RT_LINUX_03.10.10_14.03_03

    K2_RT_LINUX_03.10.10_14.04

    K2_RT_LINUX_03.10.10_14.06

    K2_RT_LINUX_03.10.10_14.07

    K2_RT_LINUX_03.10.10_14.09

    K2_RT_LINUX_03.10.10_14.09_01

    TEST_TAG_FOR_EMAIL

    v2.6.12

    v2.6.12-rc2

    v2.6.12-rc3

    v2.6.12-rc4

    v2.6.12-rc5

    v2.6.12-rc6

    v2.6.13

    v2.6.13-rc1

    v2.6.13-rc2

    v2.6.13-rc3

    v2.6.13-rc4

    v2.6.13-rc5

    v2.6.13-rc6

    v2.6.13-rc7

    v2.6.14

    v2.6.14-rc1

    v2.6.14-rc2

    v2.6.14-rc3

    v2.6.14-rc4

    v2.6.14-rc5

    v2.6.15

    v2.6.15-rc1

    v2.6.15-rc2

    v2.6.15-rc3

    v2.6.15-rc4

    v2.6.15-rc5

    v2.6.15-rc6

    v2.6.15-rc7

    v2.6.16

    v2.6.16-rc1

    v2.6.16-rc2

    v2.6.16-rc3

    v2.6.16-rc4

    v2.6.16-rc5

    v2.6.16-rc6

    v2.6.17

    v2.6.17-rc1

    v2.6.17-rc2

    v2.6.17-rc3

    v2.6.17-rc4

    v2.6.17-rc5

    v2.6.17-rc6

    v2.6.18

    v2.6.18-rc1

    v2.6.18-rc2

    v2.6.18-rc3

    v2.6.18-rc4

    v2.6.18-rc5

    v2.6.18-rc6

    v2.6.18-rc7

    v2.6.19

    v2.6.19-rc1

    v2.6.19-rc2

    v2.6.19-rc3

    v2.6.19-rc4

    v2.6.19-rc5

    v2.6.19-rc6

    v2.6.20

    v2.6.20-rc1

    v2.6.20-rc2

    v2.6.20-rc3

    v2.6.20-rc4

    v2.6.20-rc5

    v2.6.20-rc6

    v2.6.20-rc7

    v2.6.21

    v2.6.21-rc1

    v2.6.21-rc2

    v2.6.21-rc3

    v2.6.21-rc4

    v2.6.21-rc5

    v2.6.21-rc6

    v2.6.21-rc7

    v2.6.22

    v2.6.22-rc1

    v2.6.22-rc2

    v2.6.22-rc3

    v2.6.22-rc4

    v2.6.22-rc5

    v2.6.22-rc6

    v2.6.22-rc7

    v2.6.23

    v2.6.23-rc1

    v2.6.23-rc2

    v2.6.23-rc3

    v2.6.23-rc4

    v2.6.23-rc5

    v2.6.23-rc6

    v2.6.23-rc7

    v2.6.23-rc8

    v2.6.23-rc9

    v2.6.24

    v2.6.24-rc1

    v2.6.24-rc2

    v2.6.24-rc3

    v2.6.24-rc4

    v2.6.24-rc5

    v2.6.24-rc6

    v2.6.24-rc7

    v2.6.24-rc8

    v2.6.25

    v2.6.25-rc1

    v2.6.25-rc2

    v2.6.25-rc3

    v2.6.25-rc4

    v2.6.25-rc5

    v2.6.25-rc6

    v2.6.25-rc7

    v2.6.25-rc8

    v2.6.25-rc9

    v2.6.26

    v2.6.26-rc1

    v2.6.26-rc2

    v2.6.26-rc3

    v2.6.26-rc4

    v2.6.26-rc5

    v2.6.26-rc6

    v2.6.26-rc7

    v2.6.26-rc8

    v2.6.26-rc9

    v2.6.27

    v2.6.27-rc1

    v2.6.27-rc2

    v2.6.27-rc3

    v2.6.27-rc4

    v2.6.27-rc5

    v2.6.27-rc6

    v2.6.27-rc7

    v2.6.27-rc8

    v2.6.27-rc9

    v2.6.28

    v2.6.28-rc1

    v2.6.28-rc2

    v2.6.28-rc3

    v2.6.28-rc4

    v2.6.28-rc5

    v2.6.28-rc6

    v2.6.28-rc7

    v2.6.28-rc8

    v2.6.28-rc9

    v2.6.29

    v2.6.29-rc1

    v2.6.29-rc2

    v2.6.29-rc3

    v2.6.29-rc4

    v2.6.29-rc5

    v2.6.29-rc6

    v2.6.29-rc7

    v2.6.29-rc8

    v2.6.30

    v2.6.30-rc1

    v2.6.30-rc2

    v2.6.30-rc3

    v2.6.30-rc4

    v2.6.30-rc5

    v2.6.30-rc6

    v2.6.30-rc7

    v2.6.30-rc8

    v2.6.31

    v2.6.31-rc1

    v2.6.31-rc2

    v2.6.31-rc3

    v2.6.31-rc4

    v2.6.31-rc5

    v2.6.31-rc6

    v2.6.31-rc7

    v2.6.31-rc8

    v2.6.31-rc9

    v2.6.32

    v2.6.32-rc1

    v2.6.32-rc2

    v2.6.32-rc3

    v2.6.32-rc4

    v2.6.32-rc5

    v2.6.32-rc6

    v2.6.32-rc7

    v2.6.32-rc8

    v2.6.33

    v2.6.33-rc1

    v2.6.33-rc2

    v2.6.33-rc3

    v2.6.33-rc4

    v2.6.33-rc5

    v2.6.33-rc6

    v2.6.33-rc7

    v2.6.33-rc8

    v2.6.34

    v2.6.34-rc1

    v2.6.34-rc2

    v2.6.34-rc3

    v2.6.34-rc4

    v2.6.34-rc5

    v2.6.34-rc6

    v2.6.34-rc7

    v2.6.35

    v2.6.35-rc1

    v2.6.35-rc2

    v2.6.35-rc3

    v2.6.35-rc4

    v2.6.35-rc5

    v2.6.35-rc6

    v2.6.36

    v2.6.36-rc1

    v2.6.36-rc2

    v2.6.36-rc3

    v2.6.36-rc4

    v2.6.36-rc5

    v2.6.36-rc6

    v2.6.36-rc7

    v2.6.36-rc8

    v2.6.37

    v2.6.37-rc1

    v2.6.37-rc2

    v2.6.37-rc3

    v2.6.37-rc4

    v2.6.37-rc5

    v2.6.37-rc6

    v2.6.37-rc7

    v2.6.37-rc8

    v2.6.38

    v2.6.38-rc1

    v2.6.38-rc2

    v2.6.38-rc3

    v2.6.38-rc4

    v2.6.38-rc5

    v2.6.38-rc6

    v2.6.38-rc7

    v2.6.38-rc8

    v2.6.39

    v2.6.39-rc1

    v2.6.39-rc2

    v2.6.39-rc3

    v2.6.39-rc4

    v2.6.39-rc5

    v2.6.39-rc6

    v2.6.39-rc7

    v3.0

    v3.0-rc1

    v3.0-rc2

    v3.0-rc3

    v3.0-rc4

    v3.0-rc5

    v3.0-rc6

    v3.0-rc7

    v3.1

    v3.1-rc1

    v3.1-rc10

    v3.1-rc2

    v3.1-rc3

    v3.1-rc4

    v3.1-rc5

    v3.1-rc6

    v3.1-rc7

    v3.1-rc8

    v3.1-rc9

    v3.10

    v3.10-rc1

    v3.10-rc2

    v3.10-rc3

    v3.10-rc4

    v3.10-rc5

    v3.10-rc6

    v3.10-rc7

    v3.11

    v3.11-rc1

    v3.11-rc2

    v3.11-rc3

    v3.11-rc4

    v3.11-rc5

    v3.11-rc6

    v3.11-rc7

    v3.12

    v3.12-rc1

    v3.12-rc2

    v3.12-rc3

    v3.12-rc4

    v3.12-rc5

    v3.12-rc6

    v3.12-rc7

    v3.13

    v3.13-rc1

    v3.13-rc2

    v3.13-rc3

    v3.13-rc4

    v3.13-rc5

    v3.13-rc6

    v3.13-rc7

    v3.13-rc8

    v3.14

    v3.14-rc1

    v3.14-rc2

    v3.14-rc3

    v3.14-rc4

    v3.14-rc5

    v3.14-rc6

    v3.14-rc7

    v3.14-rc8

    v3.15-rc1

    v3.15-rc2

    v3.15-rc3

    v3.2

    v3.2-rc1

    v3.2-rc2

    v3.2-rc3

    v3.2-rc4

    v3.2-rc5

    v3.2-rc6

    v3.2-rc7

    v3.3

    v3.3-rc1

    v3.3-rc2

    v3.3-rc3

    v3.3-rc4

    v3.3-rc5

    v3.3-rc6

    v3.3-rc7

    v3.4

    v3.4-rc1

    v3.4-rc2

    v3.4-rc3

    v3.4-rc4

    v3.4-rc5

    v3.4-rc6

    v3.4-rc7

    v3.5

    v3.5-rc1

    v3.5-rc2

    v3.5-rc3

    v3.5-rc4

    v3.5-rc5

    v3.5-rc6

    v3.5-rc7

    v3.6

    v3.6-rc1

    v3.6-rc2

    v3.6-rc3

    v3.6-rc4

    v3.6-rc5

    v3.6-rc6

    v3.6-rc7

    v3.7

    v3.7-rc1

    v3.7-rc2

    v3.7-rc3

    v3.7-rc4

    v3.7-rc5

    v3.7-rc6

    v3.7-rc7

    v3.7-rc8

    v3.8

    v3.8-rc1

    v3.8-rc2

    v3.8-rc3

    v3.8-rc4

    v3.8-rc5

    v3.8-rc6

    v3.8-rc7

    v3.9

    v3.9-rc1

    v3.9-rc2

    v3.9-rc3

    v3.9-rc4

    v3.9-rc5

    v3.9-rc6

    v3.9-rc7

    v3.9-rc8

    [ethan@porsche linux-keystone]$

    Regards, Ethan

  • Hi Rajasekaran,

    I found the right kernel source and Ethernet TX problem is fixed.

    There are two git repositories:

    1) git://git.ti.com/keystone-linux/linux.git

    2) git://arago-project.org/git/projects/linux-keystone.git

    The 2nd one has the tag "DEV.MCSDK-03.08.04.11" which matches "3.8.4.11" mentioned in the MCSDK release note.

    Which repository should be the offical kernel source for XTCIEVMK2X EVM ?

    Anyway, thanks for your help!

    Regards,

    Ethan

  • Hi Ethan,

    Thank you for the update.

    There is no seperate kernel source repository for XTCIEVMK2X EVM. 

    K2HEVM - 66AK2H12/66AK2H06 without SA

    K2HEVMX - 66AK2H12/66AK2H06 with SA(e-fused "on")

    XTCIEVMK2X .. TCI6636K2H/TCI6638K2K with SA(e-fused "on")

  • Hi Ethan,

    Also we recommend you to use latest MCSDK(3.1) released for development.

    Thank you.

  • Hi Rajasekaran,

    Yes, I have received MCSDK 3.1.1 Released information from TI.

    Thank you!

    Regards,

    Ethan