我正在使用 Ubuntu 16.04,硬件如下:
# E2400 Killer Ethernet
lspci -nn | grep 0200
04:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller [1969:e0a1] (rev 10)
还有这个版本的ubuntu:
Linux lilezek-desktop 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
alx 的 modinfo:
# modinfo alx
filename: /lib/modules/4.4.0-47-generic/kernel/drivers/net/ethernet/atheros/alx/alx.ko
license: GPL
description: Qualcomm Atheros(R) AR816x/AR817x PCI-E Ethernet Network Driver
author: Qualcomm Corporation, <[email protected]>
author: Johannes Berg <[email protected]>
srcversion: 80B89D6BA6F4A4F4A917E3C
alias: pci:v00001969d000010A0sv*sd*bc*sc*i*
alias: pci:v00001969d000010A1sv*sd*bc*sc*i*
alias: pci:v00001969d00001090sv*sd*bc*sc*i*
alias: pci:v00001969d0000E0A1sv*sd*bc*sc*i*
alias: pci:v00001969d0000E091sv*sd*bc*sc*i*
alias: pci:v00001969d00001091sv*sd*bc*sc*i*
depends: mdio
intree: Y
vermagic: 4.4.0-47-generic SMP mod_unload modversions
有关 ALX 和 ifconfig 的更多信息:
# ifconfig
enp5s0 Link encap:Ethernet direcciónHW ::ec
ACTIVO DIFUSIÓN MULTICAST MTU:1500 Métrica:1
Paquetes RX:0 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:0 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupción:16
# lsmod | grep alx
alx 36864 0
mdio 16384 1 alx
# dmesg | grep alx
[ 21.416362] alx 0000:05:00.0 eth1: Qualcomm Atheros AR816x/AR817x Ethernet [1c:1b:0d:68:96:ec]
[ 21.440970] alx 0000:05:00.0 enp5s0: renamed from eth1
# dmesg | grep enp
[ 113.422322] alx 0000:05:00.0 enp5s0: NIC Up: 100 Mbps Full
[ 113.554797] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 113.556538] alx 0000:05:00.0 enp5s0: NIC Up: 100 Mbps Full
[ 113.689014] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 113.690728] alx 0000:05:00.0 enp5s0: NIC Up: 100 Mbps Full
# unplug cable
[ 113.796813] alx 0000:05:00.0 enp5s0: Link Down
[ 113.823228] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 113.957444] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 114.091661] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 114.201293] IPv6: ADDRCONF(NETDEV_UP): enp5s0: link is not ready
[ 114.225878] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 114.360092] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
[ 114.494306] alx 0000:05:00.0 enp5s0: fatal interrupt 0x200, resetting
已更新。一切正常,但我将带有千兆以太网控制器的主板换成了带有 E2400 Killer 以太网控制器的新主板。
难道更换硬件导致Ubuntu无法正常工作?
问候,lilEzek。
答案1
请参阅此帖子:https://forums.linuxmint.com/viewtopic.php?t=215169海报上有同样的症状;以太网不工作,并显示错误消息:
fatal interrupt 0x200, resetting
他通过在 BIOS 中禁用 IOMMU 解决了这个问题。请尝试一下。如果无效,我们将尝试 GRUB 参数选项。
请打开终端并执行:
gksudo gedit /etc/default/grub
如果您没有文本编辑器 gedit,请使用 nano 或 Kate 或 Leafpad。更改以下行:
GRUB_LINUX_CMD_LINE=""
读书:
GRUB_LINUX_CMD_LINE="iommu=soft"
仔细校对,保存并关闭文本编辑器。让系统重新读取文件并使用更改:
sudo update-grub
一切已准备就绪。