[Bug 1039701] Re: Wrong RAM memory size

Lee Trager lee.trager at canonical.com
Wed Jun 1 21:14:32 UTC 2016


** Description changed:

- 1)
- Description:	Ubuntu 12.04.1 LTS (Greek)
- Release:	12.04
- 2)
- landscape-client:
-   Εγκατεστημένα: 12.05-0ubuntu0.12.04
-   Υποψήφιο:      12.05-0ubuntu0.12.04
-   Πίνακας Έκδοσης:
-  *** 12.05-0ubuntu0.12.04 0
-         500 http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
-         100 /var/lib/dpkg/status
-      12.04.3-0ubuntu1 0
-         500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
- 3) 
- Report 1.5GB RAM
- free -m
-              total       used       free     shared    buffers     cached
- Mem:          1506       1354        151          0         23        410
- -/+ buffers/cache:        920        585
- Swap:         1482        224       1257
+ [Impact]
+ lshw is not using smbios to obtain hardware information. This is causing lshw to report incorrect information to user. For example I have a machine which has one physical CPU with 8 cores and 32G of RAM. lshw is reporting the machine has only one physical CPU with 0 cores and 32162MiB of RAM.
  
- cat /proc/meminfo | grep MemTotal
- MemTotal:        1542260 kB
+ [Test case]
+ Run lshw and compare its reported values with what you know the physical system has. To help simplify testing I use this script http://paste.ubuntu.com/16900290/ which can be run with the command `sudo lshw -xml | ./parse_lshw`
  
- 4)
- My Laptop
- Edit computer
- dimitris-laptop
- Last seen: 	Today at 22:12
- Registered: 	Today at 20:38
- Distribution: 	Ubuntu 12.04.1 LTS (precise)
- Hardware: 	
- Processor: 	Intel(R) Pentium(R) M processor 2.00GHz
- Memory: 	2 GiB RAM
+ [Regression Potential]
+ smbios-noscan.patch was introduced to prevent ARM systems from locking up when lshw is being run. We are replacing this patch with cherry picked commit(8237f8ebb92ebf684c0e6715cc6c28a3b2bb93b8) from https://ezix.org/src/pkg/lshw which was released with lshw-B.02.18. Potentially this could bring back https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740034 however upstream considers it fixed with the previously mentioned cherry pick.

-- 
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/1039701

Title:
  Wrong RAM memory size

Status in lshw:
  New
Status in MAAS:
  New
Status in landscape-client package in Ubuntu:
  Invalid
Status in lshw package in Ubuntu:
  Confirmed

Bug description:
  [Impact]
  lshw is not using smbios to obtain hardware information. This is causing lshw to report incorrect information to user. For example I have a machine which has one physical CPU with 8 cores and 32G of RAM. lshw is reporting the machine has only one physical CPU with 0 cores and 32162MiB of RAM.

  [Test case]
  Run lshw and compare its reported values with what you know the physical system has. To help simplify testing I use this script http://paste.ubuntu.com/16900290/ which can be run with the command `sudo lshw -xml | ./parse_lshw`

  [Regression Potential]
  smbios-noscan.patch was introduced to prevent ARM systems from locking up when lshw is being run. We are replacing this patch with cherry picked commit(8237f8ebb92ebf684c0e6715cc6c28a3b2bb93b8) from https://ezix.org/src/pkg/lshw which was released with lshw-B.02.18. Potentially this could bring back https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740034 however upstream considers it fixed with the previously mentioned cherry pick.

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



More information about the foundations-bugs mailing list