Closed ganto closed 1 year ago
Sorry for that bug.
Until I fix it, please build your kernel with CONFIG_PM_SLEEP
To reproduce your issue, I'm removing any SUSPEND, HIBERNATE features and others dependencies found (remove XEN, but keep ACPI)
EDIT: second attempt to build a PM_SLEEP
free kernel
Now rebooting that kernel ...
EDIT: Issue reproduced
corefreqk.c:22098:17: error: ‘struct <anonymous>’ has no member named ‘ResumeFromSuspend’
22098 | if (CoreFreqK.ResumeFromSuspend == false)
Please pull, build and run CoreFreq from the develop
branch (until the fix gets merged into master
).
Sorry, I might not have the most standard kernel configuration. Thanks a lot for the quick fix. Works perfectly fine now.
You can find some quickly done ebuilds in my overlay at sys-apps/corefreq and sys-apps/corefreq-kmod. For the module build I needed to add a separate make target (1.93.1-Add-separate-target-to-build-kernel-module.patch). Maybe you can also add this to your Makefile?
Sorry, I might not have the most standard kernel configuration. Thanks a lot for the quick fix. Works perfectly fine now.
You can find some quickly done ebuilds in my overlay at sys-apps/corefreq and sys-apps/corefreq-kmod. For the module build I needed to add a separate make target (1.93.1-Add-separate-target-to-build-kernel-module.patch). Maybe you can also add this to your Makefile?
Thanks a lot for your contribution.
I'm thinking about referencing your ebuild
either as an external git sub-project or to mention a link in the Readme.md within a gentoo section : the goal in any case is to let you maintain the packaging.
Second choice is the easiest for me but Some don't read docs ...
I want to help with 1.93.1-Add-separate-target-to-build-kernel-module.patch
and my understanding is that the module
keyword makes the difference. Non regression has to be done on all distributions: ArchLinux, Opensuse, Unraid, Redhat(s), Debian(s), ClearLinux, in addition to Gentoo; from v3 to v6 kernels
If Makefile
fails then project becomes a brick ...
Please feel free to come back here if you have an issue.
When I try to build CoreFreq (release 1.93.1 or current master) on a Gentoo machine against kernel 6.1.1 it fails with:
System: