在 Gigabyte B550 主板上未检测到以太网/LAN,在单独的 SSD 上双启动 windows/ubuntu20.04

在 Gigabyte B550 主板上未检测到以太网/LAN,在单独的 SSD 上双启动 windows/ubuntu20.04

问题

最初我的主板在 Windows 上工作正常。添加单独的 Ubuntu SSD 后,我的以太网 LAN 端口不再被 Windows 和 Ubuntu 识别。我不思考它是 askubuntu 上看到的许多驱动程序问题的重复,正如我所探索的那样,但我无法确认这是否是主板本身的问题或其他我不理解的问题。

如果您需要更多信息,无论是来自 Windows 还是 Ubuntu,我们都会分享所需的一切。

电脑规格:

  • 操作系统 - Ubuntu 20.04.2 LTS x86_64 + Windows 10
  • 内核 - 5.8.0-50-generic
  • 中央处理器 - Ryzen 7 5800x
  • 主板 - 技嘉 Aorus B550 Elite AX V2 -链接在这里
  • 磁盘 - 1 三星 980 PRO 1 TB PCIe 4.0(Windows 10)、1 三星 970 EVO Plus 1 TB PCIe 3.0(Ubuntu 20.04)
  • GPU-Nvidia RTX 3080 FE
  • 内存 - 32GB (2x16GB) Corsair DDR4 Vengeance LPX

采取的步骤:

  1. 其他类似帖子表示这可能是驱动程序问题。以下类似帖子这个我在 Ubuntu 和 Windows 上手动安装了 Realtek 驱动程序。但这并没有解决问题。
  2. sudo lshw -C network没有显示以太网可用。我认为我应该在这里看到类似以下内容的内容:*-network UNCLAIMED description: Ethernet controller product: RTL8125 2.5GbE Controller但是它没有显示:
    ~ ❯ sudo lshw -C 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: c8:b2:9b:a1:1a:3a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.8.0-50-generic firmware=55.d9698065.0 cc-a0-55.ucode ip=192.168.0.22 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:38 memory:fc500000-fc503fff
    
  3. 在 Mac 上测试了我的路由器的以太网电缆,工作正常,所以这不是电缆问题。
  4. 在 Windows 和 BIOS 中禁用所有类型的 FastBoot、Wake-From-LAN 等,没有变化
  5. cat /etc/netplan/01-network-manager-all.yaml
    # Let NetworkManager manage all devices on this system
    network:
      version: 2
      renderer: NetworkManager
    
  6. sudo ip a
    ~ ❯ sudo 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: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c8:b2:9b:a1:1a:3a brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.22/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp6s0
       valid_lft 84463sec preferred_lft 84463sec
    inet6 fe80::63a6:76c2:cb97:be14/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
    
  7. cat /etc/NetworkManager/NetworkManager.conf
    ~ ❯ cat /etc/NetworkManager/NetworkManager.conf 
    [main]
    plugins=ifupdown,keyfile
    
    [ifupdown]
    managed=true
    
    [device]
    wifi.scan-rand-mac-address=no
    
  8. lspci -knn
    ~ ❯ lspci -knn
    00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
            Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
    00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
            Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
    00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
            Kernel driver in use: pcieport
    00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
            Kernel driver in use: pcieport
    00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
            Kernel driver in use: pcieport
    00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
            Kernel driver in use: pcieport
    00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
    00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
            Kernel driver in use: pcieport
    00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
            Subsystem: Gigabyte Technology Co., Ltd FCH SMBus Controller [1458:5001]
            Kernel modules: i2c_piix4, sp5100_tco
    00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
            Subsystem: Gigabyte Technology Co., Ltd FCH LPC Bridge [1458:5001]
    00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0 [1022:1440]
    00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1 [1022:1441]
    00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2 [1022:1442]
    00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3 [1022:1443]
            Kernel driver in use: k10temp
            Kernel modules: k10temp
    00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4 [1022:1444]
    00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5 [1022:1445]
    00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6 [1022:1446]
    00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7 [1022:1447]
    01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a80a]
            Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
            Kernel driver in use: nvme
            Kernel modules: nvme
    02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ee]
            Subsystem: ASMedia Technology Inc. Device [1b21:1142]
            Kernel driver in use: xhci_hcd
            Kernel modules: xhci_pci
    02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43eb]
            Subsystem: ASMedia Technology Inc. Device [1b21:1062]
            Kernel driver in use: ahci
            Kernel modules: ahci
    02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43e9]
            Kernel driver in use: pcieport
    03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
            Kernel driver in use: pcieport
    03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
            Kernel driver in use: pcieport
    03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
            Kernel driver in use: pcieport
    04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
            Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a801]
            Kernel driver in use: nvme
            Kernel modules: nvme
    06:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
            Subsystem: Intel Corporation Wi-Fi 6 AX200 [8086:0084]
            Kernel driver in use: iwlwifi
            Kernel modules: iwlwifi
    07:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2206] (rev a1)
            Subsystem: NVIDIA Corporation Device [10de:1467]
            Kernel driver in use: nvidia
            Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
    07:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:1aef] (rev a1)
            Subsystem: NVIDIA Corporation Device [10de:1467]
            Kernel driver in use: snd_hda_intel
            Kernel modules: snd_hda_intel
    08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
            Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
    09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
            Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
    09:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
            Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
            Kernel driver in use: ccp
            Kernel modules: ccp
    09:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
            Subsystem: Gigabyte Technology Co., Ltd Matisse USB 3.0 Host Controller [1458:5007]
            Kernel driver in use: xhci_hcd
            Kernel modules: xhci_pci
    09:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
            DeviceName: Realtek ALC1220
            Subsystem: Gigabyte Technology Co., Ltd Starship/Matisse HD Audio Controller [1458:a0cf]
            Kernel driver in use: snd_hda_intel
            Kernel modules: snd_hda_intel
    ~ ❯ lspci -knn | grep eth
    ~ ❯ 
    
  9. 联系了技嘉技术支持。他们建议将 BIOS 从 F12 升级到 F13h。但这并没有解决问题。

结论

我完全不熟悉 Windows(只用于 Steam 游戏),但在谷歌搜索后,我认为那里也存在同样的问题,以太网网络适配器不存在或无法检测到。我想强调的是,曾是过去可用,但现在不可用。Ubuntu 也是如此,因此对于这两个操作系统,安装驱动程序并不能解决问题,因为首先它没有被检测到存在。

我希望有人能提供解决方案,或者确认这是硬件故障,这样我就可以退回我的 MOBO 或购买一些额外的 PCIEX 网络适配器

答案1

如果您能以某种方式尝试找到您拥有的网络适配器设备 - 名称、ID。如果它显示在 Windows 中并且一直工作,那么它肯定存在于 Linux 中 - 如果它没有受到心理损坏或老化或丢失。之后尝试找到一个好的驱动程序,具体取决于您的内核/Linux。就我而言,我通过手机上的 USB 共享互联网,并通过 pamac/pacman 下载了我正在使用的内核和设备可用的驱动程序之一。但当然,我不得不花一些晚上的时间来探索我对 Linux 的不熟悉,弄乱网络管理器配置使其无法使用,安装和卸载驱动程序或尝试在没有互联网的情况下编译驱动程序并通过 USB 棒传输文件,因为互联网在那里工作。是的,我喜欢驱动程序和 Linux。无论如何,Linux 很酷。仍然会留下来。

相关内容