Toybrick

标题: rk3399pro插入网卡rtl8811au死机 [打印本页]

作者: joe3862    时间: 2019-7-13 09:01
标题: rk3399pro插入网卡rtl8811au死机
我在rk3399pro上外接无线网卡rtl8811au(与rtl8812au驱动相同,只是没有蓝牙功能),驱动可以正常编译,驱动模块也可以正常加载,从dmesg中可以看出rk3399pro已经正确识别了网卡,但是我用ifconfig wlan1 up指令启动外接无线网卡时会直接导致开发板死机,这个版本的驱动在其他设备上可以正常使用,不知各位是否有解决方案,我是刚接触Linux系统和3399pro开发板,望多指教,万分感谢!附上驱动源码和系统日志
Jul 12 15:15:19 linaro-alip kernel: [  216.856338] 8821au: loading out-of-tree module taints kernel.
Jul 12 15:15:19 linaro-alip kernel: [  216.888547] RTL871X: module init start
Jul 12 15:15:19 linaro-alip kernel: [  216.888917] RTL871X: rtl8821au v4.3.14_13455.20150212_BTCOEX20150128-51
Jul 12 15:15:19 linaro-alip kernel: [  216.889509] RTL871X: rtl8821au BT-Coex version = BTCOEX20150128-51
Jul 12 15:15:19 linaro-alip kernel: [  216.891261] usbcore: registered new interface driver rtl8821au
Jul 12 15:15:19 linaro-alip kernel: [  216.891830] RTL871X: module init ret=0
Jul 12 15:15:25 linaro-alip kernel: [  222.153483] wl_run_escan: LEGACY_SCAN sync ID: 6, bssidx: 0
Jul 12 15:11:46 linaro-alip kernel: [    0.000000] Booting Linux on physical CPU 0x0
Jul 12 15:11:46 linaro-alip kernel: [    0.000000] Initializing cgroup subsys cpuset
Jul 12 15:11:46 linaro-alip liblogging-stdlog:  [origin software="rsyslogd" swVersion="8.24.0" x-pid="420" x-info="http://www.rsyslog.com"] start
Jul 12 15:11:46 linaro-alip kernel: [    0.000000] Initializing cgroup subsys cpu
Jul 12 15:11:46 linaro-alip kernel: [    0.000000] Initializing cgroup subsys cpuacct
Jul 12 15:11:46 linaro-alip kernel: [    0.000000] Linux version 4.4.167 (wxt@SYS3) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP Thu Mar 7 22:02:29 CST 2019
上为已先加载驱动后插入网卡的系统日志,网卡在222.153483时插入,随后系统死机,后续是重启系统的日志
Jul 12 15:13:01 linaro-alip kernel: [   78.381482] FAT-fs (sda4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jul 12 15:13:29 linaro-alip kernel: [  106.133060] wl_run_escan: LEGACY_SCAN sync ID: 4, bssidx: 0
Jul 12 15:13:44 linaro-alip kernel: [  121.647213] usb 4-1: USB disconnect, device number 3
Jul 12 15:13:48 linaro-alip kernel: [  125.007966] usb 4-1: new high-speed USB device number 4 using ehci-platform
Jul 12 15:13:48 linaro-alip kernel: [  125.127019] usb 4-1: New USB device found, idVendor=0bda, idProduct=0811
Jul 12 15:13:48 linaro-alip kernel: [  125.127757] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 12 15:13:48 linaro-alip kernel: [  125.128409] usb 4-1: Product: 802.11ac WLAN Adapter
Jul 12 15:13:48 linaro-alip kernel: [  125.129081] usb 4-1: Manufacturer: Realtek
Jul 12 15:13:48 linaro-alip kernel: [  125.129478] usb 4-1: SerialNumber: 00e04c000001
Jul 12 15:14:06 linaro-alip kernel: [  143.427174] usb 4-1: USB disconnect, device number 4
上为不加载驱动插入网卡后的识别情况,可以看出已经正确识别网卡
已附驱动源码,由于上传附件大小限制所以压缩成了多个包,直接解压即可,压缩包中messages文件是系统日志,我在手册上看到3399pro是验证过支持rtl8811au(rtl8812au)的,恳请大家帮我看看是什么问题,感激不尽!
[attach]377[/attach]

[attach]376[/attach]

[attach]375[/attach]

[attach]374[/attach]

[attach]373[/attach]








欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3