[Bug 1597886] Re: Strange Launchpad data appears on empty memory banks

Benno Schulenberg bensberg at telfort.nl
Wed Jan 8 14:45:55 UTC 2020


Confirmed.  Attached patch has been sent to the upstream maintainer.  It
fixes the bug for me.  (Tested against lshw from git.)

** Patch added: "avoid calling gettext("")"
   https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1597886/+attachment/5318581/+files/0001-dmi-do-not-provide-gettext-with-an-empty-string.patch

** Tags added: patch-forwarded-upstream

** Tags added: patch

** Tags added: disco

** Tags added: eoan

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

Title:
  Strange Launchpad data appears on empty memory banks

Status in lshw package in Ubuntu:
  Confirmed

Bug description:
  I ran `lshw -c memory` and got this output (info related to CPU cache
  and firmware removed):

  $ sudo lshw -c memory
    *-memory
         description: System Memory
         physical id: c
         slot: System board or motherboard
         size: 12GiB
       *-bank:0
            description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
            product: ACR16D3LS1KNG/8G
            vendor: Kingston
            physical id: 0
            serial: 16392411
            slot: ChannelA-DIMM0
            size: 8GiB
            width: 64 bits
            clock: 1600MHz (0.6ns)
       *-bank:1
            description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL at ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB at li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-04-15 05:57+0000X-Generator: Launchpad (build 17995)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL at ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB at li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-04-15 05:57+0000X-Generator: Launchpad (build 17995) [empty]
            physical id: 1
            slot: ChannelA-DIMM1
       *-bank:2
            description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
            product: HMT451S6BFR8A-PB
            vendor: SK Hynix
            physical id: 2
            serial: 37441113
            slot: ChannelB-DIMM0
            size: 4GiB
            width: 64 bits
            clock: 1600MHz (0.6ns)
       *-bank:3
            description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL at ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB at li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-04-15 05:57+0000X-Generator: Launchpad (build 17995)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL at ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB at li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-04-15 05:57+0000X-Generator: Launchpad (build 17995) [empty]
            physical id: 3
            slot: ChannelB-DIMM1
    *-memory UNCLAIMED
         description: Memory controller
         product: Intel Corporation
         vendor: Intel Corporation
         physical id: 1f.2
         bus info: pci at 0000:00:1f.2
         version: 21
         width: 32 bits
         clock: 33MHz (30.3ns)
         capabilities: bus_master
         configuration: latency=0
         resources: memory:a4224000-a4227fff

  
  Please look at the information about bank 1 and bank 3 - these banks should be empty, but instead some weird data about Launchpad is displayed.

  This is a bug and should not happen. Please examine this issue and fix
  it. Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: lshw 02.17-1.1ubuntu3.2
  ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
  Uname: Linux 4.4.0-28-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jun 30 20:57:10 2016
  InstallationDate: Installed on 2016-05-04 (56 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  SourcePackage: lshw
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list