[Bug 1563514] Re: [util-linux] lscpu: Fix model and model name on Power Systems

Gary Gaydos gmgaydos at us.ibm.com
Tue Mar 29 19:14:10 UTC 2016


** Package changed: ubuntu => util-linux (Ubuntu)

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

Title:
  [util-linux] lscpu: Fix model and model name on Power Systems

Status in util-linux package in Ubuntu:
  New

Bug description:
  == Comment: #5 - VASANT HEGDE <hegdevasant at in.ibm.com> - 2016-03-29 01:17:15 ==
  Updated description : Please mirror this description and comment 1 (ignore original description).
  ------------------------------------------------------------------------------------------------------------------------

  -Problem Description---
  lscpu: Fix model and model name on Power Systems
   
  Contact Information = hegdevasant at linux.vnet.ibm.com 
   
  ---uname output---
  Linux lep8d 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:06:23 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

   
  Machine Type = All Power System 
   
  ---Steps to Reproduce---
  - run lscpu on Ubuntu system and check for Model name and Model information.
    it displays system model instead of processor model.

   
  Userspace tool common name: util-linux

  Userspace rpm: util-linux

  ------------------------------------------------------------------------------------------------------------------------ 
  -Vasant


  
  == Comment: #1 - VASANT HEGDE <hegdevasant at in.ibm.com> - 2016-03-28 11:38:39 ==
  Please pull below patches from upstream:

  commit 3ac03fe4d20558b55635a048d7f2fb0f5e85ee2a
  Author: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
  Date:   Mon Mar 14 20:18:07 2016 +0530

      lscpu: Fix model and model name on Power Systems
      
      On Power System, lspcu presently displays system model number instead of
      processor model name. 'model' tag in cpuinfo contains system model name,
      not processor model. Instead it uses 'cpu' tag for processor model name.
      Also it uses 'revision' tag for processor model.
      
      Fix lspcu so that it displays processor model number. Also display processor
      model name.

  
  commit 641350fe822e7f1ac10873dad9a364bdeaba8083
  Author: Karel Zak <kzak at redhat.com>
  Date:   Tue Mar 15 14:23:59 2016 +0100

      lscpu: keep lscpu usable on snapshots
      
      This patch reverts 3ac03fe4d20558b55635a048d7f2fb0f5e85ee2a for
      snapshots (--sysroot).


  commit 86c4817e0ea02656ddb62fe27757a9fd4f13b2d3
  Author: Ruediger Meier <ruediger.meier at ga-group.nl>
  Date:   Wed Mar 16 13:18:17 2016 +0100

      Revert "lscpu: keep lscpu usable on snapshots"


  commit c95e3889725389e9d7e24d29c2a71b015959575f
  Author: Ruediger Meier <ruediger.meier at ga-group.nl>
  Date:   Wed Mar 16 13:18:18 2016 +0100

      lscpu: use cpu and revision tag if available
      
      Avoid ifdef which does not work with --sysroot. Our existing test
      dumps produce even better output now for ppc and sparc.
      
      The logic moved to the printing section.

  
  -Vasant

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



More information about the foundations-bugs mailing list