All of lore.kernel.org
 help / color / mirror / Atom feed
* imx8mq-evk: Outbound network packets lost
@ 2019-01-03 12:53 Chris Spencer
  2019-01-04 15:33   ` [U-Boot] " Chris Spencer
  0 siblings, 1 reply; 16+ messages in thread
From: Chris Spencer @ 2019-01-03 12:53 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I'm trying to get the i.MX8MQ-EVK board up and running with the
recently added kernel support (I'm currently working off
arm-soc/for-next) and am having some trouble with the networking. If I
issue a ping from my test machine with tcpdump running on both sides I
see this:

On dev machine:
10:57:52.655882 ARP, Request who-has 10.60.9.15 tell linux-dev, length 28
10:57:53.677046 ARP, Request who-has 10.60.9.15 tell linux-dev, length 28
10:57:54.701024 ARP, Request who-has 10.60.9.15 tell linux-dev, length 28
10:57:55.725050 ARP, Request who-has 10.60.9.15 tell linux-dev, length 28

On imx8:
00:05:16.514604 ARP, Request who-has 10.60.9.15 tell 10.60.9.101, length 46
00:05:16.514651 ARP, Reply 10.60.9.15 is-at 00:04:9f:05:a5:a5 (oui
Freescale), length 28
00:05:17.578275 ARP, Request who-has 10.60.9.15 tell 10.60.9.101, length 46
00:05:17.578298 ARP, Reply 10.60.9.15 is-at 00:04:9f:05:a5:a5 (oui
Freescale), length 28
00:05:18.644896 ARP, Request who-has 10.60.9.15 tell 10.60.9.101, length 46
00:05:18.644932 ARP, Reply 10.60.9.15 is-at 00:04:9f:05:a5:a5 (oui
Freescale), length 28
00:05:19.711548 ARP, Request who-has 10.60.9.15 tell 10.60.9.101, length 46
00:05:19.711561 ARP, Reply 10.60.9.15 is-at 00:04:9f:05:a5:a5 (oui
Freescale), length 28

So the imx8 can receive packets, but anything it sends back seems to
be lost. The machines are connected directly with a standard patch
cable. I have tried with two different test machines and network
cables with the same results. Firewalls are disabled on both sides.
tcpdump shows 0 packets dropped by kernel on both sides.

Kernel output related to the Ethernet controller:
[    0.550204] libphy: Fixed MDIO Bus: probed
[    0.555023] fec 30be0000.ethernet: 30be0000.ethernet supply phy not
found, using dummy regulator
[    0.564204] fec 30be0000.ethernet: Linked as a consumer to regulator.0
[    0.575518] libphy: fec_enet_mii_bus: probed
...
[    6.479277] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full -
flow control rx/tx
[    6.487386] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Potentially useful command output:
# ip addr
...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
    link/ether 00:04:9f:05:a5:a5 brd ff:ff:ff:ff:ff:ff
    inet 10.60.9.15/24 brd 10.60.9.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::204:9fff:fe05:a5a5/64 scope link
       valid_lft forever preferred_lft forever
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:04:9F:05:A5:A5
          inet addr:10.60.9.15  Bcast:10.60.9.255  Mask:255.255.255.0
          inet6 addr: fe80::204:9fff:fe05:a5a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2332 (2.2 KiB)  TX bytes:1080 (1.0 KiB)

Is anyone able to provide some insight on what might be happening here?

Thanks,
Chris

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-02-01 18:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03 12:53 imx8mq-evk: Outbound network packets lost Chris Spencer
2019-01-04 15:33 ` Chris Spencer
2019-01-04 15:33   ` [U-Boot] " Chris Spencer
2019-01-04 16:52   ` Chris Spencer
2019-01-04 16:52     ` [U-Boot] " Chris Spencer
2019-01-07  9:42     ` Chris Spencer
     [not found]     ` <alpine.LFD.2.21.1901241547420.33885@maverick.koi8.net>
2019-01-25  8:15       ` [U-Boot] " Chris Spencer
2019-01-26  1:14         ` Sergey Kubushyn
2019-01-26 10:26           ` Chris Spencer
2019-01-30  0:43             ` Sergey Kubushyn
2019-01-31  8:02               ` Chris Spencer
2019-01-31 18:43                 ` Sergey Kubushyn
2019-02-01  7:06                   ` Chris Spencer
2019-02-01 16:10                     ` Sergey Kubushyn
2019-02-01 16:49                       ` Chris Spencer
2019-02-01 18:25                         ` Sergey Kubushyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.