xtknight / mt7610u-linksys-ae6000-wifi-fixes

Trying to fix the MT7610U chipset driver by MediaTek so it's usable on modern Linux kernels and with nl80211/NetworkManager (and not completely breaking on old ones, maybe...)
187 stars 71 forks source link

Can't load module under Linux 4.14.6-1-ARCH #32

Open Segaja opened 6 years ago

Segaja commented 6 years ago

I cloned the master and compiled the module but the module is not loaded after reboot. When I try to load it by hand I get this error:

insmod: ERROR: could not insert module /usr/lib/modules/4.14.6-1-ARCH/kernel/drivers/net/wireless/mt7610u_sta.ko: Unknown symbol in module

When I look in dmesg I see these errors:

[  366.268321] mt7610u_sta: Unknown symbol vfs_write (err 0)
[  366.268712] mt7610u_sta: Unknown symbol vfs_read (err 0)

Would be great to see this fixed in the master.

If you need more information please let me know.

Best regards

adamchilcott commented 6 years ago

Confirming this affects my installation also: uname -a Linux 4.14.16-1-MANJARO

xtknight commented 6 years ago

Seems like vfs_{read/write} dropped in kernel ~4.14

Not sure the exact kernel version or how to test if this symbol exists though. Something similar to this may work. https://github.com/zebulon2/rtl8812au-driver-5.2.9/commit/08e0472fbc60be09f6207b21819ed141cb81d579

if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))