NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bacobart
Oct 11, 2015Aspirant
Compiling kernel modules fails for 6.4.0
I'm trying to built kernel modules on 6.4.0 for a readynas 516. I've got the source from http://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.4.0_WW_src.zip and am using the kernel from the direc...
bacobart
Oct 11, 2015Aspirant
nevermind, i messed it up. sorry.
camattin
Nov 02, 2015Aspirant
Can I ask what you messed up?
I had no troubles recompiling the kernel on 6.3.5 (to add in usbserial and cp210x modules). Can't figure out what's changed in 6.4.0, but "installing" the new kernel isn't taking effect (the boot changes in 6.4.0?).
And when compiling them as modules, I'm getting the same error as you.
What'd I miss??
Thanks!
- bacobartNov 02, 2015Aspirant
The following steps worked for me eventually. I've only tried compiling modules, not replacing the entire kernel, so can't help you with that.
make oldconfig
make menuconfig
make prepare
make modules_prepare
make
make SUBDIRS=scripts/mod
make SUBDIRS=path/to/module modulesmake modules_install
depmod -a
- camattinNov 03, 2015Aspirant
Looking through my history, I'm not exactly sure what I did to get mine working, but I hadn't kicked off depmod manually (and got it working late last night with modules).
One variation I kicked off was:
make CONFIG_DEBUG_SECTION_MISMATCH=y
Followed by the 'make modules_install', which then correctly kicked off depmod itself.
With this out of the way, now I have to look into fan replacements (way cheaper than buying a new NAS, right? :) ).
Related Content
NETGEAR Academy

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