raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.03k stars 4.95k forks source link

Auto negotiation bug on RasPi 3b+ #4341

Open shawaj opened 3 years ago

shawaj commented 3 years ago

Describe the bug There seems to be a bug on raspberry pi 3b+ with lan7515 chips where auto negotiation on the Ethernet fails to work after some random period.

To reproduce We are using the raspberry pi 3b+ as a test rig for Raspberry pi cm3+ based boards. We plug it in via Ethernet connection. Cm3 carrier has a maxlinear/exar xr22800 Eth chip.

One test rig will test a device, device unplugged, new one plugged in and tested... And then repeat.

This will work for the first 1 or 2 times (sometimes more, it seems random) and then eventually will fail to work anymore.

Putting an Ethernet switch between the two and it works flawlessly.

This is repeatable on 10 test rigs we have set up.

Expected behaviour Auto negotiation should work at all times

Actual behaviour Auto negotiation fails

System

Pi3b+

Latest raspios

Latest

Latest

Copying in @ryanteck as well as he may know more about the versions and setup.

6by9 commented 3 years ago

Pi's up to 3B have LAN9514 (LAN9512 on the original Model B). Pi3B+ has LAN7800 packaged with a hub chip as LAN7515.

AFAIK LAN9515 does not exist. Please confirm you mean 3B+ and LAN7515.

When asked for versions, please provide actual version numbers. "Latest" could be latest rpi-update kernel/firmware, or that packaged through apt.

shawaj commented 3 years ago

Sorry that was a typo! Should have said 7515!

@ryanteck can you provide the version info from the test image?