Monday, May 07, 2012

I was getting annoying messages in the console tty1-8:
[34895.467445] jme 0000:02:00.5: eth0: UDP Checksum error
[34896.613044] jme 0000:02:00.5: eth0: UDP Checksum error
[34896.620748] jme 0000:02:00.5: eth0: UDP Checksum error
[34896.727510] jme 0000:02:00.5: eth0: UDP Checksum error
[34896.933031] jme 0000:02:00.5: eth0: UDP Checksum error
I tried to fix it playing with the system log /etc/rsyslog.d/50-default.conf, but that was not it, I could get a copy of the stream to a file, but not prevent the stream from flooding my screen. The solution was the kernel printk definition. running teh line sudo sysctl kernel.printk="3 4 1 7" it stopped the messages, looking around this variable is defined in /etc/sysctl.conf, so I uncommented the line
# Uncomment the following to stop low-level messages on console
kernel.printk = 3 4 1 3
This solved my problem permanently. NEW SOLUTION from http://theamdara.blogspot.fr/2014/01/linux-jme-micron-udp-checksum-error.html
ethtool -K eth0 rx off