Devices attached to sys-net:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
0f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
~> ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether MOBO brd ff:ff:ff:ff:ff:ff
3: ens8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether ExtNIC brd ff:ff:ff:ff:ff:ff
4: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether ExtNIC brd ff:ff:ff:ff:ff:ff
5: ens7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether MOBO brd ff:ff:ff:ff:ff:ff
6: vif7.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 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: ens6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOW
N group default qlen 1000 link/ether MOBO brd ff:ff:ff:ff:ff:ff
3: ens8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOW
N group default qlen 1000 link/ether ExtNIC brd ff:ff:ff:ff:ff:ff
4: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP gr
oup default qlen 1000 link/ether ExtNIC brd ff:ff:ff:ff:ff:ff
5: ens7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOW
N group default qlen 1000 link/ether MOBO brd ff:ff:ff:ff:ff:ff
6: vif7.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group de
fault qlen 32 link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet 10.138.22.166/32 scope global vif7.0
valid_lft forever preferred_lft forever
inet6 fe80::fcff:ffff:feff:ffff/64 scope link valid_lft forever preferred_lft forever
#plugged in connection below
~> sudo ethtool ens9
Settings for ens9:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: d
Link detected: yes
~> sudo ethtool ens8
Settings for ens8:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: d
Link detected: no
~> sudo dmesg | grep -A3 r8169
[ 2.236697] libphy: r8169: probed
[ 2.236859] r8169 0000:00:06.0 eth0: RTL8168g/8111g, MOBO, XID 4
c0, IRQ 88 [ 2.236879] r8169 0000:00:06.0 eth0: jumbo features [frames: 9194 bytes, tx c
hecksumming: ko] [ 2.237264] xen: --> pirq=17 -> irq=17 (gsi=17)
[ 2.307543] Error: Driver 'pcspkr' is already registered, aborting...
[ 2.327953] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
--
[ 2.376813] libphy: r8169: probed
[ 2.376961] r8169 0000:00:08.0 eth1: RTL8168g/8111g, ExtNIC, XID 4
c0, IRQ 89 [ 2.376982] r8169 0000:00:08.0 eth1: jumbo features [frames: 9194 bytes, tx c
hecksumming: ko] [ 2.377728] xen: --> pirq=18 -> irq=21 (gsi=21)
[ 2.388951] ehci-pci 0000:00:05.0: USB 2.0 started, EHCI 1.00
[ 2.389422] libphy: r8169: probed
[ 2.389582] r8169 0000:00:09.0 eth2: RTL8168g/8111g, ExtNIC, XID 4
c0, IRQ 90 [ 2.389602] r8169 0000:00:09.0 eth2: jumbo features [frames: 9194 bytes, tx c
hecksumming: ko] [ 2.402959] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc
dDevice= 5.12 [ 2.402962] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1 [ 2.402963] usb usb1: Product: EHCI Host Controller
--
[ 2.618025] r8169 0000:00:08.0 ens8: renamed from eth1
[ 2.625263] r8169 0000:00:09.0 ens9: renamed from eth2
[ 2.633267] r8169 0000:00:06.0 ens6: renamed from eth0
[ 2.638413] e1000e 0000:00:07.0 ens7: renamed from eth3
[ 2.714704] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 2.824485] r8169 0000:00:08.0: Direct firmware load for rtl_nic/rtl8168g-2.f
w failed with error -2 [ 2.824512] r8169 0000:00:08.0: Unable to load firmware rtl_nic/rtl8168g-2.fw
(-2) [ 2.846097] Generic FE-GE Realtek PHY r8169-40:00: attached PHY driver (mii_b
us:phy_addr=r8169-40:00, irq=MAC) [ 2.866643] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcd
Device= 0.00 [ 2.866667] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=1
0 [ 2.866686] usb 1-1: Product: QEMU USB Tablet
--
[ 2.929154] r8169 0000:00:08.0 ens8: No native access to PCI extended config
space, falling back to CSI [ 2.952476] r8169 0000:00:08.0 ens8: Link is Down
[ 3.144792] r8169 0000:00:06.0: Direct firmware load for rtl_nic/rtl8168g-2.f
w failed with error -2 [ 3.144817] r8169 0000:00:06.0: Unable to load firmware rtl_nic/rtl8168g-2.fw
(-2) [ 3.170311] Generic FE-GE Realtek PHY r8169-30:00: attached PHY driver (mii_bus:phy_addr=r8169-30:00, irq=MAC)
[ 3.278116] r8169 0000:00:09.0: Direct firmware load for rtl_nic/rtl8168g-2.f
w failed with error -2 [ 3.278140] r8169 0000:00:09.0: Unable to load firmware rtl_nic/rtl8168g-2.fw
(-2) [ 3.278243] r8169 0000:00:06.0 ens6: Link is Down
[ 3.300105] Generic FE-GE Realtek PHY r8169-48:00: attached PHY driver (mii_b
us:phy_addr=r8169-48:00, irq=MAC) [ 3.408244] r8169 0000:00:09.0 ens9: Link is Down
[ 6.251657] r8169 0000:00:06.0 ens6: Link is Up - 1Gbps/Full - flow control r
x/tx [ 6.251684] IPv6: ADDRCONF(NETDEV_CHANGE): ens6: link becomes ready
[ 10.091960] vif vif-7-0 vif7.0: Guest Rx ready
[ 10.091985] IPv6: ADDRCONF(NETDEV_CHANGE): vif7.0: link becomes ready
[70937.614564] r8169 0000:00:06.0 ens6: Link is Down
[157233.059724] r8169 0000:00:09.0 ens9: Link is Up - 1Gbps/Full - flow control
rx/tx [157233.059759] IPv6: ADDRCONF(NETDEV_CHANGE): ens9: link becomes ready
[157238.149126] ------------[ cut here ]------------
[157238.149166] NETDEV WATCHDOG: ens9 (r8169): transmit queue 0 timed out
[157238.149209] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:467 dev_watchd
og+0x24d/0x260 [157238.149248] Modules linked in: nf_conntrack_netlink xt_nat xen_netback joydev rfkill xt_REDIRECT ipt_REJECT nf_reject_ipv4 intel_rapl_msr intel_rapl_common
xt_state crct10dif_pclmul crc32_pclmul crc32c_intel xt_conntrack nft_counter ghash_clmulni_intel drm_vram_helper nft_chain_nat drm_ttm_helper ttm xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables drm_kms_helper nfnetlink ehci_pci cec ehci_hcd snd_pcm snd_timer drm snd soundcore e1000e pcspkr r8169 serio_raw ata_generic i2c_piix4 pata_acpi floppy uinput xen_privcmd xen_gntdev xen_gntalloc xen_blkback xen_evtchn bpf_preload ip_tables overlay xen_blkfront [157238.150350] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.12.14-1.fc32.qubes.x
86_64 #1 [157238.150384] Hardware name: Xen HVM domU, BIOS 4.14.2 07/09/2021
[157238.150415] RIP: 0010:dev_watchdog+0x24d/0x260
--
[158203.283291] r8169 0000:00:09.0 ens9: rtl_rxtx_empty_cond == 0 (loop: 42, del
ay: 100).
~> sudo dhclient -v -d -w ens9
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens9/ExtNIC
Sending on LPF/ens9/ExtNIC
Sending on Socket/fallback
DHCPDISCOVER on ens9 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ens9 to 255.255.255.255 port 67 interval 11
~> sudo tcpdump -i ens9 -n arp or icmp & sleep 1; ping -c 1 #RouterIP; sudo ki
llall tcpdump tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens9, link-type EN10MB (Ethernet), capture size 262144 bytes
connect: Network is unreachable
0 packets captured
0 packets received by filter
0 packets dropped by kernel
Job 1, 'sudo tcpdump -i ens9 -n arp or…' has ended
I see one line of interest:
Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
Searching for that error message leads me to the same place as last time, when I tried to download that firmware, which is non-free.
https://packages.debian.org/buster/firmware-realtek
It shouldn’t be necessary as it works out of the box on a Fedora Live USB. Fedora explicitly disallows installation of non-free software.
Besides, it didn’t help me with my connection, it just removed that error message.
Probably works on a Debian-based distro as well, I could try it.