Bug#927710: ath10k locks to regulatory domain US on ACPI platforms

2020-03-04 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
The country code is not read from ACPI but from the EEPROM of the 
WiFi-card (0x0 "World Regulatory Domain" by default).




Bug#927710: ath10k locks to regulatory domain US on ACPI platforms

2020-03-04 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
See 
https://medium.com/@renaudcerrato/how-to-build-your-own-wireless-router-from-scratch-part-3-d54eecce157f 
as explanation and solution




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 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



Bug#927710: ath10k locks to regulatory domain US on ACPI platforms

2019-04-21 Thread Rene 'Renne' Bartsch, B.Sc. Informatics

Package: linux-image
Version: 4.19.28-2

The ath10k 802.11 driver reads the country code for the radio regulatory domain 
from the ACPI table.
If it can't get a valid value it locks to US regulatory domain which is wrong 
for most countries.
This makes Atheros devices in master mode unusable on ACPI devices in most 
countries.

Sven Gottschall suggested on ath10k mailing-list to return -EOPNOTSUPP in 
function
ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) in file 
drivers/net/wireless/ath/ath10k/mac.c to solve this.


static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd)
{
return -EOPNOTSUPP;
}


Regards,

Renne


Kernel version: Linux cloud 4.19.0-4-amd64 #1 SMP Debian 4.19.28-2 (2019-03-15) 
x86_64 GNU/Linux



Bug#927276: Enable KVMGT modules for Intel VT-g iGPU virtualization

2019-04-17 Thread Rene 'Renne' Bartsch, B.Sc. Informatics

Package: linux-image
Version: 4.19.28-2


Intel VT-g allows to partition an Intel iGPU into up to 7 virtual GPUs. This 
saves separate GPUs, PCIe slots, housing space, electrical power, cooling and 
money.

About Intel VT-g: https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide

Please enable

CONFIG_DRM_I915_GVT
CONFIG_DRM_I915_GVT_KVMGT
CONFIG_DRM_I915_GVT_XENGT

which depend on

CONFIG_VFIO_MDEV
CONFIG_VFIO_MDEV_DEVICE

Regards,

Renne


Kernel version: Linux cloud 4.19.0-4-amd64 #1 SMP Debian 4.19.28-2 (2019-03-15) 
x86_64 GNU/Linux