pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 13 forks source link

Latest kernel update breaks wired network #320

Closed unforkable-onion closed 1 month ago

unforkable-onion commented 1 month ago

Hello, latest kernel update broke ethernet on my device.

$ apt policy linux-image-generic
linux-image-generic:
  Installed: 6.8.0.76060800daily20240311.202403110203~1715181801~22.04~aba43ee

Both ethernet ports are not receiving IPs, although state UP/DOWN is correctly detected. WiFi is working fine.

$ sudo lshw -class network
  *-network
       description: Wireless interface
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlp6s0
       version: 1a
       serial: 50:e0:85:86:d5:b7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.8.0-76060800daily20240311-gen firmware=77.ad46c98b.0 cc-a0-77.ucode ip=192.168.1.30 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:147 memory:fc800000-fc803fff
  *-network
       description: Ethernet interface
       product: I211 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: enp7s0
       version: 03
       serial: b4:2e:99:a2:6b:3d
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=igb driverversion=6.8.0-76060800daily20240311-gen firmware=0. 6-1 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:24 memory:fc700000-fc71ffff ioport:e000(size=32) memory:fc720000-fc723fff
  *-network
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: enp8s0
       version: 01
       serial: b4:2e:99:a2:6b:3e
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-76060800daily20240311-gen duplex=full firmware=rtl8125a-3_0.0.1 08/24/19 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:40 ioport:d000(size=256) memory:fc600000-fc60ffff memory:fc610000-fc613fff memory:fc620000-fc68ffff memory:fc690000-fc6abfff

I am usually on the igb port:

$ sudo dmesg | grep igb
[    8.415927] igb: Intel(R) Gigabit Ethernet Network Driver
[    8.415929] igb: Copyright (c) 2007-2014 Intel Corporation.
[    8.444788] igb 0000:07:00.0: added PHC on eth1
[    8.444811] igb 0000:07:00.0: Intel(R) Gigabit Ethernet Network Connection
[    8.444813] igb 0000:07:00.0: eth1: (PCIe:2.5Gb/s:Width x1) b4:2e:99:a2:6b:3d
[    8.444816] igb 0000:07:00.0: eth1: PBA No: FFFFFF-0FF
[    8.444817] igb 0000:07:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[    9.028324] igb 0000:07:00.0 enp7s0: renamed from eth1
[   20.548763] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[  169.997237] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Down
[  173.265558] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[  934.805481] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Down
[ 1747.045516] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

$ ip a s enp7s0
3: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether b4:2e:99:a2:6b:3d brd ff:ff:ff:ff:ff:ff
unforkable-onion commented 1 month ago

apparently a remarkable coincidence, rebooting the switch fixed the problem 🤷🏽