** Description changed:

  [Impact]
  
  Azure requested cppc_cpufreq to be available by default (without need to
- install modules-extra). Address this by moving it to linux-modules.
+ install modules-extra) on linux-azure and linux-azure-nvidia kernels 6.8
+ and newer kernels. Address this by moving it to linux-modules.
  
  Include cppc_cpufreq module in linux-modules package instead of linux-
  modules-extra so that cpufreq is enabled by default (without the need to
  install linux-modules-extra).
  
  The fix is fairly simple, add the cppc_cpufreq.ko modules to azure-
- nvidia.inclusion-list.
+ nvidia.inclusion-list in linux-azure-nvidia package, and to
+ azure.inclusion-list for the linux-azure package.
+ 
+ This has been fixed in linux-azure-nvidia as of linux-azure-nvidia -
+ 6.8.0-1025.27. For linux-azure, the fix needs to be applied to Noble,
+ Plucky, and Resolute. Questing can be skipped due to the commit at [1],
+ which completely consolidates linux-modules and linux-modules-extra due
+ to improvements to zst compression as outlined in LP: #2042831 [2]. All
+ the modules can be compressed smaller than the original size of the
+ linux-modules set, so there's no longer a benefit to the separation
+ 
+ [1] 
https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-azure/+git/questing/commit/debian.azure/control.d?h=master-next&id=1f36467420212d3073f7ee78bf7cb16b5c340146
+ [2] https://bugs.launchpad.net/bugs/2042831
  
  [Test Case]
  
  Currently cppc_cpufreq is not included in linux-modules package.
  
  root@flavio:/home/ubuntu# uname -rv
  6.8.0-1019-azure-nvidia #20-Ubuntu SMP Fri Jun 27 23:52:00 UTC 2025
  root@flavio:/home/ubuntu# lsmod  | grep cpufreq
  root@flavio:/home/ubuntu#
  root@flavio:/home/ubuntu# cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or 
directory
  
  Preparing a test kernel with the fix and installing only the linux-image
  and linux-modules package, cppc_cpufreq is present.
  
  ubuntu@flavio:~$ uname -rv
  6.8.0-1020-azure-nvidia #21 SMP Mon Aug  4 16:37:34 UTC 2025
  
  root@flavio:/home/ubuntu# lsmod | grep cpufreq
  cppc_cpufreq          262144  0
  root@flavio:/home/ubuntu# cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  ondemand
  
  [Where problems could occur]
  
  The fix just adds a module in linux-modules package. Not any severe
  regressions expected. However, those who expected to find this module in
  modules-extra will not find there anymore.
  
  [Other]
  
  The fix is needed for linux-azure-nvidia, for Noble, 6.8.
  SF#413581

** Description changed:

  [Impact]
  
  Azure requested cppc_cpufreq to be available by default (without need to
  install modules-extra) on linux-azure and linux-azure-nvidia kernels 6.8
  and newer kernels. Address this by moving it to linux-modules.
  
  Include cppc_cpufreq module in linux-modules package instead of linux-
  modules-extra so that cpufreq is enabled by default (without the need to
  install linux-modules-extra).
  
  The fix is fairly simple, add the cppc_cpufreq.ko modules to azure-
  nvidia.inclusion-list in linux-azure-nvidia package, and to
  azure.inclusion-list for the linux-azure package.
  
  This has been fixed in linux-azure-nvidia as of linux-azure-nvidia -
  6.8.0-1025.27. For linux-azure, the fix needs to be applied to Noble,
  Plucky, and Resolute. Questing can be skipped due to the commit at [1],
  which completely consolidates linux-modules and linux-modules-extra due
  to improvements to zst compression as outlined in LP: #2042831 [2]. All
  the modules can be compressed smaller than the original size of the
- linux-modules set, so there's no longer a benefit to the separation
+ linux-modules set, so there's no longer a benefit to the separation. If
+ the patch at [1] is applied to Resolute before the one for this LP bug
+ is applied, this patch can be dropped for Resolute.
  
  [1] 
https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-azure/+git/questing/commit/debian.azure/control.d?h=master-next&id=1f36467420212d3073f7ee78bf7cb16b5c340146
  [2] https://bugs.launchpad.net/bugs/2042831
  
  [Test Case]
  
  Currently cppc_cpufreq is not included in linux-modules package.
  
  root@flavio:/home/ubuntu# uname -rv
  6.8.0-1019-azure-nvidia #20-Ubuntu SMP Fri Jun 27 23:52:00 UTC 2025
  root@flavio:/home/ubuntu# lsmod  | grep cpufreq
  root@flavio:/home/ubuntu#
  root@flavio:/home/ubuntu# cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or 
directory
  
  Preparing a test kernel with the fix and installing only the linux-image
  and linux-modules package, cppc_cpufreq is present.
  
  ubuntu@flavio:~$ uname -rv
  6.8.0-1020-azure-nvidia #21 SMP Mon Aug  4 16:37:34 UTC 2025
  
  root@flavio:/home/ubuntu# lsmod | grep cpufreq
  cppc_cpufreq          262144  0
  root@flavio:/home/ubuntu# cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  ondemand
  
  [Where problems could occur]
  
  The fix just adds a module in linux-modules package. Not any severe
  regressions expected. However, those who expected to find this module in
  modules-extra will not find there anymore.
  
  [Other]
  
  The fix is needed for linux-azure-nvidia, for Noble, 6.8.
  SF#413581

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2119465

Title:
  linux-azure-nvidia: Include cppc_cpufreq in linux-modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2119465/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to