dmidecode error on MacBook Pro: map beyond end of file

Bug #1577183 reported by Cd-MaN
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
dmidecode (Ubuntu)
Confirmed
High
Unassigned

Bug Description

When I run from the terminal "sudo dmidecode -s system-product-name" on a Macbook Pro (as per the instructions from here - https://help.ubuntu.com/community/MacBookPro12-1/Wily#Remaining_issues_and_optimization_potential), I get:

mmap: Can't map beyond end of file /sys/firmware/dmi/tables/DMI
Table is unreachable, sorry.

This is with a fully up to date Ubuntu 16.04 on a 2013 15" Macbook Pro. I attached the DMI file to the issue.

Revision history for this message
jordg (gbj) wrote :

Also same here,
dmidecode with no arguments produces the same above
Using macbook pro 11,3

Jeff Lane  (bladernr)
Changed in dmidecode (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Cd-MaN (panther79) wrote :

This seems to be mostly fixed now. (probably by #1578022).

Now if I do "sudo dmidecode -s system-product-name" I get:

MacBookPro11,2
Invalid entry length (0). DMI table is broken! Stop.

(dmidecode package version 3.0-2ubuntu0.1)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.