Bug 207501 - DMIDecode tables advertizing bogus size
Summary: DMIDecode tables advertizing bogus size
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Xen Maintainance List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-09-21 13:23 UTC by Daniel Berrangé
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-01-11 21:02:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
DMI Decode output (3.01 KB, text/plain)
2006-09-21 13:23 UTC, Daniel Berrangé
no flags Details
Fix CPU table length calculation (568 bytes, patch)
2006-10-03 20:28 UTC, Daniel Berrangé
no flags Details | Diff

Description Daniel Berrangé 2006-09-21 13:23:29 UTC
Description of problem:
Running on an Fedora Core 6 (rawhide) AMD x86_64 host system, with a RHEL-3 i386
guest. The guest's DMI decode tables contain bogus size information. Running
dmidecode reports:

  "Wrong DMI structures length: 439 bytes announced, structures occupy 363 bytes."

I've not checked whether the same happens in a x86_64 guest, or a later rhel

Version-Release number of selected component (if applicable):
Host running  xen-3.0.2-33
Guest running  redhat-release-3AS-13.8.3

How reproducible:
Always

Steps to Reproduce:
1. Create HVM guest
2. Run 'dmidecode' in guest
3.
  
Actual results:
Warnings about bogus size info

Expected results:
No warnings

Additional info:
Will attach the dmidecode output the ticket

Comment 1 Daniel Berrangé 2006-09-21 13:23:29 UTC
Created attachment 136852 [details]
DMI Decode output

Comment 2 Daniel Berrangé 2006-09-21 15:20:04 UTC
Ok, verified in a x86_64  HVM guest - still get the bogus dmidecode data size
reported, so doesn't seem to be related to the architecture mismatch.


Comment 3 Andrew D. Ball 2006-10-02 15:13:10 UTC
Please post the domU's configuration.


Comment 4 Daniel Berrangé 2006-10-02 15:52:14 UTC
Here's an example config for x86_64 RHEL-3 guest.

name = "rhel3x86_64"
builder = "hvm"
memory = "500"
disk = [ 'file:/xen/rhel3x86_64.img,hda,w', ]
vif = [ 'mac=00:16:3e:05:eb:04, bridge=xenbr0', ]
uuid = "dbc4c892-4b67-bc7a-895a-a6b5f56ff061"
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
apic=1
acpi=0
pae=1
vcpus=4
serial = "pty" # enable serial console
on_reboot   = 'restart'
on_crash    = 'restart'


Comment 5 Daniel Berrangé 2006-10-02 20:18:33 UTC
Looks like it is fixed upstream in:

http://xenbits.xensource.com/xen-unstable.hg?cs=f426f6e646eb



Comment 6 Daniel Berrangé 2006-10-03 20:28:09 UTC
Created attachment 137694 [details]
Fix CPU table length calculation

The upstream patch was not complete. This fixes a corrupt CPU table entry

Comment 7 Daniel Berrangé 2007-01-11 21:02:08 UTC
Fixed in Fedora a little while back now.


Note You need to log in before you can comment on or make changes to this bug.