On 12/26/17 10:26, Stephen Morris wrote:
Having just done a system upgrade, the upgrade has upgraded the
kernel from
4.13.16-300 to 4.14.7-300, consequently I no longer have wifi access.
Manually compiling the driver for 4.14.7-300 produces the following warnings:
WARNING: "__vfs_read" [/usr/src/rtl8814au-5.1.5/8814au.ko] undefined!
WARNING: "vfs_read" [/usr/src/rtl8814au-5.1.5/8814au.ko] undefined!
A subsequent insmod 8814au or modprobe 8814au does not load the driver because of
an undefined symbol, but does not specify what the symbol is. My assumption it is
because of the above warnings.
Having done a search through the headers for kernel 4.14.7-300 I have found that
include file fs.h has the definitions for __vfs_read and vfs_read.
In the driver include file osdep_service_linux.h I found the following statements:
#ifdef CONFIG_EFUSE_CONFIG_FILE
#include <linux/fs.h>
#endif
In an attempt to fix the warnings I did and explicit #include <linux/fs.h>, and
recompiled the driver source but doing this did not resolve the warnings.
Does anyone know what I need to do to resolve the warnings and hence make the
driver kernel loadable?
From where did you obtain the driver?
I don't have the HW to test on, but
https://github.com/zebulon2/rtl8814au seems to
compile just fine. It also has a note from 13 days ago about "Fix a compilation
error on kernel v4.14 and later"
--
Fedora Users List - The place to go to speculate endlessly