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.
What I'm seeing logged, this has gone on since day 1, and I was hoping that the upgrades that I was doing might have addressed this but it hasn't.
These 3 lines log around every 300 seconds (5 mins), they log in a few places so after some time they cause some rather large log files.
I really don't think the link is actually dropping, as I never see packet loss or a connection drop.
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.
What I'm seeing logged, this has gone on since day 1, and I was hoping that the upgrades that I was doing might have addressed this but it hasn't.
These 3 lines log around every 300 seconds (5 mins), they log in a few places so after some time they cause some rather large log files.
Feb 1 22:16:49 IQ2700i kernel: [ 3291.719206] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down Feb 1 22:16:49 IQ2700i kernel: [ 3291.725383] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled Feb 1 22:16:49 IQ2700i kernel: [ 3291.735315] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
I really don't think the link is actually dropping, as I never see packet loss or a connection drop.
IQ2700i# uname -a Linux IQ2700i 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux IQ2700i# cat /etc/debian_version 8.3
IQ2700i# cat /etc/network/interfaces auto lo eth0 iface lo inet loopback iface eth0 inet static address 10.10.10.99 netmask 255.255.255.0 network 10.10.10.0 broadcast 10.10.10.255 gateway 10.10.10.1
IQ2700i# netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 118006 0 4 0 33730 0 0 0 BMRU lo 65536 0 1000 0 0 0 1000 0 0 0 LRU
IQ2700i# ifconfig -a
eth0 Link encap:Ethernet HWaddr c8:6c:87:aa:a0:82
inet addr:10.10.10.99 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::ca6c:87ff:feaa:a082/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118979 errors:0 dropped:4 overruns:0 frame:0
TX packets:34609 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:133170674 (127.0 MiB) TX bytes:6676459 (6.3 MiB)
Interrupt:86
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1028 errors:0 dropped:0 overruns:0 frame:0
TX packets:1028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:123337 (120.4 KiB) TX bytes:123337 (120.4 KiB)
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:12:51 -0800) ZyXEL NSA320 2-Bay Power Media Server
IQ2700i# fw_printenv baudrate=115200 boot_sata1=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts; ide reset; ext2load ide 0:1 0x800000 /boot/uImage; ext2load ide 0:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000 boot_sata2=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 $mtdparts; ide reset; ext2load ide 1:1 0x800000 /boot/uImage; ext2load ide 1:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000 bootcmd=run boot_sata1; run boot_sata2; run bootcmd_usb; usb stop; run bootcmd_rescue; reset bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot; bootdelay=4 console=ttyS0,115200 ethact=egiga0 ethaddr=C8:6C:87:AA:A0:82 if_netconsole=ping $serverip ipaddr=10.10.10.99 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2) ncip=10.10.10.123 netmask=255.255.255.0 partition=nand0,2 set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_device=0:1 usb_init=usb start usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage usb_root=LABEL=rootfs usb_rootdelay=5 usb_rootfstype=ext2 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi preboot=run preboot_nc serverip=10.10.10.105 arcNumber=3956 load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa320.dtb load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd load_uimage=ext2load usb 0:1 0x800000 /boot/uImage usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi