-
Notifications
You must be signed in to change notification settings - Fork 18
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
on kernel-update, dkms errors out and can only be installed after reboot #27
Comments
Hi, thanks for the report. I'm not too familiar with |
There is no
That's from the |
I'm not entirely sure if this is the issue but I noticed that when reinstalling the module with Anyway, I made some changes to the |
Thanks, will try and report back after the next kernel update! :) |
Unfortunately, still the same issue:
/var/lib/dkms/hid-tmff2/0.8/build/make.log:
what i notice is that the edit 2: i removed (what a hassle with a broken state...) the modules and installed it again, verifying to have the correct
5.14.6-2 is the currently running, "old" kernel, so it seems it's trying to install it twice (for 5.14 and 5.10), but still resorting to the currently running kernel version setting the paths. Looking through the repo i notice that your makefile uses |
The commit I pushed a couple days ago sets the |
I don't think thats the same - xpadneo uses |
I think we're talking past eachother. If you look into xpadneo's
It seems like they completely skip running their own makefile and instead directly use the one found in I still don't understand the error message from
It seems like |
That's what i think, too - the errors in the make.log also point to the directories of the "old" (but at that moment still running) kernel versions. And those got removed during the update to a newer kernel version of course - same with the headerfiles in the dkms-error. |
Could you clarify the last command:
From what I've understood so far, when updating the kernel the headers for the old kernel are removed by pacman. If you manually tell That shouldn't be possible, as the compilation depends on the headers for the specified version. |
i have both During the update, the pacman-hook tries to install it for the current version
see the version in the first line and the directory it's trying to use in the 5th line. Looking at those though, they also use |
Oh, right, thanks, that clears things up. I tried installing a new kernel on debian, and from the
and in the corresponding
with my current running kernel being Could you still check |
very strange behaviour indeed - i'm tempted to setup a manjaro-vm and see if i can replicate the behaviour there or if it's something weird (whatever on earth that might be) with my machine...maybe i'll find time for that tomorrow. Would still be strange that only hid-tmff2 seems affected. Where do you find the dkms log? I can't find any information about that? |
Sorry, unclear wording. I meant that that was the output of
I don't rule out the possibility of an issue with my |
Hang on, I might've overlooked something massive. |
Good catch! |
Good news! Finally another real update and it worked as expected 👍 |
Nice, thanks for the help. |
First of all: thank you for the driver! :D
The only issue i encounter is that the dkms modules can't be installed on kernel update because dkms is trying to install them in the old kernel:
as i only encounter this behaviour with hid-tmff2, i would assume it's something in your dkms.conf (i have no experiencing in packaging dkms though). One thing that i notice when looking at the dkms.conf file and comparing it to xpadneo's .conf-file (which works as expected here) is the MAKE line:
MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src VERSION=$PACKAGE_VERSION modules"
maybe that has something to do with it?
The text was updated successfully, but these errors were encountered: