cppc_cpufreq.ko doesn't load on Cavium ThunderX2 system w/Ubuntu 22.04.3 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[Bug Description]
cpufreq governor fails to start after installing Ubuntu 22.04.3LTS w/ latest kernel
[Steps to Reproduce]
1) Booted Ubuntu 22.04.3 LTS w/ 5.15.0-94-generic
2) dmesg | grep cppc shows no driver
3) lsmod | grep cppc shows that cppc-cpufreq is not loaded
4) lsmod | grep thunderx2 is loaded and perf works
root@n008:~# lsmod |grep thunder
thunderx2_pmu 24576 0
[Actual Results]
root@n008:~# modprobe cppc-cpufreq
modprobe: ERROR: could not insert 'cppc_cpufreq': No such device
root@n008:~# cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
root@n005:~#
[Expected Results]
Can set frequency governor on Ubuntu 22.04.3LT w/ 5.15.0-94-generic or linux-hwe kernels
Used to work Ubuntu 18.04.6LTS w/ 5.4.0-150-generic
[Reproducibility]
100%
[Additional information]
root@n008:
System:
Host: n008 Kernel: 5.15.0-94-generic aarch64 bits: 64 Console: pty pts/0
Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Machine:
Type: Server System: GIGABYTE product: R281-T94-00 v: 0100 serial: XXXXXXXXX
Mobo: GIGABYTE model: MT91-FS4-00 v: 00030101 serial: XXXXXXXUEFI: GIGABYTE v: F34
date: 08/13/2020
CPU:
Info: 2x 32-core Model N/A [MT MCP SMP] speed: 0
Graphics:
Device-1: ASPEED Graphics Family driver: ast v: kernel
Display: server: N/A driver: X: loaded: modesetting gpu: ast tty: 118x27
Message: GL data unavailable in console for root.
Network:
Device-1: Mellanox MT28908 Family [ConnectX-6] driver: mlx5_core
Device-2: Mellanox MT28908 Family [ConnectX-6] driver: mlx5_core
Device-3: QLogic FastLinQ QL41000 Series 10/25/40/50GbE driver: qede
Device-4: QLogic FastLinQ QL41000 Series 10/25/40/50GbE driver: qede
Device-5: Mellanox MT28908 Family [ConnectX-6] driver: mlx5_core
Device-6: Mellanox MT28908 Family [ConnectX-6] driver: mlx5_core
Device-7: Mellanox MT27710 Family [ConnectX-4 Lx] driver: mlx5_core
Drives:
Local Storage: total: raw: 7.2 TiB usable: 5.46 TiB used: 1.74 TiB (31.9%)
Info:
Processes: 2282 Uptime: 1h 3m Memory: 1001.64 GiB used: 8.65 GiB (0.9%) Init: systemd
runlevel: 5 Shell: Bash inxi: 3.3.13
[Resolution]
Related to bug # 1745007
https:/ /access. redhat. com/articles/ 7011459