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] Building Vanilla source 2.6.31.4 with XEN hypervisor

To: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Subject: Re: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor
From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Date: Thu, 22 Oct 2009 16:26:40 +0100
Cc: Fasiha Ashraf <feehapk@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Oct 2009 08:29:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IWDHwz97ScI9EgLchlRPWOG4/+AAi8XrUp6A4lKiBjs=; b=vpGZ/sG0oEwT/GDY4EEFR09hw+z+kASaRl2xKp/i0fc/sYw2FIOKlQujLOJb0iTLR4 VcpDs9v794pUH6b2mGdipiyiQWnLMbFE4U+05XIRML5MzM33++n8OOZ5//anwkjShhBo H6Q7fy03BijRd48U17JZf/utaidKw1+mW5vDs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WLGNUz5CbAzAfqd3iVXgI2F+nybU9W7n+VylOj39S+/kQZ8Vh0MnfzV2rzssyTqIRk 6dd4yucFwutz2dP7eq5KpQVbosVZTrFUh+Hk3nEr9tcnR5mkLJvkC09aXTJrR1k8h2qn yQYz5ZRnrE3n/+16OEAl0HVG7Fdwnbh/ZQxwU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f712b9cf0910220823y43a32036x244d5a1d85a2c7e7@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: <d47704fc0910220322k212b7445r56fed94c73219210@xxxxxxxxxxxxxx> <264542.53227.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <20091022142718.GQ1434@xxxxxxxxxxx> <d47704fc0910220731y13765ceeu1c5acd17f4920def@xxxxxxxxxxxxxx> <f712b9cf0910220823y43a32036x244d5a1d85a2c7e7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Teo. I would like to know if I follow the above way of installing pvops dom0, Then how can we tell that it downloads the 2.6.31.4 not any other release. How can we specify that.

Build PV Ops Kernel

  1. cd /usr/src/kernels
  2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
  3. cd linux-2.6-xen
  4. git checkout origin/xen-tip/master -b xen-tip/master
  5. make menuconfig (Check the Xen options, I’m too tired to go over them all)
  6. make
  7. make modules_install install
Thanks.


On Thu, Oct 22, 2009 at 4:23 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx> wrote:
Hi,

You cannot use vanilla 2.6.31.4 kernel source for Xen as it only
supports pvops domU. You need to patch vanilla 2.6.31.4 kernel source
for dom0 functionality.

Alternatively, get the pvops dom0 kernel 2.6.31.4 from Jeremy's git tree.

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore


On Thu, Oct 22, 2009 at 10:31 PM, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:
> Hi Pasi,
>
> I am still confused how to proceed with the XEN installation. The reason is,
> If I go to www.xen.org.downloads then It shows that XEN comes with
> linux-2.6.18. I am afraid whether it is possible to build xen from source
> along with customized vanilla kernel.
>
> Thanks.
>
> On Thu, Oct 22, 2009 at 3:27 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>>
>> On Thu, Oct 22, 2009 at 04:39:17PM +0530, Fasiha Ashraf wrote:
>> >   Which platform are you using? Fedora or debian? which version? Below
>> > are some
>> >   basic steps of building it with pv os kernel in a fedora11 platform:-
>> >
>>
>> <snip>
>>
>> >
>> >   Build PV Ops Kernel
>> >
>> >    1. cd /usr/src/kernels
>> >    2. git clone
>> > git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>> >       linux-2.6-xen
>> >    3. cd linux-2.6-xen
>> >    4. git checkout origin/xen-tip/master -b xen-tip/master
>>
>>
>> You should use 'xen/master' instead of 'xen-tip/master'.
>>
>> 'xen-tip/master' is old and deprecated.
>>
>> All the new development is happening on 'xen/master', and that's what
>> people should test/use.
>>
>> >   Create a Grub Entry:
>> >
>> >   title Xen 3.4 / Fedora kernel 2.6.30-rc6-tip
>> >   kernel /boot/xen-3.4.gz
>> >   module /boot/vmlinuz-2.6.30-rc6-tip
>> > root=/dev/mapper/VolGroup01/vg_fedora11 ro
>> >   module /boot/initrd-2.6.30-rc6-tip.img
>> >
>>
>> 'xen/master' branch pv_ops dom0 kernel is currently at Linux 2.6.31.4.
>>
>> -- Pasi
>>
>
>
>
> --
> Best Regards, Hassan
> http://cern.ch/ahmadh/portfolio
>
> Erasmus Student
> The University of Reading, UK
> Aristotle University of Thessaloniki, Greece
> The University Of Carlos III, Madrid Spain
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



--
Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain

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