Closed jack338c closed 5 years ago
Hi Jack, this was caused by a breaking change in version 4.15 of the kernel. My fork currently has been tested on up to 4.17, feel free to try it out.
Hi,Kaduke,thanks for your help
but I still get error from your newest version
jack@jack-R478-R429:~/Netgear-A6210$ make export DBGFLAGS
Building driver with debug messages
cp -f os/linux/Makefile.6 /home/jack/Netgear-A6210/os/linux/Makefile make -C /lib/modules/4.15.0-32-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/jack/Netgear-A6210/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-32-generic' CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/assoc.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/auth.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/auth_rsp.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sync.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sanity.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/rtmp_data.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/connect.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/wpa.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sta_cfg.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sta.o CC [M] /home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o In file included from ./include/linux/bitmap.h:9:0, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /home/jack/Netgear-A6210/include/os/rt_linux.h:14, from /home/jack/Netgear-A6210/include/rtmp_os.h:30, from /home/jack/Netgear-A6210/include/rtmp_comm.h:64, from /home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:33: In function ‘memcpy’, inlined from ‘rt_ioctl_iwaplist’ at /home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:549:2: ./include/linux/string.h:340:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter __read_overflow2(); ^ scripts/Makefile.build:332: recipe for target '/home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o' failed make[2]: [/home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o] Error 1 Makefile:1552: recipe for target 'module/home/jack/Netgear-A6210/os/linux' failed make[1]: [module/home/jack/Netgear-A6210/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-32-generic' Makefile:59: recipe for target 'debug' failed make: *** [debug] Error 2 jack@jack-R478-R429:~/Netgear-A6210$ uname -r 4.15.0-32-generic jack@jack-R478-R429:~/Netgear-A6210$
@kaduke It seems like I installed the driver correctly.. My kernel is 4.15.0.36. I can successfully run sudo make install
but when I disconnect my ethernet cable, nothing happens. I tried rebooting and still no wifi. Am I missing a step after installing? I am using Ubuntu 16.04 with the previously mentioned kernel.
I am using an X299 motherboard and my secure boot is "disabled" in the "Windows OS Configuration" menu. I don't know if this means that secure boot is disabled in ubuntu also, but this is the only place I could find "secure boot" in the bios.
I hope you can help.
Thanks!
jack@jack-R478-R429:~/Netgear-A6210$ make export DBGFLAGS
Building driver with debug messages
cp -f os/linux/Makefile.6 /home/jack/Netgear-A6210/os/linux/Makefile make -C /lib/modules/4.15.0-29-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/jack/Netgear-A6210/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-29-generic' CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/assoc.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/auth.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/auth_rsp.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sync.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sanity.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/rtmp_data.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/connect.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/wpa.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sta_cfg.o CC [M] /home/jack/Netgear-A6210/os/linux/../../sta/sta.o CC [M] /home/jack/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o CC [M] /home/jack/Netgear-A6210/os/linux/../../mgmt/mgmt_vht.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/vht.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/crypt_md5.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/crypt_sha2.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/crypt_hmac.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/crypt_aes.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/crypt_arc4.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/mlme.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_wep.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/action.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_data.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/rtmp_init.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/rtmp_init_inf.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_tkip.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_aes.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_sync.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/eeprom.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_sanity.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_info.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_cfg.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_wpa.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_radar.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/spectrum.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/rtmp_timer.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/rt_channel.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_profile.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_asic.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/scan.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_cmd.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/ps.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/sys_log.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/txpower.o CC [M] /home/jack/Netgear-A6210/os/linux/../../rate_ctrl/ra_ctrl.o CC [M] /home/jack/Netgear-A6210/os/linux/../../rate_ctrl/alg_legacy.o CC [M] /home/jack/Netgear-A6210/os/linux/../../rate_ctrl/alg_ags.o CC [M] /home/jack/Netgear-A6210/os/linux/../../chips/rtmp_chip.o CC [M] /home/jack/Netgear-A6210/os/linux/../../mgmt/mgmt_entrytb.o CC [M] /home/jack/Netgear-A6210/os/linux/../../tx_rx/wdev_tx.o CC [M] /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_profile.o CC [M] /home/jack/Netgear-A6210/os/linux/../../phy/phy.o CC [M] /home/jack/Netgear-A6210/os/linux/../../phy/rf.o CC [M] /home/jack/Netgear-A6210/os/linux/../../phy/rlt_phy.o CC [M] /home/jack/Netgear-A6210/os/linux/../../mac/rtmp_mac.o CC [M] /home/jack/Netgear-A6210/os/linux/../../mac/ral_nmac.o CC [M] /home/jack/Netgear-A6210/os/linux/../../rate_ctrl/alg_grp.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/ba_action.o CC [M] /home/jack/Netgear-A6210/os/linux/../../mgmt/mgmt_ht.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_txbf.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/cmm_txbf_cal.o CC [M] /home/jack/Netgear-A6210/os/linux/../../common/rt_os_util.o CC [M] /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.o /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.c: In function ‘__RTMP_OS_Init_Timer’: /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.c:107:3: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration] init_timer(pTimer); ^ /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.c:108:9: error: ‘struct timer_list’ has no member named ‘data’ pTimer->data = (unsigned long)data; ^ /home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.c:109:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] pTimer->function = function; ^ cc1: some warnings being treated as errors scripts/Makefile.build:332: recipe for target '/home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.o' failed make[2]: [/home/jack/Netgear-A6210/os/linux/../../os/linux/rt_linux.o] Error 1 Makefile:1552: recipe for target 'module/home/jack/Netgear-A6210/os/linux' failed make[1]: [module/home/jack/Netgear-A6210/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic' Makefile:59: recipe for target 'debug' failed make: *** [debug] Error 2 jack@jack-R478-R429:~/Netgear-A6210$
please help thanks