synology-wireguard
synology-wireguard copied to clipboard
Kernel module doesn't seem to load on DS1621+ (v1000 arch)
Description
I'm attempting to install and use on a DS1621+. I have managed to build the .spk
using the v1000
arch (using the fix here https://github.com/runfalk/synology-wireguard/issues/48#issuecomment-718302349 ), and it seems to install ok, but I don't think the kernel module is being loaded.
When I run dmesg
I see this line:
[599058.301294] wireguard: version magic '4.4.59+ SMP preempt mod_unload ' should be '4.4.59+ SMP mod_unload '
Whenever I reinstall the .spk
.
Expected behavior The kernel module to load.
Synology NAS model DS1621+
I can reproduce this on a DS1821+ running DSM 6.2.3-25426 Update 3:
[101781.516824] wireguard: version magic '4.4.59+ SMP preempt mod_unload ' should be '4.4.59+ SMP mod_unload '
The running kernel:
Linux version 4.4.59+ (root@build5) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP Mon Dec 14 18:52:44 CST 2020
The SDK seems to have the wrong kernel configuration, I've filed SynologyOpenSource/pkgscripts-ng#30
A new toolkit has been released that fixes this issue. Try rebuilding with the latest toolkit.
I've just upgraded to DSM 6.2.4, rebuilt the module using the latest version (with HAS_MEMNEQ=1
) and installed and it appears to be loading now :)
[ 1290.606243] wireguard: module verification failed: signature and/or required key missing - tainting kernel
[ 1290.617456] wireguard: WireGuard 1.0.20210219 loaded. See www.wireguard.com for information.
[ 1290.625896] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
Just to confirm - I've been testing using this module on mt DS1621+ and it now works well in both client and server mode.
The v1000
platform could probably be added to the release list.
Also confirming successful build on the DS1821+ with the latest toolkit. Thanks for pushing to get the upstream fix @zachberger !
I know this has been over a year- very similar issue, but on DSM7.0.
Description I'm attempting to install and use on a DS1621+. I have managed to build the .spk using the v1000 arch (using the fix here #48 (comment) )
Result
[2021-10-30 08:12:48,816] ERROR: PlatformNotAvailableError [2021-10-30 08:12:48,816] ERROR: [V1000] is not available platform. [2021-10-30 08:12:48,817] ERROR: pkgscripts-ng/EnvDeploy -p V1000 -v 7.0 failed!
Expected behavior The kernel module to install.
Synology NAS model DS1621+
The command is case sensitive you'll want to use v1000 not V1000