[Bug 1485086] Re: lshw does not display cpu information correctly on aarch64

Brian Murray brian at ubuntu.com
Thu Aug 27 19:13:48 UTC 2015


Hello Manoj, or anyone else affected,

Accepted lshw into vivid-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/lshw/02.17-1.1ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: lshw (Ubuntu Vivid)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

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

Title:
  lshw does not display cpu information correctly on aarch64

Status in lshw package in Ubuntu:
  Fix Released
Status in lshw source package in Trusty:
  Confirmed
Status in lshw source package in Vivid:
  Fix Committed
Status in lshw source package in Wily:
  Fix Released

Bug description:
  On certain aarch64 systems lshw does not display cpu information
  correctly. It displays cpu0 and the any subsequent cpus are displayed
  as DISABLED.  On a multi core aarch64 system lshw displays the
  following:

    *-core
         description: Motherboard
         physical id: 0
         capabilities: < Intentionally Removed >
       *-cpu:0
            description: CPU
            product: cpu
            physical id: 0
            bus info: cpu at 0
       *-cpu:1 DISABLED
            description: CPU
            product: cpu
            physical id: 2
            bus info: cpu at 1
       *-cpu:2 DISABLED
            description: CPU
            product: cpu
            physical id: 4
            bus info: cpu at 2
       *-cpu:3 DISABLED
            description: CPU
            product: cpu
            physical id: 5
            bus info: cpu at 3

  Please consider the attached merge proposal for SRU in trusty.

  [Impact]

   * When users run lshw on aarch64 systems the CPU information is not
  displayed correctly. It displays cpu0 and the any subsequent cpus are
  displayed as DISABLED. Please refer to bug description for details on
  output.

   * This bug can be fixed by adding code to handle the aarch64 case
  similar to the existing code for powerpc, x86, x64, ia64 etc. But,
  lshw upstream has done the work of adding support for s390 and
  aarch64. It will be better to backport those changes rather than using
  a bandaid fix for aarch64 in ubuntu.

  
  [Test Case]

   * On an ubuntu aarch64 system run the command sudo lshw and look at
  the information displayed for cpu. Without the patch you should see
  that CPU 1-N will be DISABLED.

   * With the patch run lshw on aarch64 ubuntu system and you should see
  that it lists CPUs 1-N and display information about the CPU.

  [Regression Potential]

   * Currently support for aarch64 is broken, so if a regression were to
  occur it could be in other archs. But, the changes introduced by this
  patch is to support aarch64 and s390 systems and those changes should
  not impact other archs.

   * This patch was tested on a 48 core aarch64 system running Trusty
  and found to work as expected. lshw package for wily and trusty were
  built and tested on an aarch64 system running Trusty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1485086/+subscriptions



More information about the foundations-bugs mailing list