I wonder if you need to do the same thing I did and manually set link speed and duplex on the Ethernet interface.by Ludacrisvp - Debian
I know this is an older topic but I figured why not post some current numbers... NFSv3 testing RAID1 ext4 (rw,noatime,stripe=64,data=writeback) 2x WD RED 3TB NSA-320 Linux IQ2700i 4.11.3-kirkwood-tld-2 #1 PREEMPT Tue Jun 6 17:01:17 PDT 2017 armv5tel GNU/Linux # cat /etc/debian_version 8.8 READ NFSv3 - 6.21GB file (Install Mac OSX El Capitan.pkg) ethstats peak (100% CPU usage onby Ludacrisvp - Debian
bodhi Wrote: ------------------------------------------------------- > This makes me suspect the network environment more than the kernel. Have you tried to change > your setup temporarily (such as plugging everything into the same Gbit switch) to see if this problem > will go away? if that happens then perhaps the router ports or the switch ports are the reason for network up/down.by Ludacrisvp - Debian
Is there a better way to disable auto-negotiation? I re-vamped the init.d script I had. Currently using this: IQ2700i# cat /etc/init.d/ethernet-keepalive #! /bin/sh # /etc/init.d/ethernet-keepalive # # Keep that damn link up! # bypassing loop and disabling auto negotiation instead # while (true) do ifconfig egiga0 10.10.10.99 netmask 255.255.255.0 up; /root/fix-routes.sh; sleep 1;by Ludacrisvp - Debian
I disabled auto-negotiation on the NSA-320 and it made it several hours without logging any link issues. I think I'm going to disable my workarounds and see how it goes. I also renamed the interface from eth0 to egiga0 just for fun. What seemed odd is that while on auto-negotiate 'mii-tool' says it negotiated half duplex 1Gb flow control. This is what led me to try to diby Ludacrisvp - Debian
pbg4 Wrote: ------------------------------------------------------- > offload-rx off # disables TCP RX offloading > offload-tx off # disables TCP TX offloading > best wishes pbg4 Bringing back a thread from the grave... Still having issues with this, however now it has become a problem rather than just log spam. I did put a nice hack of a workaround in placeby Ludacrisvp - Debian
bodhi Wrote: ------------------------------------------------------- > > Im favouring the error is at the switch end and you are logging it at your device end > This. > @Ludacrisvp, I think if the NSA320 is close to the > router, try plug it in directly to the router port. A managed switch would have been nice, but rather cost prohibitive so yes it is a shame that I canby Ludacrisvp - Debian
andsol Wrote: ------------------------------------------------------- > some performance data ... trimmed from post > Processor goes up to 50%, and results are better on small data. I have NSA-320 w/ 2 3TB WD REDs in RAID1 booted from USB stick and am on 4.4 kernel and Jessie here is what I'm seeing. I realize this isn't apples to apples for your 1 drive NSA-325v2 but mby Ludacrisvp - Debian
This may be of interest: IQ2700i# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseby Ludacrisvp - Debian
Went from my home made CAT6 cable to a store bought one... no change. Also changed switch ports... no change. Still seeing this logged. -- typical logged lines -- Feb 2 19:02:11 IQ2700i kernel: [34517.452174] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down Feb 2 19:02:11 IQ2700i kernel: [34517.458198] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flby Ludacrisvp - Debian
Im using Bodhi's rootfs and kernel updates. My rootfs is based on Rootfs Debian-3.16.0-kirkwood-tld-2 (sept 2014) I've since updated to Jessie using apt-get and updated kernel to 4.4 and uboot as well. I'm booting from a USB drive and have a dual drive RAID 1 setup. I'm also quite certain that I wiped out the stock firmware too when I originally set this up back in 2014.by Ludacrisvp - Debian