-
Notifications
You must be signed in to change notification settings - Fork 5.2k
eth0: hw csum failure #1371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm. github ate that kernel log. Let's try.
To reproduce, install babeld on two systems, give them the same essid and a different ip address iwconfig wlan0 mode ad-hoc essid babel |
I can clarify this somewhat - this is only a bug in the rpi3, (tested a rpi2) and appears to be more generic to ipv6 support than just babeld. |
here is a much more complete log: http://www.taht.net/~d/rpi3_bad_ipv6_issues.dmesg |
Duplicate of #1083? |
Could be, can I suck down a rpi3 kernel from "Devel" wherever that is? On 3/28/16 11:24 AM, Phil Elwell wrote:
|
@pelwell I have the 3 suggested commits in my local tree and they build. |
Yes - go for it. |
kernel: bcm2835-sdhost: Precalc divisors and overclocks kernel: cherry-pick upstream fixes for eth0 hw csum failures See: raspberrypi/linux#1371 See: raspberrypi/linux#1083 kernel: Add configs and overlay for PCA9548 I2C mux kernel: BCM270X_DT: Add DS1339 to i2c-rtc overlay
Latest |
kernel: bcm2835-sdhost: Precalc divisors and overclocks kernel: cherry-pick upstream fixes for eth0 hw csum failures See: raspberrypi/linux#1371 See: raspberrypi/linux#1083 kernel: Add configs and overlay for PCA9548 I2C mux kernel: BCM270X_DT: Add DS1339 to i2c-rtc overlay
ah. "firmware" was not part of the command line. Downloading.... |
whilst I'm making feature requests please also see #1370 |
Nope. Here's some big logs for you. http://www.taht.net/~d/rpi3-4.4.6-v7+.dmesg It's very cool you are getting up to 4.4 though. :) |
I have poked into this a bit harder. It only happens when a babel multicast udp packet is on the eth0 interface on the rpi3, so I suspect some driver offload there is causing the error. Works on rpi2, works on wlan interfaces. I will try to find some other tool to generate multicast udp packet to see if it is generic. |
Assuming you are not using wifi, I can't think of any reason Pi3 will behave differently to Pi2. |
ok, I will swap cars and change my networks around a little. |
Narrowing it down still further. It is merely the presence of a babel's multicast udp packet on the ethernet wire causing the issue on the rpi3. No daemon is required to be running on rpi to trigger the kernel messages. I switched cables with the correctly working rpi2, also. I continue to look for other things that do multicast udp for on ipv6 to trigger this. I would have thought ra, for example, might do it. It doesn't. Off to try this exact kernel and filesystem from the rpi2 to the rpi3... This is the earliest occurance in the bootlog from the rpi3 Linux pi3 4.1.21-v7+ #872
|
I swapped out power supplies. This problem went away. !@#@! Thx for taking a look at it. Why it would only show up on ipv6 udp is totally beyond me. |
In testing babeld on this platform, I see tons of these errors in the kernel when handling some ipv6 packets.
[170772.004583] : hw csum failure
[170772.004605] CPU: 0 PID: 1415 Comm: babeld Tainted: G W 4.1.19-v7+ #853
[170772.004614] Hardware name: BCM2709
[170772.004646] <800185e0> from <80013f48>
[170772.004670] <80013f48> from <80572fac>
[170772.004695] <80572fac> from <80497444>
[170772.004718] <80497444> from <8048c6d0>
[170772.004790] <8048c6d0> from [<7f01f048>](udpv6_recvmsg+0x11c/0x7cc [ipv6])
[170772.004857] [<7f01f048>](udpv6_recvmsg [ipv6]) from <80509d18>
[170772.004882] <80509d18> from <8047c3dc>
[170772.004903] <8047c3dc> from <8047e274>
[170772.004921] <8047e274> from <8047f0f8>
[170772.004939] <8047f0f8> from <8047f140>
[170772.004959] <8047f140> from <8000fa20>
[170773.053596] eth0: hw csum failure
The text was updated successfully, but these errors were encountered: