- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Kernel modules for ReadyNASOS 6.9.X
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to build the pptp (ppp) modules, and I am getting stuck at and error "slhc: disagrees about version of symbol module_layout"
I have been fighting with this for about 1 week now, so I figured it was past time to see if anyone could help. Also, before you say it, yes I have googled for this, but all answers are either out of date or simply don't solve the issue. I am running a ReadyNAS 312.
Here is what I have worked out "should" work...:
cd ~/src wget https://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.2.4_WW_src.zip mkdir ReadyNAS cd ReadyNAS 7z x ../ReadyNASOS_V6.2.4_WW_src.zip cd linux-4.4.157-x86_64 make readynas_defconfig make menuconfig #Nav to # Device Drivers-->Network device support # expand with an M "PPP (point-to-point protocol) support" # Mark wtih an M: # PPP MPPE compression (encryption) # PPP support for async serial ports # Mark with a * (space bar) # PPP filtering make prepare make modules_prepare #Since there is no 'Module.symvers' make make modules sudo mkdir /lib/modules/$(uname -r)/kernel sudo mkdir /lib/modules/$(uname -r)/kernel/lib sudo mkdir /lib/modules/$(uname -r)/kernel/drivers sudo mkdir /lib/modules/$(uname -r)/kernel/drivers/net sudo mkdir /lib/modules/$(uname -r)/kernel/drivers/net/ppp sudo mkdir /lib/modules/$(uname -r)/kernel/drivers/net/slip sudo cp drivers/net/ppp/*.ko /lib/modules/$(uname -r)/kernel/drivers/net/ppp/ sudo cp drivers/net/slip/*.ko /lib/modules/$(uname -r)/kernel/drivers/net/slip/ sudo cp lib/crc-ccitt.ko /lib/modules/$(uname -r)/kernel/lib sudo depmod -a sudo modprobe ppp_generic #>modprobe: ERROR: could not insert 'ppp_generic': Exec format error tail -n 1 /var/log/syslog #>Mar 5 09:52:04 nas kernel: [443480.790854] slhc: disagrees about version of symbol module_layout
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a change to the build enviroment for kernel modules starting with 6.9.5. There is some information here: https://community.netgear.com/t5/New-ReadyNAS-Users-General/6-9-5-GPL-not-posted/m-p/1712651#M35386
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Kernel modules for ReadyNASOS 6.9.X
Just noticed the wget line I put in my code block. That isn't the file I was working from, it should have read
wget https://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.9.5_WW_src.zip
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a change to the build enviroment for kernel modules starting with 6.9.5. There is some information here: https://community.netgear.com/t5/New-ReadyNAS-Users-General/6-9-5-GPL-not-posted/m-p/1712651#M35386
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Kernel modules for ReadyNASOS 6.9.X
Thanks. I will try this. IF it works, I will post a new "HOW-TO: Compile Custom Kernel Modules" thread