-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build DKMS modules for sunxi-next #1369
Comments
Wireguard is part of all Armbian kernels. (Probably) that's why you can't build. Just run:
|
Hi @igorpecovnik,
Content of the mentioned log:
But the module is not available:
|
Nice, and how did you solve it? |
The wireguard by modprobing the module:
The virtualbox I did not. I don't actually need it, I just wanted to demonstrate, that it is probably some other issue than the one with wireguard. |
Aha, ok ... IIRC DKMS was broken upstream for some time and since its impossible to fix everything it will remain as is until someone would desperately need this function :) Since DMKS is apparently broken I'll leave this open. |
Ditto on ROCKPro64, getting similar error trying to install wireguard-dkms:
(Although, I do see that |
Same on an Odroid HC1 with armbian stretch. "modprobe wireguard" returns no errors but I am left without all the wireguard commands (wg-quick, wg, wg-show, etc.) |
If you care to add and maintain (usually nothing) the build of wg packages https://github.com/armbian/build/tree/master/packages/extras-buildpkgs Or those tools already exists in some repository? |
Hi, @igorpecovnik please due to I rebase sunxi-next to upstream LTS, please set |
Its tested on all build and is attached to tested branch. Also #1369
Where do I place this setting? Thanks.
On 13 Aug 2019, at 03:08, zhangn1985 <[email protected]> wrote:
Hi, @igorpecovnik please due to I rebase sunxi-next to upstream LTS, please set WIREGUARD=yes to enable wireguard for sunxi-next release, if wireguard is required feature.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Just build image/kernel, now WG is default. For the DKMS way I can't help without deep investigation ... |
Hey, update:
After this, dkms will be working. |
Pull request #1697 is supposed to fix this issue. Please retest as soon as the PR is merged. |
I just merged it. Please rebuild and test. |
Tested, works as expected. |
I have OrangePi R1 running Debian Stretch:
Linux orangepi 4.19.38-sunxi #5.86 SMP Sun May 12 17:56:25 CEST 2019 armv7l GNU/Linux
I installed headers of the same version:
When I try building a module via DKMS, it ends up with an error:
The mentioned log file contains:
It looks like the $SRCARCH is empty (line 619 of the mentioned Makefile):
I tried to force the architecture by following suggestions on this page: diederikdehaas/rtl8812AU#103
Namely:
Or adding the symlink:
Or even changing the line 619 in the /usr/src/linux-headers-4.19.38-sunxi/Makefile to:
But none of it worked. I tried different DKMS module (virtualbox-dkms), but obviously, the problem is in the linux-headers-next-sunxi package.
What can I do to make it work?
Thanks,
Martin
The text was updated successfully, but these errors were encountered: