Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #81434

Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module

Path csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Jy Deng <1700011628@pku.edu.cn>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module
Date Thu, 04 Jan 2024 16:50:01 +0100
Message-ID <HSy8N-LI2-1@gated-at.bofh.it> (permalink)
References <HSsd3-Hdd-5@gated-at.bofh.it> <HSwgF-K5o-1@gated-at.bofh.it> <HSwJH-Kxm-1@gated-at.bofh.it> <HSwJH-Kxm-1@gated-at.bofh.it> <HSsd3-Hdd-5@gated-at.bofh.it> <HSwJH-Kxm-1@gated-at.bofh.it>
X-Original-To 1059969@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jan 4 15:48:14 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 0.441
Reply-To Jy Deng <1700011628@pku.edu.cn>, 1059969@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1059969
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source linux
Content-Type multipart/alternative; boundary="------------dSyAflfHV0lPct9mL9WOGB0V"
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
X-Cm-Transid 54FpogA3lOlg0pZlPSokAQ--.16672S2
X-Coremail-Antispam 1UD129KBjvJXoW7Kw15KFyUXFW8GryUKw1UAwb_yoW8ArWfpa y2k3yYkr4kGF95ua9rC3ykG3y0g393ArW5Gr1kCrn3tw1UCFn7ZFy2g3Wfury7WF1Iva1j y39rua4xtrykW3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUkIb7Iv0xC_tr1lb4IE77IF4wAFc2x0x2IEx4CE42xK8VAvwI8I cIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2 AK021l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v2 6r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI 0_GcCE3s1lnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcVAKI48JMxkIecxEwVAFwVW5WwCF04k20xvY0x0EwIxGrwCF04k20xvE74AG Y7Cv6cx26w4DJr1UJwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r106r 1rMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jr0_JrylIxkGc2Ij64vI r41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr 1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvE x4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU89a93UUUUU==
X-Cm-Senderinfo ysrqiiyrqslko6sn3hxhgxhubq/1tbiAgEGA2WW0LcAHQABsO
X-Greylist delayed 7810 seconds by postgrey-1.36 at buxtehude; Thu, 04 Jan 2024 15:44:39 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1814345
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 124
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 4 Jan 2024 23:44:32 +0800
X-Original-Message-ID <00f6fb6d-5387-4af3-8f36-ee7dccbed255@pku.edu.cn>
X-Original-References <170435981787.4371.16674283142775211083.reportbug@Elite865-G10> <23e5b583-66cc-4e45-8070-c2dec86fe443@pku.edu.cn> <2681156.Dk7WeBBu9X@bagend> <2681156.Dk7WeBBu9X@bagend> <170435981787.4371.16674283142775211083.reportbug@Elite865-G10> <2681156.Dk7WeBBu9X@bagend>
Xref csiph.com linux.debian.bugs.dist:1181073 linux.debian.kernel:81434

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, 04 Jan 2024 15:04:53 +0100 Diederik de Haas 
<didi.debian@cknow.org> wrote:
 > On Thursday, 4 January 2024 14:34:10 CET Jy Deng wrote:
 > > 3. I find that if CONFIG_CPU_FREQ_GOV_POWERSAVE=m, then though such
 > > module cannot be in use after boot at once, but it is possible to
 > > manually modprobe them. So it may indicate that to use
 > > CONFIG_CPU_FREQ_GOV_POWERSAVE=m with CONFIG_MODULE_COMPRESS_XZ=y is
 > > actually possible. The problem we find here may be not so fundamental.
 >
 > That's actually how it always worked.
 > $ cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors
 >
 > likely only lists 'performance' and 'schedutil'.
 > /lib/modules/$(uname -r)/kernel/drivers/cpufreq/ lists several more 
governors
 > and when you modprobe them, they get added to 
'scaling_available_governors'.
 > And also to `cpupower frequency-info` -> 'available cpufreq governors'.
 >

 > So if you can verify whether it works with 'modprobe' then this is 
not a bug.

Fine. I have found the problem. It is a bug, but maybe I should say it 
not a bug of kernel but a bug of cooperation.

The backgroud is : Debian (unlike some other distros) uses 'loadcpufreq' 
to load scaling governors. However, 'loadcpufreq' is an out-of-date .sh 
script that does not support compressed kmod (which end with like .ko.xz 
or .ko.zst rather than .ko, which is not considered in the script).

So when kernel team decided to change the config to compress the kmod 
with xz, the maintainer of package 'cpufrequtils' (which includes 
'loadcpufreq' script) did not get such information so he/she did not 
make any update so that now the governors are not available out of box.

I will report bug to 'cpufrequtils' tomorrow.

Thanks.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module Luca Boccassi <bluca@debian.org> - 2024-01-04 12:40 +0100
  Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module Jy Deng <1700011628@pku.edu.cn> - 2024-01-04 14:50 +0100
    Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module Diederik de Haas <didi.debian@cknow.org> - 2024-01-04 15:20 +0100
      Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module Jy Deng <1700011628@pku.edu.cn> - 2024-01-04 16:00 +0100
      Bug#1059969: linux-image-6.6.9-amd64: CONFIG_MODULE_COMPRESS_XZ=y breaks cpu frequency scaling governor kernel module Jy Deng <1700011628@pku.edu.cn> - 2024-01-04 16:50 +0100

csiph-web