This bug has now been closed in LP. If the issue is recurring with more recent kernels, could you raise a new defect referring back to this one (LP#1743541)? Thanks.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1743541 Title: Ubuntu18.04: PowerNV - cpupower monitor will not work when cpu0 is offline Status in The Ubuntu-power-systems project: Fix Released Status in linux package in Ubuntu: Fix Released Status in linux source package in Bionic: Fix Released Bug description: == Comment: #0 - Shriya R. Kulkarni <shriy...@in.ibm.com> - 2018-01-16 04:58:48 == Problem Description : ============= cpupower monitor fails to show stop states when cpu 0 is made offline. Testing : ===== root@ltc-wspoon12:~# echo 0 > /sys/devices/system/cpu/cpu0/online root@ltc-wspoon12:~# cpupower monitor WARNING: at least one cpu is offline No HW Cstate monitors found root@ltc-wspoon12:~# cpupower -c 12 monitor WARNING: at least one cpu is offline No HW Cstate monitors found root@ltc-wspoon12:~# root@ltc-wspoon12:~# echo 1 > /sys/devices/system/cpu/cpu0/online root@ltc-wspoon12:~# cpupower -c 12 monitor |Idle_Stats PKG |CORE|CPU | snoo | stop | stop | stop | stop 0| 12| 12| 0.00| 0.00| 0.00| 0.00| 0.01 Details : ==== uname -a : Linux ltc-wspoon12 4.13.0-25-generic #29-Ubuntu SMP Mon Jan 8 21:15:55 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux OS : Ubuntu 18.04 Machine : Witherspoon ( DD2.1) and Boston (DD.01) Patch : ==== Patch that fixes the issue : https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=dbdc468f35ee827cab2753caa1c660bdb832243a == Comment: #1 - VIPIN K. PARASHAR <vipar...@in.ibm.com> - 2018-01-16 05:09:40 == (In reply to comment #0) > Patch : > ==== > Patch that fixes the issue : > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/ > ?id=dbdc468f35ee827cab2753caa1c660bdb832243a $ git log dbdc468f35ee827 -1 commit dbdc468f35ee827cab2753caa1c660bdb832243a Author: Abhishek Goel <hunt...@linux.vnet.ibm.com> Date: Wed Nov 15 14:10:02 2017 +0530 cpupower : Fix cpupower working when cpu0 is offline cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by getting the cpu on which the current thread is running, instead of always using cpu0 for monitoring which may not be online. Signed-off-by: Abhishek Goel <hunt...@linux.vnet.ibm.com> Signed-off-by: Shuah Khan <shua...@osg.samsung.com> $ Commit dbdc468f3 is available with 4.15-rc2 onwards. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1743541/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp