** Description changed: - on certain aarch64 systems lshw does not display cpu information + 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@0 *-cpu:1 DISABLED description: CPU product: cpu physical id: 2 bus info: cpu@1 *-cpu:2 DISABLED description: CPU product: cpu physical id: 4 bus info: cpu@2 *-cpu:3 DISABLED description: CPU product: cpu physical id: 5 bus info: cpu@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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1485086 Title: lshw does not display cpu information correctly on aarch64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1485086/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
