So im trying to switch over from Manjaro and Im trying to get zenpower working to monitor temps but I keep getting this error trying to activate it:
modprobe: FATAL: Module zenpower not found in directory /lib/modules/5.12.6-artix1-1
I built zenpower through pamac. I actually had the same issue when I first tried on Manjaro as well, but I tried a diffrent package that installed what I was apparently missing, but none of the 3 zenpower pckages available are giving me that option in Artix, and I didnt pay close enough attention on manjaro to know what Im actually missing :(. I have linux-headers installed.
you need install one of this packages: zenpower-zen3-dkms, zenpower-dkms or zenpower-dkms-git. Be sure that module is realy compiled during installing!
The zenpower kernel module will be available on reboot. To load it now, run "modprobe -r k10temp && modprobe zenpower" as root'
tested on linux-zen:
xxx@picasso ~]$ lsmod | grep zenpower
zenpower 16384 0
ive tried all 3 of them
ive already blacklisted k10temp, so sudo modprobe zenpowr should be all I need, but its giving me that error everytime. how can I confirm the module i actually being built? Im admittedly still rather new to linux (around a month) and am still doing a lot of copy and pasting lol.
use paste.artixlinux.org and put here some output, please (copy everything from the pamac -S zenpower-dkms command down )
example: https://paste.artixlinux.org/view/056dd8b8
Run on your terminal (might take a while, since that folder has a lot of things).
find "/lib/modules/$(uname -r)" -name 'zenpower.ko*'
If you get no output, then the module really wasn't built.
If I had to guess, I think you're missing the linux-headers package (which is needed for Dkms modules to build). Then reinstall the dkms packages. as alium said, you've already ruled this out
https://paste.artixlinux.org/view/88c9314d
thats what Im getting from the command you rrequested
but he wrote: " I have linux-headers installed. "
sorry, i don't use pamac, just try install zenpower as you know and put here the output...
it should be probably pamac install zenpower-dkms
AFAIK for AUR packages the command is pamac build zenpower-dkms.
Either way, can you show us the output of one of these commands?
as i wrote, i use not pamac 8) :)
https://paste.artixlinux.org/view/14e47fd2
Error! Bad return status for module build on kernel: 5.12.6-artix1-1 (x86_64)
Consult /var/lib/dkms/zenpower/0.1.12/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m zenpower -v 0.1.12 -k 5.12.6-artix1-1' returned 10
now you know why... your module was not builded
put here output from
cat /var/lib/dkms/zenpower/0.1.12/build/make.log
yea I figured as much from you guys earlier response cause I couldnt find any .ko files for it...what can I do about fixing it?
edit: Aurora-R10:[neale]:~$ cat /var/lib/dkms/zenpower/0.1.12/build/make.log
DKMS make.log for zenpower-0.1.12 for kernel 5.12.6-artix1-1 (x86_64)
Thu May 27 13:08:24 EDT 2021
make: uname: No such file or directory
make: make: No such file or directory
make: *** [Makefile:27: modules] Error 127
put here output from
cat /var/lib/dkms/zenpower/0.1.12/build/make.log
i edited my other post but just in case
Aurora-R10:[neale]:~$ cat /var/lib/dkms/zenpower/0.1.12/build/make.log
DKMS make.log for zenpower-0.1.12 for kernel 5.12.6-artix1-1 (x86_64)
Thu May 27 13:08:24 EDT 2021
make: uname: No such file or directory
make: make: No such file or directory
make: *** [Makefile:27: modules] Error 127
did you updated your kernel today?
are you sure, that linux-headers are really installed?
what say
uname -r
I've tried building the kernel module here, but weirdly, I only get retroracer's errors (same log, even) if I use pamac as the AUR helper.
Yay and makepkg work fine.
@retroracer, does a manual build process for the package work?
git clone https://aur.archlinux.org/zenpower-dkms.git
cd zenpower-dkms
makepkg -fsi
@retroracer maybe you can install another AUR helper ..
pacman -S trizen
trizen -S zenpower-dkms
for checking, if this way works....
this worked....thank you guys so much
So that was a bug in Pamac.I second
@alium's recommendation of using a more "classic" AUR helper (like yay or trizen) that is made to work on Arch/Artix. They do the same thing, and likely won't have bugs like these since they only wrap pacman (rather than trying to replace it).
ya I had yay installed already so I could get GreenWithEnvy, but I'll go ahead and install trizen as well. Pamac having the GUI is super helpful as a beginner (and that was the first issue I had with it), but if its going to keep having issues its ease of use becomes moot lol.