新的建立在千兆z490视觉G主板。网络连接灯亮起,电缆直接到交换机。我安装了另一个网卡,连接到同一个交换机,这是我用来连接的,因为它工作得很好(Intel igb驱动程序)。在重新启动后,车载网络端口偶尔会出现,但通常不会显示链接和速度/双工“未知!”
你觉得这是怎么回事?你还需要什么信息?
我不认为这是cat6电缆,我尝试了多个和多个交换机端口,以及电缆成功地使用在其他端口。这是一个2.5Gbps网卡连接到一个1 1Gbps交换机,我可以尝试拿起一个cat7,看看这是否有帮助。
请求的数据追加在末尾,没有/etc/network/interfaces目录,/etc/network下的所有内容看起来都是库存的。
Ubuntu20.04服务器安装。
$ ethtool enp5s0
Settings for enp5s0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric
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: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
$ lspci -knn
5:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000]
Kernel driver in use: igc
Kernel modules: igc
$ dmesg | grep igc
[ 3.181094] igc 0000:05:00.0: 4.000 Gb/s available PCIe bandwidth (5 GT/s x1 link)
[ 3.181096] igc 0000:05:00.0 eth0: MAC: 18:c0:4d:00:00:00
[ 3.181657] igc 0000:05:00.0 enp5s0: renamed from eth0
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 02
serial: 18:c0:4d:00:00:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list rom ethernet physical 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=0.0.1-k latency=0 link=no multicast=yes port=twisted pair slave=yes
resources: irq:17 memory:51a00000-51afffff memory:51b00000-51b03fff memory:51900000-519fffff
要求提供的数据:
$ cat /etc/netplan/*.yaml
network:
ethernets:
enp6s0f0:
dhcp4: no
enp6s0f1:
dhcp4: no
enp5s0:
dhcp4: no
optional: true
bonds:
bond0:
interfaces: [enp6s0f0, enp6s0f1, enp5s0]
addresses: [192.168.37.10/24]
gateway4: 192.168.37.1
nameservers:
addresses: [192.168.37.1]
search: [home.lan]
parameters:
mode: balance-alb
version: 2
$ sudo lshw -C network
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 02
serial: 18:c0:4d:00:00:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=0.0.1-k latency=0 link=no multicast=yes port=twisted pair slave=yes
resources: irq:17 memory:51a00000-51afffff memory:51b00000-51b03fff memory:51900000-519fffff
*-network:0
description: Ethernet interface
product: 82576 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: enp6s0f0
version: 01
serial: 00:1b:21:00:00:00
size: 1Gbit/s
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=5.6.0-k duplex=full firmware=1.5.1 latency=0 link=yes multicast=yes port=twisted pair slave=yes speed=1Gbit/s
resources: irq:16 memory:51820000-5183ffff memory:51400000-517fffff ioport:3020(size=32) memory:51844000-51847fff memory:51848000-51867fff memory:51868000-51887fff
*-network:1
description: Ethernet interface
product: 82576 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0.1
bus info: pci@0000:06:00.1
logical name: enp6s0f1
version: 01
serial: f6:3b:fc:00:00:00
size: 1Gbit/s
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=5.6.0-k duplex=full firmware=1.5.1 latency=0 link=yes multicast=yes port=twisted pair slave=yes speed=1Gbit/s
resources: irq:17 memory:51800000-5181ffff memory:51000000-513fffff ioport:3000(size=32) memory:51840000-51843fff memory:51888000-518a7fff memory:518a8000-518c7fff
发布于 2020-06-18 19:37:08
我会回答我自己的问题,这是一个英特尔固件问题。希望这能帮到别人。
千兆字节有一个NIC固件张贴在他们的网站上,这是windows专用的,https://download.gigabyte.com/FileList/Driver/mb_司机_intel-i225-firmware-tool.zip。据我所知,英特尔在他们的网站上有Linux实用程序,但没有附带这个固件。可在https://downloadcenter.intel.com/download/22283/Intel-Ethernet-Adapter-Complete-Driver-Pack上获得
因此,下载这两个文件,将FXVL_15F3_V_2MB_1.45.bin从windows更新程序复制到linux位置,在我的示例中:
cp ~/Nvmupdate145/i225/FXVL_15F3_V_2MB_1.45.bin ~/NVMUpdatePackage/700_Series/700Series/Linux_x64
将其添加到nvmupdate.cfg中:
BEGIN DEVICE
DEVICENAME: NNT
VENDOR: 8086
DEVICE: 15F3
SUBVENDOR: 1458
SUBDEVICE: E000
NVM IMAGE: FXVL_15F3_V_2MB_1.45.bin
IMAGE DOWNGRADE: TRUE
END DEVICE
并运行实用程序。你应该看到:
$ sudo ./nvmupdate64e
Intel(R) Ethernet NVM Update Tool
NVMUpdate version 1.35.23.3
Copyright (C) 2013 - 2020 Intel Corporation.
WARNING: To avoid damage to your device, do not stop the update or reboot or power off the system during this update.
Inventory in progress. Please wait [*****.....]
Num Description Ver.(hex) DevId S:B Status
=== ================================== ============ ===== ====== ==============
01) Intel(R) Gigabit ET Dual Port 1.5(1.5) 10C9 00:002 Update not
Server Adapter available
02) Intel(R) Ethernet Controller (2) 1.69(1.45) 15F3 00:006 Update
I225-V available
Options: Adapter Index List (comma-separated), [A]ll, e[X]it
Enter selection: a
Would you like to back up the NVM images? [Y]es/[N]o: n
Update in progress. This operation may take several minutes.
[********+.]
Num Description Ver.(hex) DevId S:B Status
=== ================================== ============ ===== ====== ==============
01) Intel(R) Gigabit ET Dual Port 1.5(1.5) 10C9 00:002 Update not
Server Adapter available
02) Intel(R) Ethernet Controller (2) 1.69(1.45) 15F3 00:006 Update
I225-V successful
Tool execution completed with the following status: All operations completed successfully.
Press any key to exit.
而且,甚至不需要重启:
$ ethtool enp6s0
Settings for enp6s0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
发布于 2020-09-07 08:00:51
基于上述答案的灵感,我的Ubuntu20.04.1系统运行在华硕WS X299 SAGE II主板上,带有Intel I 225-LM芯片组,我使用内核PPA构建了5.8.7主线通用内核(撰写本文时最新的5.8行)。(受文章这里启发的步骤)。
linux-headers-*all.deb
linux-headers-*generic*.deb
linux-image-unsigned-*generic*.deb
linux-modules-*generic*.deb
sudo dpkg -i deb linux*.deb
sudo reboot
)uname -sr
来验证您在内核5.8.7上这样做就解决了我在内置NIC上遇到的问题,整个系统都是稳定的,在高内存和CPU压力下连续几天都没有问题。
最初我尝试了固件更新路线,但由于我有一个I 225-LM而不是I 225-V,所以受到了阻碍。后者似乎更新了固件,可以导入Linux环境,而我却找不到类似的结果。
发布于 2020-08-19 15:44:24
约翰,谢谢你在你自己弄清楚后发的帖子。我刚刚用一个千兆字节的Z490i完成了一个新的构建,当车载局域网工作时,我完全被搞砸了,然后没有,然后又失败了。
在我写这篇文章的时候,我准备尝试一下您的方法,但是首先,我要验证事情看起来很相似:
% ethtool enp4s0
Settings for enp4s0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
% lspci -knn | grep -i -C3 ethernet
04:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 01)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000]
Kernel driver in use: igc
Kernel modules: igc
[ 3.572001] igc 0000:04:00.0: 4.000 Gb/s available PCIe bandwidth (5 GT/s x1 link)
[ 3.572005] igc 0000:04:00.0 eth0: MAC: [redacted]
[ 3.581425] igc 0000:04:00.0 enp4s0: renamed from eth0
[ 14.359088] igc 0000:04:00.0 enp4s0: igc: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
第一个障碍是,https://download.gigabyte.com/FileList/Driver/mb_司机_intel-i225-firmware-tool.zip是一种奇怪的压缩格式,除了一台Windows之外,任何东西我都无法提取。因此,我这样做了,复制了FXVL_15F3_V_2MB_1.45.bin
文件到服务器,并继续您的指示。
% sudo ./nvmupdate64e
Intel(R) Ethernet NVM Update Tool
NVMUpdate version 1.35.33.4
Copyright (C) 2013 - 2020 Intel Corporation.
WARNING: To avoid damage to your device, do not stop the update or reboot or power off the system during this update.
Inventory in progress. Please wait [**|.......]
Num Description Ver.(hex) DevId S:B Status
=== ================================== ============ ===== ====== ==============
01) Intel(R) Ethernet Controller 1.56(1.38) 15F3 00:004 Update
I225-V available
Options: Adapter Index List (comma-separated), [A]ll, e[X]it
Enter selection: 1
Would you like to back up the NVM images? [Y]es/[N]o: y
以及之后:
Num Description Ver.(hex) DevId S:B Status
=== ================================== ============ ===== ====== ==============
01) Intel(R) Ethernet Controller 1.69(1.45) 15F3 00:004 Update not
I225-V available
不幸的是,这似乎并没有帮助我的问题。
重新启动后,连接仍然死气沉沉,好像连一根电缆都没有插上。目前,我发现让它工作的唯一方法是引导到Ubuntu实时安装程序,达到可以配置网络的程度,通过DHCP获得IP,然后重新引导到磁盘上安装,直到下一次重新启动为止。很明显这并不理想。
https://askubuntu.com/questions/1244745
复制相似问题