WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 4.0.1 kernel panic

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] Xen 4.0.1 kernel panic
From: mohammad mohammadi <aryana_178@xxxxxxxxx>
Date: Sat, 12 Mar 2011 20:52:21 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Mar 2011 20:53:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1299991942; bh=eVwJZaEIX28grnynkx5NW8BaM74jhPwqJF8Ytnj4OM4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OFyFS7+ezo2RmpL88ANnq9q+qFOzAt0/TQQ9h+nlTzQVhuUGFvLqJZf6OWbulPGnuEeYVb555yXnqHaLnGWcdWoAw/e6OJAJ+LT3cUIvJOVoBb3C7ZAgY8qJgAkDtG6zzXS9oW5KRLJOI56L196Vw776JSckfZ8cqpVT+WCznwk=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3giy1uL7PDQgU5uotNAe4b7nkQFXRLnHRf0OdIA75uJzCHMAE55Op3yuXCnM6kdproZJdxhgaP63Hj0Arxy0icHcw2VIgwpSYMyxjFuMbx/qiu6B3+kfr1UIKWLWdrkjzr7M/IC70yLUUBREO9GjPoFxF0D1HvumZW66S1J6U+4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim1_k_4O9X+yY6K-DeAyr9DmERRX3M2wgra=UfQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <218147.22005.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTim1_k_4O9X+yY6K-DeAyr9DmERRX3M2wgra=UfQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The reason I want to see all cores in dom0 is that I am developing a new batch scheduler for a cluster,
and in this situation, I need to use real and virtual cluster together.
Due to performance degradation in virtual cluster, I can not run all parallel job on virtual machines.
So the idea is just to run parallel jobs in dom0 and use virtual machine whenever is necessary to get better performance.
That's why i want to see all cores and RAM in dom0.
I think I know the difference between xen hypervisor and centos dom0 kernel.
As I know, Xen 3.x let dom0 kernel to see only 32 cores and 32GB RAM, but in Xen 4.x. it can be upgraded to more CPU and RAM.
The question I have is why Xen panics during boot?!

------------------------------------------------------------------
------------------------------------------------------------------
> Hi
>
> Has anybody got an idea why xen 4.0.1 panics during boot?!
> I have a Tyan server with 48 AMD cores and 128GB RAM. I compiled and
> installed xen 3.X along with CentOS 5.5 default xen kernel. Everything was
> OK there. The only problem I had was that CentOS kernel is allowed to see
> only 32 cores and 32GB of RAM which is actually supposed to be. However I
> wanted to see all cores and RAM in dom0,

Why?

For most practical purposes, it's useless to have all cores and RAM in dom0:
- you'd want to start domU's, which would require memory, thus dom0
memory would need to balloon-down. Doing so involves some overhead
(and depending on some circumstances like the amount ballooned-down,
it can cause crash)
- domUs will need some processing power, thus making all cores
available to dom0 is kinda pointless as domU will take some processing
power from it anyway

Best practice is to:
- dedicate a certain amount of RAM to dom0 (usually 512M - 1G is
enough), so dom0 will never need to balloon down
- dedicate one core (or more, depending on what you run on dom0) and
set domUs to use other cores.

> so I went for xen 4.0.1

Why?

Do you know the difference between xen HYPERVISOR and dom0 KERNEL?
If you say "CentOS kernel is allowed to see only 32 cores and 32GB of
RAM" then you should be compiling a kernel, not the hypervisor.

FWIW, if you need to use Xen 4.0.1 hypervisor with RHEL/Centos
kernel-xen, last time I check yo need "pci=nomsi" on some
configurations (in my case it was HP smart array). Also, comment-out
"quiet" and "rhgb" so you can see better what cause the kernel panic.
Your grub/menu.lst should look something like this

title CentOS (2.6.18-194.el5.customxen)
        root (hd0,1)
        kernel /boot/xen-4.0.1.gz
        module /boot/vmlinuz-2.6.18-194.el5.customxen ro root=LABEL=/ pci=nomsi
        module /boot/initrd-2.6.18-194.el5.customxen.img

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>