Centos

系統未檢測到新的 Intel i350 NIC,但出現在 lspci - 可能的 Intel IGB 問題?

  • June 14, 2021

我遇到了作業系統沒有自動檢測到新網卡的問題。我最近購買了一塊 Intel I350 千兆網卡。*我以前購買過這張卡,並且我在其他具有相同作業系統的系統中使用它,沒有任何問題。*這是卡https://ark.intel.com/products/84805/Intel-Ethernet-Server-Adapter-I350-T4V2

奇怪的是,Windows 檢測到了這張卡,而不是 Oracle Linux、CentOS Live 或 Ubuntu Live。

“nmcli d”輸出

DEVICE  TYPE      STATE         CONNECTION
eno2    ethernet  connected     eno2
eno1    ethernet  disconnected  --
lo      loopback  unmanaged     --

這些是板載適配器。未檢測到 4 個 Intel 的。

“lspci | grep 網路”輸出

b3:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
b3:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
b3:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
b3:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

作業系統似乎至少知道 PCI 卡的存在。

這是“lshw -class network”的輸出

*-network:0
      description: Ethernet interface
      product: Ethernet Connection X722 for 10GBASE-T
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:19:00.0
      logical name: eno1
      version: 09
      serial: ac:1f:6b:4c:ff:04
      capacity: 10Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress vpd bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd autonegotiation
      configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=1.5.16-k firmware=3.1d 0x80000827 1.1638.0 latency=0 link=no multicast=yes
      resources: irq:54 memory:c4000000-c4ffffff memory:c5008000-c500ffff memory:c5d80000-c5dfffff memory:c5010000-c508ffff
 *-network:1
      description: Ethernet interface
      product: Ethernet Connection X722 for 10GBASE-T
      vendor: Intel Corporation
      physical id: 0.1
      bus info: pci@0000:19:00.1
      logical name: eno2
      version: 09
      serial: ac:1f:6b:4c:ff:05
      size: 1Gbit/s
      capacity: 10Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress vpd bus_master cap_list rom ethernet physical tp 1000bt-fd 10000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=i40e driverversion=1.5.16-k duplex=full firmware=3.1d 0x80000827 1.1638.0 ip=192.168.127.36 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:54 memory:c3000000-c3ffffff memory:c5000000-c5007fff memory:c5d00000-c5d7ffff
 *-network:0 UNCLAIMED
      description: Ethernet controller
      product: I350 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:b3:00.0
      version: 01
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress cap_list
      configuration: latency=0
      resources: memory:fbd00000-fbdfffff memory:fbe8c000-fbe8ffff memory:fbe00000-fbe7ffff memory:fbe90000-fbeaffff memory:fbeb0000-fbecffff
 *-network:1 UNCLAIMED
      description: Ethernet controller
      product: I350 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0.1
      bus info: pci@0000:b3:00.1
      version: 01
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress cap_list
      configuration: latency=0
      resources: memory:fbc00000-fbcfffff memory:fbe88000-fbe8bfff memory:fbed0000-fbeeffff
 *-network:2 UNCLAIMED
      description: Ethernet controller
      product: I350 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0.2
      bus info: pci@0000:b3:00.2
      version: 01
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress cap_list
      configuration: latency=0
      resources: memory:fbb00000-fbbfffff memory:fbe84000-fbe87fff
 *-network:3 UNCLAIMED
      description: Ethernet controller
      product: I350 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0.3
      bus info: pci@0000:b3:00.3
      version: 01
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress cap_list
      configuration: latency=0
      resources: memory:fba00000-fbafffff memory:fbe80000-fbe83fff

我注意到這裡也檢測到了該卡,但它被列為“UNCLAIMED”。如何讓系統“認領”這張卡?

我曾嘗試使用英特爾網站上列出的驅動程序,但似乎沒有幫助。我也可能做錯了什麼。我對linux驅動程序沒有太多經驗。

任何幫助將不勝感激,

謝謝!

似乎手動更新網卡本身的韌體使該卡對作業系統可見。

這個問題是幾年前的問題,但我有修復的註釋……我做了以下事情:

在目錄 /etc/NetworkManager/conf.d/ 下創建一個名為“90-carrier.conf”的文件

# touch /etc/NetworkManager/conf.d/90-carrier.conf

Modify the file and add the following two lines to it and save your changes:

# vi  /etc/NetworkManager/conf.d/90-carrier.conf

[main]
ignore-carrier=no

Restart the NetworkManager service:

# systemctl restart NetworkManager

引用自:https://unix.stackexchange.com/questions/476395