Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504810 - sys-apps/dmidecode-2.12 warns about SMBIOS 2.8 not being supported
Summary: sys-apps/dmidecode-2.12 warns about SMBIOS 2.8 not being supported
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-16 15:11 UTC by Jens Rosenboom
Modified: 2014-05-06 13:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This would be the combined patch (dmidecode-2.12-r1.patch,1.25 KB, patch)
2014-03-16 15:15 UTC, Jens Rosenboom
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Rosenboom 2014-03-16 15:11:26 UTC
The warning appears although according to the Changelog, SMBIOS 2.8.0 should be supported. According to upstream, this is a known bug, fixed in their CVS, but they do not plan to make a new release soon.

So we should do a 2.12-r1 with this patch (http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&r1=1.175&r2=1.176) and probably the other two that are listed on the project page (http://www.nongnu.org/dmidecode/).

Reproducible: Always

Steps to Reproduce:
Run dmidecode on a server which has SMBIOS version 2.8 installed. An example would be HP DL380gen8 with the BIOS update from 12/20/2013, which changed the version from 2.7 to 2.8.
Actual Results:  
~ # dmidecode | head -5
# dmidecode 2.12
SMBIOS 2.8 present.
# SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.
187 structures occupying 6145 bytes.

Expected Results:  
The warning should not appear.

This in particular affects scripts calling dmidecode with some -s option, as they usually only expect a single word of output and break awfully when presented with a result like this:

~ # dmidecode -s system-uuid
# SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.
35353636-3435-5A43-3333-313844465344
Comment 1 Jens Rosenboom 2014-03-16 15:15:36 UTC
Created attachment 372808 [details, diff]
This would be the combined patch
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2014-05-06 13:29:44 UTC
+*dmidecode-2.12-r1 (06 May 2014)
+
+  06 May 2014; Tony Vroon <chainsaw@gentoo.org> +dmidecode-2.12-r1.ebuild,
+  +files/2.12-supported-smbios-version.patch:
+  Upstream left an outdated SMBIOS version check in place but have neglected to
+  roll a new release so far. Backported fixes by J. Rosenboom close bug
+  #504810.