解决Qualcomm Atheros AR8161 Gigabit Ethernet网卡Linux下坏掉的问题,atherosar8161


我的戴尔(Dell)I2330R-168一体电脑的网卡在升级某个内核版本后,网卡就用一会儿就坏了

ifconfig eth0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 8192
        inet 192.168.99.236  netmask 255.255.255.0  broadcast 192.168.99.255
        inet6 fe80::221:70ff:fe6a:bd9c  prefixlen 64  scopeid 0x20<link>
        ether 00:21:70:6a:bd:9c  txqueuelen 1000  (Ethernet)
        RX packets 36202  bytes 49450919 (47.1 MiB)
        RX errors 173  dropped 0  overruns 173  frame 0
        TX packets 20661  bytes 1889686 (1.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17 

 

现在新安装了arch linux,内核也升级到了最新

uname -a
4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC

然而这个问题还是存在

 

突然想到这个问题应该去内核站点去找答案,于是搜索网卡驱动名alx

https://bugzilla.kernel.org/buglist.cgi?quicksearch=alx

果然有很多人遇到同样的问题

https://bugzilla.kernel.org/show_bug.cgi?id=70761

把 mtu 改成8192就可以解决这个问题

ifconfig eth0 mtu 8192

并且有人写了补丁来解决这个问题,但是至今没有进人内核

 

由于现在我使用的是arch linux,目前还不会在archlinux下自己编译内核,就先使用设置mtu的方式的解决此问题

 

相关内容