NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jpearn
Oct 25, 2017Star
Missing GPL Source for ReadyNAS 6.8.1
As in the title, the firmware 6.8.1 for ReadyNAS has been out for a couple of weeks however there is no GPL source listed on the download page (or if you change the filename to reflect 6.8.1) Could ...
- Oct 27, 2017
I ended up using the connect.c from the previous source GPL and replacing in fs/cifs to get the compile OK
mdgm-ntgr
Oct 25, 2017NETGEAR Employee Retired
I'll follow up on this again.
Edit: The GPL has now been posted in the usual location at https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL
- gdeguillebonOct 26, 2017Star
with GPL for 6.9.0
http://www.readynas.com/contributed/mdgm/tmp/ReadyNASOS_V6.9.0_WW_src.zip
The build failed..
LD fs/case/built-in.o
CC fs/cifs/cifsfs.o
CC fs/cifs/cifssmb.o
CC fs/cifs/cifs_debug.o
CC fs/cifs/connect.o
In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/wait.h:6, from include/linux/fs.h:5, from fs/cifs/connect.c:21: fs/cifs/connect.c: In function ‘server_unresponsive’: fs/cifs/connect.c:510:34: error: ‘struct TCP_Server_Info’ has no member named ‘echo_interval’ server->hostname, (2 * server->echo_interval) / HZ); ^ include/linux/printk.h:410:50: note: in definition of macro ‘pr_debug_ratelimited’ __dynamic_pr_debug(&descriptor, pr_fmt(fmt), ##__VA_ARGS__); \ ^ fs/cifs/connect.c:509:3: note: in expansion of macro ‘cifs_dbg’ cifs_dbg(VFS, "Server %s has not responded in %lu seconds. Reconnecting...\n", ^ In file included from fs/cifs/connect.c:49:0: fs/cifs/connect.c:510:34: error: ‘struct TCP_Server_Info’ has no member named ‘echo_interval’ server->hostname, (2 * server->echo_interval) / HZ); ^ fs/cifs/cifs_debug.h:58:23: note: in definition of macro ‘cifs_dbg’ cifs_vfs_err(fmt, ##__VA_ARGS__); \ ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/wait.h:6, from include/linux/fs.h:5, from fs/cifs/connect.c:21: fs/cifs/connect.c:510:34: error: ‘struct TCP_Server_Info’ has no member named ‘echo_interval’ server->hostname, (2 * server->echo_interval) / HZ); ^ include/linux/printk.h:410:50: note: in definition of macro ‘pr_debug_ratelimited’ __dynamic_pr_debug(&descriptor, pr_fmt(fmt), ##__VA_ARGS__); \ ^ fs/cifs/connect.c:509:3: note: in expansion of macro ‘cifs_dbg’ cifs_dbg(VFS, "Server %s has not responded in %lu seconds. Reconnecting...\n", ^ scripts/Makefile.build:258: recipe for target 'fs/cifs/connect.o' failed make[2]: *** [fs/cifs/connect.o] Error 1 scripts/Makefile.build:403: recipe for target 'fs/cifs' failed make[1]: *** [fs/cifs] Error 2 Makefile:964: recipe for target 'fs' failed make: *** [fs] Error 2- jpearnOct 27, 2017Star
Yep, I am getting the same errors :(
- jpearnOct 27, 2017Star
I ended up using the connect.c from the previous source GPL and replacing in fs/cifs to get the compile OK
- gdeguillebonOct 27, 2017Star
my script
#!/bin/bash # required # apt-get install build-essential libncurses5-dev libncursesw5-dev bc # how to use it:
# To build current version
# $ ./build_readynas.sh
#
# or to build a specific version
# $ ./build_readynas.sh 6.8.0
if [ -z "$1" ]; then rn_version=`awk -F, '{ for(i = 1; i <= NF; i++) { if($i~/version/) print $i} }' /etc/os_version | awk -F'=' '{print $2}'` READYNAS_OS="ReadyNASOS_V"$rn_version"_WW_src" else READYNAS_OS="ReadyNASOS_V"$1"_WW_src" fi ARCH=`uname --machine` KERNEL="linux-*-$ARCH" echo echo "****************************" echo "* $READYNAS_OS" echo "* $ARCH" echo "* $KERNEL" echo "****************************" echo # Download source from official repo wget https://www.downloads.netgear.com/files/GPL/$READYNAS_OS.zip if [ ! -f $READYNAS_OS.zip ]; then # Try temporary repo echo "Download failed with official repo !!" echo "try with another one" wget http://www.readynas.com/contributed/mdgm/tmp/$READYNAS_OS.zip if [ ! -f $READYNAS_OS.zip ]; then echo "File not found! ($READYNAS_OS.zip)" exit 1; fi fi mkdir $HOME/$READYNAS_OS unzip $READYNAS_OS.zip -d $HOME/$READYNAS_OS cd $HOME/$READYNAS_OS/$KERNEL cp $HOME/$READYNAS_OS/$KERNEL/arch/x86/configs/readynas_defconfig .config && make clean && make menuconfig && make && make all #sudo make modules_install #sudo rebootREADYNAS_OS=ReadyNASOS_V6.9.0_WW_src
ARCH=x86_64
KERNEL=linux-*-x86_64
Related Content
NETGEAR Academy

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