public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* FW: KVM Test result, kernel 4a7f582.., userspace bc6db37..
@ 2008-02-29 12:53 Zhao, Yunfeng
  2008-03-03  7:42 ` Yang, Sheng
  0 siblings, 1 reply; 3+ messages in thread
From: Zhao, Yunfeng @ 2008-02-29 12:53 UTC (permalink / raw)
  To: kvm-devel

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

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FW: KVM Test result, kernel 4a7f582.., userspace bc6db37..
  2008-02-29 12:53 FW: KVM Test result, kernel 4a7f582.., userspace bc6db37 Zhao, Yunfeng
@ 2008-03-03  7:42 ` Yang, Sheng
  2008-03-03  8:07   ` Yang, Sheng
  0 siblings, 1 reply; 3+ messages in thread
From: Yang, Sheng @ 2008-03-03  7:42 UTC (permalink / raw)
  To: kvm-devel

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]

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

[-- Attachment #2: 0001-kvm-bios-Reduce-MAX_CPU-in-bios-to-15.patch --]
[-- Type: text/x-diff, Size: 859 bytes --]

From dd358617793c7c7c26e9e1029d54fdd1bff23857 Mon Sep 17 00:00:00 2001
From: Sheng Yang <sheng.yang@intel.com>
Date: Mon, 3 Mar 2008 07:15:42 +0800
Subject: [PATCH] kvm: bios: Reduce MAX_CPU in bios to 15

For 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 <sheng.yang@intel.com>
---
 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
--- a/bios/rombios.h
+++ b/bios/rombios.h
@@ -58,7 +58,7 @@
 #define SMB_IO_BASE       0xb100
 #define CPU_COUNT_ADDR    0xf000
 
-#define MAX_CPUS 16
+#define MAX_CPUS 15
 
   // Define the application NAME
 #if defined(BX_QEMU)
-- 
debian.1.5.3.7.1-dirty


[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #4: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: FW: KVM Test result, kernel 4a7f582.., userspace bc6db37..
  2008-03-03  7:42 ` Yang, Sheng
@ 2008-03-03  8:07   ` Yang, Sheng
  0 siblings, 0 replies; 3+ messages in thread
From: Yang, Sheng @ 2008-03-03  8:07 UTC (permalink / raw)
  To: kvm-devel

On Monday 03 March 2008 15:42:09 Yang, Sheng wrote:
> 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.

Seems Glauber Costa got better fix on sourceforge. 

http://sourceforge.net/tracker/index.php?func=detail&aid=1903732&group_id=180599&atid=893831

The patch works well on my side. :)

-- 
Thanks
Yang, Sheng

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-03  8:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 12:53 FW: KVM Test result, kernel 4a7f582.., userspace bc6db37 Zhao, Yunfeng
2008-03-03  7:42 ` Yang, Sheng
2008-03-03  8:07   ` Yang, Sheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox