× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Missing GPL Source for ReadyNAS 6.8.1

jpearn
Star

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 someone look into this for us ?

Message 1 of 6

Accepted Solutions
jpearn
Star

Re: Missing GPL Source for ReadyNAS 6.8.1

I ended up using the connect.c from the previous source GPL and replacing in fs/cifs to get the compile OK

View solution in original post

Message 6 of 6

All Replies
mdgm-ntgr
NETGEAR Employee Retired

Re: Missing GPL Source for ReadyNAS 6.8.1

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

Message 2 of 6

Re: Missing GPL Source for ReadyNAS 6.8.1

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 

 

Message 3 of 6
jpearn
Star

Re: Missing GPL Source for ReadyNAS 6.8.1

Yep, I am getting the same errors 😞

Message 4 of 6

Re: Missing GPL Source for ReadyNAS 6.8.1

 

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 reboot

READYNAS_OS=ReadyNASOS_V6.9.0_WW_src
ARCH=x86_64
KERNEL=linux-*-x86_64

Message 5 of 6
jpearn
Star

Re: Missing GPL Source for ReadyNAS 6.8.1

I ended up using the connect.c from the previous source GPL and replacing in fs/cifs to get the compile OK

Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 3087 views
  • 2 kudos
  • 3 in conversation
Announcements