BeardOverflow / msi-ec

GNU General Public License v2.0
147 stars 45 forks source link

In-kernel module not replaced with git when kernel use `.zst` compression [DKMS] #150

Open glpnk opened 2 months ago

glpnk commented 2 months ago

Description

Is it only Ubuntu problem? Or maybe issue of outdated Ubuntu 22.04.... Weird kernel? Because on previous one it worked.

OS: Pop OS 22.04 Kernel: Linux pop-os 6.9.3-76060903-generic #202405300957~1721174657~22.04~abb7c06 SMP PREEMPT_DYNAMIC Wed J x86_64 x86_64 x86_64 GNU/Linux

DKMS module system76_acpi successfully replaced, so maybe we need to check their DKMS config. Maybe we need to install to updates kernel module directory or add zstd compression if it used

glpnk commented 2 months ago

For some reason module was installed twice: in driver folder and extra. Do someone have same problem?

teackot commented 2 months ago

in driver folder

What is the path to this one?

glpnk commented 2 months ago

Kernel modules package install all in:

ls /lib/modules/$(uname -r)/kernel/drivers/platform/x86/msi*

DKMS remove file from module from drivers and install custom here:

ls /lib/modules/$(uname -r)/extra/msi*

Maybe I've installed module twice (but this impossible) or dkms restored module to wrong folder during removing. Kernel update had same name and version, so maybe it messed dkms

Upd: about zstd compression - it wasn't a problem, but I misunderstood how this works

teackot commented 2 months ago

I couldn't reproduce it on Fedora 40

Maybe it is related to #146 ? It was merged just a week before you created this issue

glpnk commented 2 months ago

Maybe, because then I tested it without this patch