[Bug 1308760] Update Released
Chris J Arges
1308760 at bugs.launchpad.net
Tue Oct 28 13:43:28 UTC 2014
The verification of the Stable Release Update for lshw has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
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/1308760
Title:
lshw doesn't deal w/ device-tree endianness
Status in lshw - Hardware Lister:
Unknown
Status in “lshw” package in Ubuntu:
Fix Released
Status in “lshw” source package in Trusty:
Fix Released
Status in “lshw” package in Debian:
New
Bug description:
[Impact]
lshw parses /proc/device-tree to read system properties on device-tree-based platforms. But, on little endian systems like armhf and arm64, it doesn't properly convert the data, which should always be big endian. This can cause incorrect data to be reported. For instance, a 1GHz cpu might be reported as 13MHz because lshw reads a frequency of 0xca9a3b (13MHz) instead of 0x3b9aca00 (1GHz).
[Test Case]
Run lshw on an HP m800 cartridge and examine the cpu frequency.
[Regression Potential]
We're changing parsing code, so there's a possibility that we break that code on systems that currently work in trusty. I tested on a big endian system to make sure it didn't break things there (powerpc), and found the output to be byte-for-byte identical before and after the patch.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lshw/+bug/1308760/+subscriptions
More information about the foundations-bugs
mailing list