Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Issues related to configuring your network
Post Reply
boatwrightjw
Posts: 3
Joined: 2020/02/16 22:17:46

Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Post by boatwrightjw » 2020/02/16 22:21:47

make command created this output:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-147.5.1.el8_1.x86_64/build M=/etc/NETGEAR_Nighthawk_AC1900 modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
CC [M] /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h: In function ‘_init_timer’:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:35,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h: At top level:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:21,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:87,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:313: /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1547: _module_/etc/NETGEAR_Nighthawk_AC1900] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
make: *** [Makefile:1699: modules] Error 2

Any suggestions?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Post by TrevorH » 2020/02/16 22:52:39

Other than "get a different adapter"? You might try asking ELRepo if they can produce a kmod package for it - it needs a kernel module called rtl8814au. You'll also need to provide the line from the output of the lsusb command that refers to this adapter - I believe it's probably 0846:9054 but wise to make sure.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

boatwrightjw
Posts: 3
Joined: 2020/02/16 22:17:46

Re: Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Post by boatwrightjw » 2020/02/16 22:57:51

How do i load a kernel module called rtl8814au?

boatwrightjw
Posts: 3
Joined: 2020/02/16 22:17:46

Re: Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Post by boatwrightjw » 2020/02/16 23:17:35

Bus 003 Device 003: ID 0846:9054 NetGear, Inc.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Newbee loaded CENTOS 8 cant get NightHawk1900 driver to load

Post by TrevorH » 2020/02/16 23:37:19

So that's the same adapter that I found on Google which said it needs the rtl8814au kernel module. That's not in the CentOS kernel, hence the need to file a request on the ELRepo bug tracker to ask them if they can provide a kmod package for it. They call that an RFE (Request For Enhancement) there. File the request and see if the nice people there can and will produce a kmod package for it that can then be used on CentOS or RHEL. Filing the request doesn't mean that they can do it or that they will but if you don't ask, you don't get.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply