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
