Open Impeta opened 1 year ago
Hi, can you verify that the linux-headers package for your current kernel has been installed?
Hi, can you verify that the linux-headers package for your current kernel has been installed?
Quick reply! Hi, thanks!
The equivalent is linux-nitrous-headers
, and yes I do have it installed. It won't install correctly, alas.
Funnily enough, I figured to make a quick test with the bare standard kernel itself, linux
and linux-headers
, and it works flawlessly for installing your module. For reference, I would like to install it too on my linux-lts and linux-nitrous, both already has got their headers equivalent installed.
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod hid-nx/v1.14 -k 5.15.94-1-lts
Error! Bad return status for module build on kernel: 5.15.94-1-lts (x86_64)
Consult /var/lib/dkms/hid-nx/v1.14/build/make.log for more information.
==> WARNING: `dkms install --no-depmod hid-nx/v1.14 -k 5.15.94-1-lts' exited 10
==> dkms install --no-depmod hid-nx/v1.14 -k 6.3.3-nitrous-1
Error! Bad return status for module build on kernel: 6.3.3-nitrous-1 (x86_64)
Consult /var/lib/dkms/hid-nx/v1.14/build/make.log for more information.
==> WARNING: `dkms install --no-depmod hid-nx/v1.14 -k 6.3.3-nitrous-1' exited 10
==> dkms install --no-depmod hid-nx/v1.14 -k 6.3.2-arch1-1
==> depmod 6.3.2-arch1-1
(3/3) Refreshing PackageKit...
I don't know anything about linux-nitrous
, but since linux-headers
works fine and linux-nitrous-headers
does not, it seems like the issue is with linux-nitrous-headers
.
I would suggest pursuing the issue with them. Since the Arch Linux wiki says you can seek help in their repo's issues, I suggest trying to ask there.
Roger, thank you for the direction and patience! :+1:
@emilyst Where does generated/autoconf.h
come from? What's the absolute path? I checked the headers package of linux-nitrous and it does contain it. I added a copy command to the PKGBUILD to copy over generated headers but then, after building, realized that it was already there and thus has been copied twice. So there must be an issue with relative paths here or the linux includes directory is not in the include search path.
I know that nvidia, acpi_call and evdi builds fine via DKMS on Nitrous.
@emilyst Where does
generated/autoconf.h
come from? What's the absolute path?
Good questions! I don't know!
I checked the headers package of linux-nitrous and it does contain it. I added a copy command to the PKGBUILD to copy over generated headers but then, after building, realized that it was already there and thus has been copied twice. So there must be an issue with relative paths here or the linux includes directory is not in the include search path.
Huh, good to know. Thanks for taking a look, regardless.
I know that nvidia, acpi_call and evdi builds fine via DKMS on Nitrous.
I'm beginning to suspect that this has nothing to do with Nitrous and more to do with the change in kernel version. It wasn't until I carefully read the output above that I noticed the kernel version changes from 5 to 6.
Why that would break DKMS is beyond me, but maybe I'm doing something weird. I'll try to take a look at this soon.
Any news here? Otherwise I'll consider closing the issue on my side.
Any news here? Otherwise I'll consider closing the issue on my side.
Terribly sorry about this, but I didn't make any headway.
I should probably re-install Arch on something and try again.
Couldn't install your own module over my latest Linux kernel (6.3.3), sadly. I'm on Arch Linux, so naturally, I went for the package and building method.
This is the said make.log:
Cheers!