synology-wireguard icon indicating copy to clipboard operation
synology-wireguard copied to clipboard

Kernel module doesn't seem to load on DS1621+ (v1000 arch)

Open Woodham opened this issue 4 years ago • 8 comments

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+

Woodham avatar Dec 06 '20 00:12 Woodham

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

gallivanter avatar Feb 16 '21 22:02 gallivanter

The SDK seems to have the wrong kernel configuration, I've filed SynologyOpenSource/pkgscripts-ng#30

zachberger avatar Mar 15 '21 23:03 zachberger

A new toolkit has been released that fixes this issue. Try rebuilding with the latest toolkit.

zachberger avatar Mar 18 '21 22:03 zachberger

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.

Woodham avatar Mar 19 '21 14:03 Woodham

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.

Woodham avatar Mar 20 '21 11:03 Woodham

Also confirming successful build on the DS1821+ with the latest toolkit. Thanks for pushing to get the upstream fix @zachberger !

gallivanter avatar Mar 20 '21 19:03 gallivanter

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+

mylegitches avatar Oct 30 '21 08:10 mylegitches

The command is case sensitive you'll want to use v1000 not V1000

zachberger avatar Nov 02 '21 23:11 zachberger