This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Invalid length provided for SMBIOS data

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Invalid length provided for SMBIOS data
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 27 Sep 2006 19:03:59 +0100
Delivery-date: Wed, 27 Sep 2006 11:04:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
I was running some tests of HVM guests on Fedora Core 6, test3 and came
across a potential issue with SMBIOS data. When running dmidecode in the
guest VMs it reports that the actual SMBIOS data size, does not match
the advertised size. eg

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

I've tried this in a variety of guest OS (RHEL-3 32-bit, RHEL-3 64-bit,
RHEL-4 64-bit) all the same results. The host is running FC6 test3, but
the bit of code responsible for constructing the SMBIOS tables is identical
to that on the vanilla xen-unstable.hg  repository. I'm not familiar 
enough with SMBIOS specs / code to determine where the mistake in the
length calculation is though...

Is anyone else seeing this length mismatch in HVM guests ?

FYI, we're tracking this as 

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Invalid length provided for SMBIOS data, Daniel P. Berrange <=