thin lto brakes corefreq #459
-
cachyos-lto kernel causes this to happen someone reported they were unable to boot. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 6 replies
-
Indeed I can see bad connection issues with the backend:
CachyOS was a best effort to support but this kernel mod is too patched for a long term programming environment. |
Beta Was this translation helpful? Give feedback.
-
Regarding the AUR you may get a little help from @inglor but not sure if CachyOS is supported by package. |
Beta Was this translation helpful? Give feedback.
-
@LethalManBoob you might have a better support if you were using any of the Arch Linux kernels from the repos. Can you try with the default Arch Linux real-time kernel to check if this is irelevant of CachyOS patches? Otherwise you probably need to ask in CachyOS support or something. |
Beta Was this translation helpful? Give feedback.
-
It can build on the base aur linux-rt but not cachyos-rt |
Beta Was this translation helpful? Give feedback.
-
@LethalManBoob check with the maintainers of the cachyos-rt - probably one of their patches is breaking this. |
Beta Was this translation helpful? Give feedback.
-
@LethalManBoob |
Beta Was this translation helpful? Give feedback.
-
He should provide the log of the failed compilation. Edit: |
Beta Was this translation helpful? Give feedback.
-
My experience is that it works fine with normal kernels (including linux-cachyos) and builds fine via DKMS for the LTO variants but as soon as I boot an LTO kernel with the corefreq module enabled I cannot even log in. SDDM launches but after entering my password I get about 20 seconds of black screen before being dumped back at SDDM. If I switch to another TTY and try to login to the console it hangs after I enter username and password, never proceeds to a shell prompt. As I can't login via gui or console when this happens I don't know how to debug or get logs. If I disable the corefreq module the LTO kernels otherwise run fine. Has anyone got any ideas how to debug further? |
Beta Was this translation helpful? Give feedback.
-
I've been using thin LTO with CoreFreq for a long time with no issues, I'm currently on cachyos 6.6-rc1 built with Clang and thin LTO. I'm almost certain this is a bug which was reported previously. It is fixed by rebuilding your kernel with CONFIG_FORTIFY_SOURCE disabled. See #422 (comment) |
Beta Was this translation helpful? Give feedback.
-
This still seems not for me for a solution, to disable FORTIFY_SOURCE globally for our config, just because corefreq has issues with. Maybe reporting a bug to llvm/clang would be also worth to get some further information. Edit: |
Beta Was this translation helpful? Give feedback.
-
Concerning |
Beta Was this translation helpful? Give feedback.
-
cachyos-rt-lto would not boot with corefreq-client,dkms,server installed just a heads up. |
Beta Was this translation helpful? Give feedback.
I did not test corefreq yet on RT, but I could imagine that the RT or THIN LTO is breaking corefreq with it.
We also don't suggest to use custom modules with Thin LTO or other custom stuff, which is not tested OOB.