NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
will3b
May 07, 2020Aspirant
problem building kernel modules for 6.10.3
Hi all, I am facing a problem as I'm trying to build wireguard as a kernel module for my ReadyNAS 102, on a 6.10.3 firmware. I searched the forum a bit and found a related issue here : https://c...
WhoCares_
May 08, 2020Mentor
The problem is that since GPL 6.9.4 NTGR "forgot" to ship their Alpine patches with the kernel sources. This essentially means that all the stuff that makes the kernel run on RN1xx and RN2xx boards is missing. What I'm currently trying is to build a working patch by adapting the diff from the NTGR supplied kernel sources 4.4.116 (the last version that contains their patches) to kernel 4.4.190 (the one shipping with 6.10.3.
-Stefan
- will3bMay 08, 2020Aspirant
Thanks for your answer.
My RN102 is based on a Marvel armada 370 CPU, so I thought I didn't need the alpine kernel source tree. A few alpine kernel modules indeed lie on the file system of my NAS (in /lib/modules/4.4.190.alpine.1/) but they seem unused and cannot be loaded on my system :
# insmod /lib/modules/4.4.190.alpine.1/kernel/kernel/configs.ko insmod: ERROR: could not insert module /lib/modules/4.4.190.alpine.1/kernel/kernel/configs.ko: Invalid module format
Are you sure these sources are needed to build a working module for RN102? Or do you mean we are missing a few patches originally coming from the alpine source tree that were backported to the arm kernel for the official NTGR firmware release but not present in the provided sources?
- WhoCares_May 08, 2020Mentor
Sorry, I was a bit unclear there. The patches from NTGR also include stuff targeted at Marvell 370 and 380 chipsets. Looks like they changed their build pipeline in such a way that only the x86 code (which I suspect is the main focus anyway) comes out correct whereas ARM and Alpine are broken.
-Stefan
- WhoCares_May 08, 2020Mentor
Here's a diff someone else did on the 4.4.111 kernel sources -> https://gist.github.com/donbowman/2630241daadd43122163a7fae57e10b3
From a brief glance I'd say, yes, you're likely to need them to build a working kernel for the RN1xx series too.
-Stefan
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!