I've installed kmod-fs-nfsd and nfs-kernel-server. nfsd is enabled and tries to autostart on boot. But I get this from dmesg:
[ 48.786469] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.798483] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.843266] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.855385] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.901988] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.914177] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.958916] kmodloader: 1 module could not be probed
[ 48.969275] kmodloader: - nfsd - 0
# insmod nfsd.ko
failed to insert /lib/modules/4.4.108-gnu/nfsd.ko
# uname -a
Linux libreNAS 4.4.108-gnu #0 SMP Mon Jan 1 02:50:55 2018 mips GNU/Linux
Should the kernel or nfsd.ko be compiled with some other options, like -fno-stack-protector or -fstack-protector-all?
I'm building from v1.4.2.
I've installed `kmod-fs-nfsd` and `nfs-kernel-server`. `nfsd` is enabled and tries to autostart on boot. But I get this from `dmesg`:
```
[ 48.786469] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.798483] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.843266] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.855385] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.901988] nfsd: Unknown symbol __stack_chk_guard (err 0)
[ 48.914177] nfsd: Unknown symbol __stack_chk_fail (err 0)
[ 48.958916] kmodloader: 1 module could not be probed
[ 48.969275] kmodloader: - nfsd - 0
```
```
# insmod nfsd.ko
failed to insert /lib/modules/4.4.108-gnu/nfsd.ko
```
```
# uname -a
Linux libreNAS 4.4.108-gnu #0 SMP Mon Jan 1 02:50:55 2018 mips GNU/Linux
```
Should the kernel or nfsd.ko be compiled with some other options, like `-fno-stack-protector` or `-fstack-protector-all`?
I'm building from v1.4.2.
Since the libreCMC project itself does not have any hardware for testing or release maintenance, support provided here is going to be limited.
I have tested NFS support on AR71xx, x86_64 and sunxi targets and it does work.
To figure out what is going on, I'm going to need a few more pieces of information :
On what distro did you build libreCMC?
Where did you obtain libreCMC (was it from the OEM or from the libreCMC source repository)?
Did you make sure to install the package feed src. repository before configuring and building libreCMC?
How were these modules and packages installed (were they built into the final image or installed using packages)?
Since the libreCMC project itself does not have any hardware for testing or release maintenance, support provided here is going to be limited.
I have tested NFS support on AR71xx, x86_64 and sunxi targets and it does work.
To figure out what is going on, I'm going to need a few more pieces of information :
* On what distro did you build libreCMC?
* Where did you obtain libreCMC (was it from the OEM or from the libreCMC source repository)?
* Did you make sure to install the package feed src. repository before configuring and building libreCMC?
* How were these modules and packages installed (were they built into the final image or installed using packages)?
This was built from libreCMC v1.4.2.
packages were installed using opkg install
I've tested including nfs-kernel-server in make menuconfig and I no longer get the error. So maybe some sort of kernel version mismatch?
This was built from libreCMC v1.4.2.
packages were installed using `opkg install`
I've tested including `nfs-kernel-server` in `make menuconfig` and I no longer get the error. So maybe some sort of kernel version mismatch?
I've installed
kmod-fs-nfsd
andnfs-kernel-server
.nfsd
is enabled and tries to autostart on boot. But I get this fromdmesg
:Should the kernel or nfsd.ko be compiled with some other options, like
-fno-stack-protector
or-fstack-protector-all
?I'm building from v1.4.2.
Since the libreCMC project itself does not have any hardware for testing or release maintenance, support provided here is going to be limited.
I have tested NFS support on AR71xx, x86_64 and sunxi targets and it does work.
To figure out what is going on, I'm going to need a few more pieces of information :
This was built from libreCMC v1.4.2. packages were installed using
opkg install
I've tested including
nfs-kernel-server
inmake menuconfig
and I no longer get the error. So maybe some sort of kernel version mismatch?