打印

ubuntu16.04 RTL8168网卡 无法正确驱动

ubuntu16.04 RTL8168网卡 无法正确驱动

ubuntu16.04 RTL8168网卡 无法正确驱动 (2016-12-09 08:12:15)

zombie@September:~$ lspci | grep RTL
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
zombie@September:~$

原来加载的是系统带的r8169.ko,无法正常使用以太网卡

安装官方驱动:

zombie@September:~/下载$ tar xvf 0005-r8168-8.042.00.tar.bz2
r8168-8.042.00/
r8168-8.042.00/autorun.sh
r8168-8.042.00/Makefile
r8168-8.042.00/README
r8168-8.042.00/src/
r8168-8.042.00/src/Makefile
r8168-8.042.00/src/Makefile_linux24x
r8168-8.042.00/src/r8168.h
r8168-8.042.00/src/r8168_asf.c
r8168-8.042.00/src/r8168_asf.h
r8168-8.042.00/src/r8168_dash.h
r8168-8.042.00/src/r8168_n.c
r8168-8.042.00/src/r8168_realwow.h
r8168-8.042.00/src/rtltool.c
r8168-8.042.00/src/rtltool.h
r8168-8.042.00/src/rtl_eeprom.c
r8168-8.042.00/src/rtl_eeprom.h
zombie@September:~/下载$ cd r8168-8.042.00/
zombie@September:~/下载/r8168-8.042.00$ ls
autorun.sh  Makefile  README  src
zombie@September:~/下载/r8168-8.042.00$ sudo ./autorun.sh
[sudo] zombie 的密码:

Check old driver and unload it.
rmmod r8168
Build the module and install
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.0-51-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-4.4.0-51-generic
Completed.
重启无法使用以太网卡,进行过一次modprobe,依然无法使用。
查看dmesg信息如下:
zombie@September:~/下载/r8168-8.042.00$ dmesg | grep 8168
[    0.196039] pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000
[    2.740302] r8168: module verification failed: signature and/or required key missing - tainting kernel
[    2.745778] r8168 Gigabit Ethernet driver 8.042.00-NAPI loaded
[    2.745899] r8168 0000:03:00.0: enabling device (0000 -> 0003)
[    2.745943] r8168 0000:03:00.0: PCI INT A: failed to register GSI
[    2.745945] r8168 0000:03:00.0: enable failure
[    2.745950] r8168: probe of 0000:03:00.0 failed with error -16
[ 1807.784210] r8168 Gigabit Ethernet driver 8.042.00-NAPI loaded
[ 1807.784369] r8168 0000:03:00.0: PCI INT A: failed to register GSI
[ 1807.784371] r8168 0000:03:00.0: enable failure
[ 1807.784376] r8168: probe of 0000:03:00.0 failed with error -16
zombie@September:~/下载/r8168-8.042.00$

问题仍未得到解决

[ 本帖最后由 lanzinc 于 2016-12-9 11:04 编辑 ]

TOP