From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: Re: FW: KVM Test result, kernel 4a7f582.., userspace bc6db37.. Date: Mon, 3 Mar 2008 15:42:09 +0800 Message-ID: <200803031542.09770.sheng.yang@intel.com> References: <10EA09EFD8728347A513008B6B0DA77A02D76E47@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Rv6yHQrilJZB8Qh" To: kvm-devel@lists.sourceforge.net Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02D76E47@pdsmsx411.ccr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org --Boundary-00=_Rv6yHQrilJZB8Qh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Friday 29 February 2008 20:53:41 Zhao, Yunfeng wrote: > Zhao, Yunfeng wrote: > > Hi, all, > > This is today's KVM test result against kvm.git > > 4a7f582a07e14763ee4714b681e98b3b134d1d46 and kvm-userspace.git > > bc6db37817ce749dcc88fbc761a36bb8df5cf60a. > > LTP and kernel build test on pae linux guest are failed, > > because these case boot guests with smp 2.6.9 kernel, it's > > related with today's new issue. > > With manual test save restore have no problem for the first time. > > > > Save/restore test cases passed in manually testing. Because > > the command has been changed, it failed in auto testing. We > > will change the test cases. > > > > One new issue: > > 1. Can not boot guests with 2.6.9 smp pae kernel > > https://sourceforge.net/tracker/index.php?func=detail&aid=19037 > > 32&group_id=180599&atid=893831 > > We doubt this issue is caused by this commit: > "kvm: bios: mark extra cpus as present" > kvm-userspace: 538c90271b9431f8c7f2ebfdffdab07749b97d86 > It seems like a bug of rhel4 kernel (2.6.9) on supporting vcpus >= 16. I reduced VCPU number to 15, and it's all right. I found the correlated description on Oracle's website(...) http://oss.oracle.com/pipermail/el-errata/2007-May/000154.html [2.6.9-52] -fix boot panic on >=16 cpu on Intel microcore platforms (Brian Maly) [221479] (I tried Oracle's bugzilla for details, but failed...) I suggest reducing the VCPU number to 15, and I remember we've done similar thing before on ACPI table, for booting Windows 2k. -- Thanks Yang, Sheng --Boundary-00=_Rv6yHQrilJZB8Qh Content-Type: text/x-diff; charset="iso-8859-1"; name="0001-kvm-bios-Reduce-MAX_CPU-in-bios-to-15.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-kvm-bios-Reduce-MAX_CPU-in-bios-to-15.patch" =46rom dd358617793c7c7c26e9e1029d54fdd1bff23857 Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Mon, 3 Mar 2008 07:15:42 +0800 Subject: [PATCH] kvm: bios: Reduce MAX_CPU in bios to 15 =46or fixing RHEL4 PAE SMP fail to boot issue. The kernel RHEL4 SMP PAE used seems got trouble on supporting more than 15 cpus, even the cpus are not available. Signed-off-by: Sheng Yang =2D-- bios/rombios.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bios/rombios.h b/bios/rombios.h index 2cf2bb3..7f75279 100644 =2D-- a/bios/rombios.h +++ b/bios/rombios.h @@ -58,7 +58,7 @@ #define SMB_IO_BASE 0xb100 #define CPU_COUNT_ADDR 0xf000 =20 =2D#define MAX_CPUS 16 +#define MAX_CPUS 15 =20 // Define the application NAME #if defined(BX_QEMU) =2D-=20 debian.1.5.3.7.1-dirty --Boundary-00=_Rv6yHQrilJZB8Qh Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --Boundary-00=_Rv6yHQrilJZB8Qh Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel --Boundary-00=_Rv6yHQrilJZB8Qh--