cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
271 stars 49 forks source link

Eth0 brings up and down in a loop #350

Closed eg009 closed 9 years ago

eg009 commented 9 years ago

Hello, i have a cubieboard2 with cubian-base-r5-a20 image and sometimes it starts to bring eth0 up and down

part from /var/log/messages

...
Aug 28 23:31:53 Cubian kernel: [   46.684991] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Aug 28 23:31:55 Cubian kernel: [   48.712129] sunxi_emac sunxi_emac.0: eth0: link down
Aug 28 23:31:57 Cubian kernel: [   50.724916] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Aug 28 23:31:59 Cubian kernel: [   52.732069] sunxi_emac sunxi_emac.0: eth0: link down
Aug 28 23:32:07 Cubian kernel: [   60.734954] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
...

interfaces are configured this way

# the loopback interface
auto lo
iface lo inet loopback

#
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
nameserver 192.168.1.1

do you have any ideas?

hakansen commented 9 years ago

Try with an other power supply.

eg009 commented 9 years ago

my main supply can give up to 1.5A and i'm not using hdd also tried another supply and usb 2.0 from pc, the same thing.

I noticed it about a week ago and it doesn't start with launch of the system. Everything starts to go up\down after a random period of time.