Hi,
My ethernet interface has been disabled, and I can't find the root cause. I think the issue happened while creating the bridge in the following tutorial while trying to enable KVM GPU passthrough: https://ycnrg.org/vga-passthrough-with-ovmf-vfio/
Any help appreciated.
I added the following to /etc/sysctl.conf:
I added the following to /etc/default/grub and run after sudo update-grub:
I added the following to /etc/initramfs-tools/modules and run after sudo update-initramfs -u:
I had before persistent net rules to rename interfaces to wlan0 and eth0, but after the issue I disabled the rules.
My ethernet interface has been disabled, and I can't find the root cause. I think the issue happened while creating the bridge in the following tutorial while trying to enable KVM GPU passthrough: https://ycnrg.org/vga-passthrough-with-ovmf-vfio/
Any help appreciated.
Code:
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
Code:
uname -a
Linux bumbara 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Code:
sudo lshw -c network
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 78
serial: xx:xx:xx:xx:xx:xx
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical
configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-72-generic firmware=22.361476.0 ip=192.168.1.181 latency=0 link=yes multicast=yes
resources: irq:129 memory:edb00000-edb01fff
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: virbr0-nic
serial: yy:yy:yy:yy:yy:yy
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
Code:
lspci -nn | grep -i net
02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fd] (rev 78)
Code:
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 52:54:00:a0:4c:28 brd ff:ff:ff:ff:ff:ff
Code:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.181/24 brd 192.168.1.255 scope global dynamic wlp2s0
valid_lft 42125sec preferred_lft 42125sec
inet6 fe80::6f95:66d3:5498:12cf/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 52:54:00:a0:4c:28 brd ff:ff:ff:ff:ff:ff
Code:
cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Code:
# Enable IPv4 forwarding
net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.proxy_arp=1
Code:
cat /etc/modules
pci_stub
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
kvm
kvm_intel
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt"
Code:
pci_stub ids=8086:591b,10de:13b6
Code:
cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x10ec:0x8xxxx (ethernet)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="yy:yy:yy:yy:yy:yy", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:0xyyy (wifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Code:
cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
#dns=dnsmasq
[ifupdown]
managed=false
Code:
lsmod
Module Size Used by
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 3
ccm 20480 3
rfcomm 69632 2
xt_CHECKSUM 16384 1
iptable_mangle 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
iptable_nat 16384 1
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 24576 2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack_ipv4 16384 2
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_conntrack 16384 1
nf_conntrack 106496 5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
xt_tcpudp 16384 6
bridge 126976 0
stp 16384 1 bridge
llc 16384 2 stp,bridge
ebtable_filter 16384 0
ebtables 36864 1 ebtable_filter
ip6table_filter 16384 0
ip6_tables 28672 1 ip6table_filter
iptable_filter 16384 1
ip_tables 24576 3 iptable_filter,iptable_mangle,iptable_nat
x_tables 36864 11 ip6table_filter,xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ebtables,ipt_REJECT,iptable_mangle,ip6_tables
nvram 16384 0
msr 16384 0
cmac 16384 2
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
v4l2_common 16384 1 videobuf2_v4l2
videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media 24576 2 uvcvideo,videodev
btusb 45056 0
btrtl 16384 1 btusb
bbswitch 16384 0
bnep 20480 2
hid_multitouch 20480 0
nls_iso8859_1 16384 1
arc4 16384 2
iwlmvm 425984 0
snd_hda_codec_hdmi 49152 1
mac80211 700416 1 iwlmvm
dell_led 16384 1
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
snd_hda_codec_realtek 90112 1
dell_wmi 16384 0
mxm_wmi 16384 0
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
dcdbas 16384 0
dell_smm_hwmon 16384 0
iwlwifi 315392 1 iwlmvm
snd_hda_intel 40960 3
snd_hda_codec 135168 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
rtsx_pci_ms 20480 0
memstick 20480 1 rtsx_pci_ms
cfg80211 589824 3 iwlwifi,mac80211,iwlmvm
snd_hda_core 90112 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
compat 16384 4 cfg80211,iwlwifi,mac80211,iwlmvm
x86_pkg_temp_thermal 16384 0
coretemp 16384 0
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
aesni_intel 167936 8
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
joydev 20480 0
input_leds 16384 0
snd 81920 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
serio_raw 16384 0
soundcore 16384 1 snd
mei_me 36864 0
shpchp 36864 0
idma64 20480 0
virt_dma 16384 1 idma64
mei 98304 1 mei_me
processor_thermal_device 16384 0
intel_lpss_pci 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
hci_uart 77824 0
btqca 16384 1 hci_uart
btbcm 16384 2 btusb,hci_uart
btintel 16384 2 btusb,hci_uart
bluetooth 520192 31 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel
dell_smo8800 16384 0
intel_lpss_acpi 16384 0
wmi 20480 3 dell_led,dell_wmi,mxm_wmi
int3403_thermal 16384 0
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
int340x_thermal_zone 16384 2 processor_thermal_device,int3403_thermal
int3400_thermal 16384 0
mac_hid 16384 0
intel_hid 16384 0
acpi_thermal_rel 16384 1 int3400_thermal
sparse_keymap 16384 2 dell_wmi,intel_hid
acpi_als 16384 0
kfifo_buf 16384 1 acpi_als
acpi_pad 24576 0
industrialio 61440 2 acpi_als,kfifo_buf
kvm_intel 172032 0
kvm 544768 1 kvm_intel
vfio_pci 40960 0
vfio_virqfd 16384 1 vfio_pci
irqbypass 16384 2 kvm,vfio_pci
vfio_iommu_type1 20480 0
vfio 28672 2 vfio_iommu_type1,vfio_pci
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
btrfs 987136 0
raid10 49152 0
raid456 110592 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
xor 24576 2 btrfs,async_xor
raid6_pq 102400 4 async_pq,raid456,btrfs,async_raid6_recov
libcrc32c 16384 1 raid456
raid1 36864 0
raid0 20480 0
multipath 16384 0
linear 16384 0
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
pci_stub 16384 0
hid_logitech_hidpp 20480 0
hid_logitech_dj 20480 0
usbhid 49152 0
rtsx_pci_sdmmc 24576 0
i915_bpo 1302528 5
intel_ips 20480 1 i915_bpo
i2c_algo_bit 16384 1 i915_bpo
drm_kms_helper 155648 1 i915_bpo
psmouse 131072 0
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ahci 36864 2
fb_sys_fops 16384 1 drm_kms_helper
rtsx_pci 53248 2 rtsx_pci_ms,rtsx_pci_sdmmc
libahci 32768 1 ahci
drm 364544 6 i915_bpo,drm_kms_helper
i2c_hid 20480 0
hid 118784 6 i2c_hid,hid_multitouch,usbhid,hid_logitech_dj,hid_logitech_hidpp
pinctrl_sunrisepoint 28672 0
video 40960 2 i915_bpo,dell_wmi
pinctrl_intel 20480 1 pinctrl_sunrisepoint