[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor


  • To: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.