我在HP ML310e Gen 8 v2服务器(还有板载双端口Broadcom BCM5720)中有一个英特尔四端口千兆以太网控制器。
当我从Ubuntu桌面实时USB(16.04)引导时,所有六个端口均按预期工作:连接电缆后,它们立即获得链接,端口上的LED立即点亮,而我的交换机上的相应LED点亮。
我安装了Ubuntu Server(16.04),并且所有英特尔端口都没有链接。LED永不点亮,并且ethtool报告每个端口的“检测到链接:否”。使用久经考验的电缆。Broadcom端口工作正常。我可以使用ethtool -p使Intel卡上每个端口的LED闪烁。
我在这里发现了一个表面上类似问题的报告:https : //bbs.archlinux.org/viewtopic.php? id =159454但是,该问题的解决方法是:
echo on > /sys/bus/pci/devices/0000\:09\:00.0/power/control
(针对每个正确的PCI ID)-在我的情况下,该密钥已经设置为“ on”。
由于在启动Live USB桌面时该卡可以完美工作,因此我认为该卡和电缆都可以,但无法从已安装的Ubuntu Server上使它正常工作。这是我现在尝试的第三个从头开始安装。在以前的尝试中,我还尝试从Intel的站点下载并构建e1000e驱动程序,但这没有任何区别。
非常感谢社区提供的任何建议-谢谢。
lshw
报告:
driver=e1000e
driverversion=3.2.6-k
firmware=5.12-2
从全相关的输出lscpi
,lshw
以及uname
:
~$ lspci -nnk | grep -i eth
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
Subsystem: Hewlett-Packard Company NetXtreme BCM5720 Gigabit Ethernet PCIe [103c:2133]
03:00.1 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
Subsystem: Hewlett-Packard Company NetXtreme BCM5720 Gigabit Ethernet PCIe [103c:2133]
09:00.0 Ethernet controller [0200]: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) [8086:10bc] (rev 06)
09:00.1 Ethernet controller [0200]: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) [8086:10bc] (rev 06)
0a:00.0 Ethernet controller [0200]: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) [8086:10bc] (rev 06)
0a:00.1 Ethernet controller [0200]: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) [8086:10bc] (rev 06)
~$ lshw -C net
*-network:0 DISABLED
description: Ethernet interface
product: 82571EB Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:09:00.0
logical name: enp9s0f0
version: 06
serial: 00:24:81<redacted because paranoia>
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=5.12-2 latency=0 link=no multicast=yes port=twisted pair
resources: irq:30 memory:fbce0000-fbcfffff memory:fbc00000-fbc7ffff ioport:4000(size=32)
*-network:1 DISABLED
description: Ethernet interface
product: 82571EB Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0.1
bus info: pci@0000:09:00.1
logical name: enp9s0f1
version: 06
serial: 00:24:81:<redacted>
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=5.12-2 latency=0 link=no multicast=yes port=twisted pair
resources: irq:32 memory:fbbe0000-fbbfffff memory:fbb00000-fbb7ffff ioport:4020(size=32)
*-network:0 DISABLED
description: Ethernet interface
product: 82571EB Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:0a:00.0
logical name: enp10s0f0
version: 06
serial: 00:24:81:<redacted>
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=5.12-2 latency=0 link=no multicast=yes port=twisted pair
resources: irq:33 memory:fbee0000-fbefffff memory:fbe00000-fbe7ffff ioport:5000(size=32)
*-network:1 DISABLED
description: Ethernet interface
product: 82571EB Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0.1
bus info: pci@0000:0a:00.1
logical name: enp10s0f1
version: 06
serial: 00:24:81:<redacted>
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=5.12-2 latency=0 link=no multicast=yes port=twisted pair
resources: irq:34 memory:fbde0000-fbdfffff memory:fbd00000-fbd7ffff ioport:5020(size=32)
*-network:0
description: Ethernet interface
product: NetXtreme BCM5720 Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eno1
version: 00
serial: 10:60:4b:ee:39:30
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5720-v1.30 NCSI v1.1.15.0 ip=10.0.1.141 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:17 memory:fabf0000-fabfffff memory:fabe0000-fabeffff memory:fabd0000-fabdffff memory:f8000000-f801ffff
*-network:1 DISABLED
description: Ethernet interface
product: NetXtreme BCM5720 Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0.1
bus info: pci@0000:03:00.1
logical name: eno2
version: 00
serial: 10:60:4b:ee:39:31
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=5720-v1.30 NCSI v1.1.15.0 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 memory:fabc0000-fabcffff memory:fabb0000-fabbffff memory:faba0000-fabaffff memory:f8020000-f803ffff
$ uname -a
Linux victorious 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
要求的其他产出:
$ dmesg | grep 09:00
[ 0.132795] pci 0000:09:00.0: [8086:10bc] type 00 class 0x020000
[ 0.132824] pci 0000:09:00.0: reg 0x10: [mem 0xfbce0000-0xfbcfffff]
[ 0.132834] pci 0000:09:00.0: reg 0x14: [mem 0xfbc00000-0xfbc7ffff]
[ 0.132843] pci 0000:09:00.0: reg 0x18: [io 0x4000-0x401f]
[ 0.132915] pci 0000:09:00.0: PME# supported from D0 D3hot D3cold
[ 0.132964] pci 0000:09:00.1: [8086:10bc] type 00 class 0x020000
[ 0.132993] pci 0000:09:00.1: reg 0x10: [mem 0xfbbe0000-0xfbbfffff]
[ 0.133002] pci 0000:09:00.1: reg 0x14: [mem 0xfbb00000-0xfbb7ffff]
[ 0.133012] pci 0000:09:00.1: reg 0x18: [io 0x4020-0x403f]
[ 0.133083] pci 0000:09:00.1: PME# supported from D0 D3hot D3cold
[ 5.898627] e1000e 0000:09:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 6.070261] e1000e 0000:09:00.0 eth0: (PCI Express:2.5GT/s:Width x4) 00:24:81:<redacted because paranoia>
[ 6.070262] e1000e 0000:09:00.0 eth0: Intel(R) PRO/1000 Network Connection
[ 6.070341] e1000e 0000:09:00.0 eth0: MAC: 0, PHY: 4, PBA No: D98771-007
[ 6.070434] e1000e 0000:09:00.1: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 6.242251] e1000e 0000:09:00.1 eth1: (PCI Express:2.5GT/s:Width x4) 00:24:81:<redacted>
[ 6.242252] e1000e 0000:09:00.1 eth1: Intel(R) PRO/1000 Network Connection
[ 6.242331] e1000e 0000:09:00.1 eth1: MAC: 0, PHY: 4, PBA No: D98771-007
[ 7.625342] e1000e 0000:09:00.0 enp9s0f0: renamed from eth0
[ 11.802316] e1000e 0000:09:00.1 enp9s0f1: renamed from eth1
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eno1
iface eno1 inet static
address <redacted IP in 10. range>
netmask 255.255.255.0
gateway <redacted>
$ ls -l /etc/network/interfaces.d
total 0
显示为DISABLED的接口恰好是未在/ etc / network / interfaces中声明的接口。请将文件修改为:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eno1
iface eno1 inet static
address <redacted IP in 10. range>
netmask 255.255.255.0
gateway <redacted>
dns-nameservers 10.whatever.the.gateway 8.8.8.8
#auto enp9s0f0
iface enp9s0f0 inet dhcp
#auto enp9s0f1
iface enp9s0f1 inet dhcp
#auto enp10s0f0
iface enp10s0f0 inet dhcp
#auto enp10s0f1
iface enp10s0f1 inet dhcp
顺便说一句,如果声明的接口eno1有望到达Internet,则需要DNS名称服务器。我可以自由地在我上面的建议编辑中提出建议。
重新启动并检查:
sudo lshw -C network
英特尔端口不再被禁用吗?如果是这样,可以将电缆转移到其中之一,重新排列/ etc / network / interfaces并继续。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句