bugdmidecode - Bugs: bug #33978, dmidecode does falsely use bit 7...


bug #33978: dmidecode does falsely use bit 7 when decoding the chassis-type

Submitter:  stefanct <stefanct>
Submitted:  Wed 10 Aug 2011 01:32:41 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  aarapov
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Mon 14 Nov 2011 01:41:12 PM UTC, comment #3: 


Anton Arapov <aarapov>
Group administrator
Mon 14 Nov 2011 01:24:02 PM UTC, comment #2: 

  Indeed there is a wrong use of dmi_chassis_type() inside dmi_table_string(). Your patch as well as concern how to fix it s valid, I will push it in CVS soon.

thanks again,

Anton Arapov <aarapov>
Group administrator
Mon 14 Nov 2011 10:43:22 AM UTC, comment #1: 

Thanks much for the patch, Stefan. I will look at the issue at get back to you.

Anton Arapov <aarapov>
Group administrator
Wed 10 Aug 2011 01:32:41 AM UTC, original submission:  

the bug is present in all vanilla versions since at least 2.9 and in various Debian-based distributions (Ubuntu, grml). the attached patch was also sent to Debian and Ubuntu. for details please see the patch.

also, it may be a good idea to change the semantics of the dmi_chassis_lock function/parameter (shifting inside that function instead of in the caller), but since there is only one caller, it is no issue (yet).

stefanct <stefanct>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by aarapov (Posted a comment)
  • -email is unavailable- added by stefanct (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-08 aarapov StatusNone Fixed
    2011-11-14 aarapov Open/ClosedOpen Closed
    2011-11-14 aarapov Assigned toNone aarapov
    2011-08-10 stefanct Attached File- Added 0001-Make-dmi_chassis_type-aware-of-the-lock-bit.patch, #23775

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code