Hi, if this is on bionic, you need to wait until 23rd Feb respin is
done, which I guess for you means Monday unfortunately. Since 4.15
landed in bionic now, but d-i was not rebuild correctly in time, thus
there was a missmatch of things temporarily.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Ubuntu18.04: PowerNV - cpupower monitor will not work when cpu0 is

Status in The Ubuntu-power-systems project:
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

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:~# echo 1 > /sys/devices/system/cpu/cpu0/online 
  root@ltc-wspoon12:~# cpupower -c 12 monitor 
  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 : 

  == 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:

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

Reply via email to