From: "SourceForge.net" Subject: [ kvm-Bugs-1674541 ] Bad BIOS mptable entry count Date: Mon, 05 Mar 2007 17:12:12 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: noreply-pyega4qmqnRoyOMFzWx49A@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Bugs item #1674541, was opened at 2007-03-05 20:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1674541&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Garth (garthg) Assigned to: Nobody/Anonymous (nobody) Summary: Bad BIOS mptable entry count Initial Comment: KVM change 4486 AMD X2 Dual Core 3800 Host: Linux Ubuntu x86_64 Guest: FreeBSD 6.0 X86_64 (Also tested with Linux) Running with -no-kvm We traced a panic in our modified BSD 6.0 to a bad number of entries being read out of the BIOS mptable header. Looking at the Bochs BIOS rombios32.c there should be 18 entries + 1 per cpu. Since we are running with 1 cpu we expect 19 entries, however, the mptable header (entry_count) reports 20 entries. The 20th entry is invalid (0x5f). We validated that the corrupt entry count exists on stock FreeBSD 6.0 x86_64. We ran /usr/sbin/mptable which reported 20 entries with only 19 valid. After dumping the 19 it reported 'mptable hosed'. We also booted Linux Knoppix and compiled and ran mptable on it. Again, it reported 20 entries with only 19 being valid. This isn't really a KVM bug, but impacts OSes running on KVM. Not sure if it is a bios bug (probably) or a Qemu bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1674541&group_id=180599 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV