linux-tools and linux-cloud-tools for ppa mainline kernels

Bug #1988605 reported by torel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd'

# lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

2) The version of the package you are using, via 'apt-cache policy pkgname'

# apt-cache policy linux-headers-5.19.5-051905_5.19.5-051905.202208291036_all.deb linux-headers-5.19.5-051905-generic_5.19.5-051905.202208291036_amd64.deb linux-image-unsigned-5.19.5-051905-generic_5.19.5-051905.202208291036_amd64.deb linux-modules-5.19.5-051905-generic_5.19.5-051905.202208291036_amd64.deb^C
root@xbmc:~/Downloads/Linux/5.19.5# apt-cache policy linux-headers-5.19.5-051905 linux-headers-5.19.5-051905-generic linux-image-unsigned-5.19.5-051905-generic linux-modules-5.19.5-051905-generic
linux-headers-5.19.5-051905:
  Installert: 5.19.5-051905.202208291036
  Kandidat: 5.19.5-051905.202208291036
  Versjonstabell:
 *** 5.19.5-051905.202208291036 100
        100 /var/lib/dpkg/status
linux-headers-5.19.5-051905-generic:
  Installert: 5.19.5-051905.202208291036
  Kandidat: 5.19.5-051905.202208291036
  Versjonstabell:
 *** 5.19.5-051905.202208291036 100
        100 /var/lib/dpkg/status
linux-image-unsigned-5.19.5-051905-generic:
  Installert: 5.19.5-051905.202208291036
  Kandidat: 5.19.5-051905.202208291036
  Versjonstabell:
 *** 5.19.5-051905.202208291036 100
        100 /var/lib/dpkg/status
linux-modules-5.19.5-051905-generic:
  Installert: 5.19.5-051905.202208291036
  Kandidat: 5.19.5-051905.202208291036
  Versjonstabell:
 *** 5.19.5-051905.202208291036 100
        100 /var/lib/dpkg/status

3) What you expected to happen

I expect cpupower and perf to be present also for ppa mainline kernels. It has been bothering me for a while now that it is not part of what is built.

4) What happened instead

$ sudo perf stat -a -e power/energy-pkg/,power/energy-cores/,cycles -I 1000 sleep 1000
WARNING: perf not found for kernel 5.19.5-051905

  You may need to install the following packages for this specific kernel:
    linux-tools-5.19.5-051905-generic
    linux-cloud-tools-5.19.5-051905-generic

  You may also want to install one of the following packages to keep up to date:
    linux-tools-generic
    linux-cloud-tools-generic

$ sudo cpupower
WARNING: cpupower not found for kernel 5.19.5-051905

  You may need to install the following packages for this specific kernel:
    linux-tools-5.19.5-051905-generic
    linux-cloud-tools-5.19.5-051905-generic

  You may also want to install one of the following packages to keep up to date:
    linux-tools-generic
    linux-cloud-tools-generic

Would be very useful if these tools was present also for mainline ppa kernels.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1988605/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
torel (torehl) wrote :

The commands is part of linux-tools-common. E.g. on Ubuntu 18.04.6LTS

root@h001:~# dpkg -S `which cpupower`
linux-tools-common: /usr/bin/cpupower

root@h001:~# dpkg -S `which perf`
linux-tools-common: /usr/bin/perf

root@h001:~# dpkg -l linux-tools-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-============================================================
ii linux-tools-common 4.15.0-192.203 all Linux kernel version specific tools for version 4.15.0

root@h001:~# dpkg -l | grep linux-tools-common
ii linux-tools-common 4.15.0-192.203 all Linux kernel version specific tools for version 4.15.0

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1988605

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.