Bug#970236: linux-image-amd64: Missing /sys/devices/system/cpu/cpufreq/ if running inside a VM
Package: linux-image-amd64
Version: 5.8.7-1
Severity: important
Dear colleagues,
I am running a VirtualBox VM with debian sid for package testing purposes and I
encountered the absence of cpufreq driver entries under /sys/devices/system/cpu/cpufreq/
and /sys/devices/system/cpu/cpu*/cpufreq/.
On 'broken' Debian sid:
$ ls -la /sys/devices/system/cpu/cpu0/
total 0
drwxr-xr-x 6 root root 0 Sep 13 11:31 .
drwxr-xr-x 13 root root 0 Sep 13 11:31 ..
drwxr-xr-x 6 root root 0 Sep 13 13:51 cache
-r-------- 1 root root 4096 Sep 13 13:52 crash_notes
-r-------- 1 root root 4096 Sep 13 13:52 crash_notes_size
lrwxrwxrwx 1 root root 0 Sep 13 13:52 driver -> ../../../../bus/cpu/drivers/processor
lrwxrwxrwx 1 root root 0 Sep 13 13:52 firmware_node -> ../../../LNXSYSTM:00/LNXCPU:00
drwxr-xr-x 2 root root 0 Sep 13 13:51 hotplug
lrwxrwxrwx 1 root root 0 Sep 13 13:52 node0 -> ../../node/node0
drwxr-xr-x 2 root root 0 Sep 13 13:51 power
lrwxrwxrwx 1 root root 0 Sep 13 13:52 subsystem -> ../../../../bus/cpu
drwxr-xr-x 2 root root 0 Sep 13 13:51 topology
-rw-r--r-- 1 root root 4096 Sep 13 13:52 uevent
$ ls -la /sys/devices/system/cpu/cpufreq/
total 0
drwxr-xr-x 2 root root 0 Sep 13 13:51 .
drwxr-xr-x 13 root root 0 Sep 13 11:31 ..
On 'working' Ubuntu 18.04.5:
$ ls -la /sys/devices/system/cpu/cpu0
загалом 0
drwxr-xr-x 7 root root 0 вер 13 13:54 .
drwxr-xr-x 15 root root 0 вер 11 06:58 ..
drwxr-xr-x 7 root root 0 вер 11 06:59 cache
lrwxrwxrwx 1 root root 0 вер 11 06:59 cpufreq -> ../cpufreq/policy0
-r-------- 1 root root 4096 вер 13 13:54 crash_notes
-r-------- 1 root root 4096 вер 13 13:54 crash_notes_size
lrwxrwxrwx 1 root root 0 вер 13 13:54 driver -> ../../../../bus/cpu/drivers/processor
lrwxrwxrwx 1 root root 0 вер 13 13:54 firmware_node -> ../../../LNXSYSTM:00/LNXCPU:00
drwxr-xr-x 2 root root 0 вер 13 13:54 hotplug
drwxr-xr-x 2 root root 0 вер 13 13:54 microcode
lrwxrwxrwx 1 root root 0 вер 13 13:54 node0 -> ../../node/node0
drwxr-xr-x 2 root root 0 вер 13 13:54 power
lrwxrwxrwx 1 root root 0 вер 13 13:54 subsystem -> ../../../../bus/cpu
drwxr-xr-x 2 root root 0 вер 12 08:38 topology
-rw-r--r-- 1 root root 4096 вер 13 13:54 uevent
$ ls -la /sys/devices/system/cpu/cpufreq/
загалом 0
drwxr-xr-x 9 root root 0 вер 13 13:54 .
drwxr-xr-x 15 root root 0 вер 13 13:54 ..
-rw-r--r-- 1 root root 4096 вер 13 13:54 boost
drwxr-xr-x 2 root root 0 вер 13 13:54 ondemand
drwxr-xr-x 3 root root 0 вер 11 06:59 policy0
drwxr-xr-x 3 root root 0 вер 11 06:59 policy1
drwxr-xr-x 3 root root 0 вер 11 06:59 policy2
drwxr-xr-x 3 root root 0 вер 11 06:59 policy3
drwxr-xr-x 3 root root 0 вер 11 06:59 policy4
drwxr-xr-x 3 root root 0 вер 11 06:59 policy5
The 5.7.17 kernel from buster-backports has also cpufreq entries in place.
Sincerely,
Vasyl
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux debian-sid 5.8.0-1-amd64 #1 SMP Debian 5.8.7-1 (2020-09-05) x86_64 GNU/Linux
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages linux-image-amd64 depends on:
pn linux-image-5.7.0-3-amd64 <none>
linux-image-amd64 recommends no packages.
linux-image-amd64 suggests no packages.
Reply to: