Bug#928328: Intel I350-NIC shuts down ports after loosing carrier

2019-05-03 Thread Rene 'Renne' Bartsch, B.Sc. Informatics

echo on > /sys/devices/pci\:00/\:00\:01.0/\:01\:00.0/power/control
echo on > /sys/devices/pci\:00/\:00\:01.0/\:01\:00.1/power/control
echo on > /sys/devices/pci\:00/\:00\:01.0/\:01\:00.2/power/control
echo on > /sys/devices/pci\:00/\:00\:01.0/\:01\:00.3/power/control

solves the problem. This should be "on" by default instead of "auto".

Regards,

Renne



Bug#928328: Intel I350-NIC shuts down ports after loosing carrier

2019-05-02 Thread Rene 'Renne' Bartsch, B.Sc. Informatics

No, i210 and i219 detect the carrier correctly even when un-plugging and 
plugging back the cable.
Only the i350 fails to reconnect.

Regards,

Renne



Bug#928328: Intel I350-NIC shuts down ports after loosing carrier

2019-05-02 Thread Harald Dunkel

Are other Intel NICs affected by this problem as well?

Regards
Harri



Bug#928328: Intel I350-NIC shuts down ports after loosing carrier

2019-05-02 Thread Rene 'Renne' Bartsch, B.Sc. Informatics

Package: linux-image ???
Version: 4.19.28-2
Module: igb.ko
Debian 10

renne@cloud:~$ uname -a
Linux cloud 4.19.0-4-amd64 #1 SMP Debian 4.19.28-2 (2019-03-15) x86_64 GNU/Linux

If there is no device connected or powered off a boot/reboot or a device 
disconnects the port of the i350 powers down
and does not wake up until the next reboot of the machine with the i350. There 
is no activity of the RJ-45 LEDs until reboot.

Disabling EEE does not solve the problem:

auto  enp1s0f0
iface enp1s0f0 inet manual
  pre-up ethtool --set-eee enp1s0f0 eee off
  up ip link set   enp1s0f0 up   promisc on
  down   ip link set   enp1s0f0 down promisc off
#  post-down  ethtool --set-eee enp1s0f0 eee on

auto  enp1s0f1
iface enp1s0f1 inet manual
  pre-up ethtool --set-eee enp1s0f1 eee off
  up ip link set   enp1s0f1 up   promisc on
  down   ip link set   enp1s0f1 down promisc off
#  post-down  ethtool --set-eee enp1s0f1 eee on

auto  enp1s0f2
iface enp1s0f2 inet manual
  pre-up ethtool --set-eee enp1s0f2 eee off
  up ip link set   enp1s0f2 up   promisc on
  down   ip link set   enp1s0f2 down promisc off
#  post-down  ethtool --set-eee enp1s0f2 eee on

auto  enp1s0f3
iface enp1s0f3 inet manual
  pre-up ethtool --set-eee enp1s0f3 eee off
  up ip link set   enp1s0f3 up   promisc on
  down   ip link set   enp1s0f3 down promisc off
#  post-down  ethtool --set-eee enp1s0f3 eee on

auto  br-lan
iface br-lan inet static
  address 192.168.1.2
  netmask 255.255.255.0
  network 192.168.1.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  dns-nameservers 192.168.1.1
  bridge_ports enp1s0f0 enp1s0f1 enp1s0f2 enp1s0f3
  bridge_stp off
  bridge_fd 0
  bridge_maxwait 0

Regards,

Renne