[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: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
- From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
- Date: Fri, 23 Oct 2009 10:27:44 +0530 (IST)
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 22 Oct 2009 21:59:23 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=G2lf97RPls6WKDfLvVyVhMmJHu5DgIwZ0c/LswVG97Gn6M5rs8KFkjKfyqkCo6QeLTagNcc88QOR3AqbnDMMFyhPWJDZ5UBSgHCz16qzukEb9m/qv/tNX+iRRB/D2YookELTPmGIxqo18MstALNeiO+BE22be59ZKkI7VyDVjkU=;
- List-id: Xen user discussion <xen-users.lists.xensource.com>
>>By this you mean, I build kernel and xen separately and then by just writing the grub entry, both of them will work together?
Yes, for kernel customization this is the only way I know.
Regards, Fasiha Ashraf
--- On Thu, 22/10/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:
From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx> Subject: Re: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor To: "Fasiha Ashraf" <feehapk@xxxxxxxxxxx> Date: Thursday, 22 October, 2009, 5:08 PM
Comments inline !! On Thu, Oct 22, 2009 at 12:57 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
This is some sort of patching latest xen3.4.1 with latest pv os kernel is the only way of getting xen with pv kernels. There are many ways of getting xen in debian. 1- by installing through packages
|
I do not want to do this because I am interested in benchmarking of different VM's like XEN, KVM etc. So I need specific kernel which is best configured for my hardware. This is why I want to customize linux kernel by myself. By installing through packages, does not allow me to customize the kernel.
2- compile and build only xen source if you already have a xenokernel running
|
Do you know the way of doing that?
3- building xen and xenokernel both from source and patch them 2gether in a grub entry which is menu list in ur case.
|
By this you mean, I build kernel and xen separately and then by just writing the grub entry, both of them will work together?
By the way, is it a srtict requirement to do it in debian and to compile xen from source? or its just ur choice? |
Already clerified.
Thanks a lot for the help.
Subject: Re: [Xen-users] Building Vanilla source 2.6.31.4 with
XEN hypervisor To: "Fasiha Ashraf" <feehapk@xxxxxxxxxxx> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, 22 October, 2009, 4:24 PMThanks for the prompt reply. I am using Debian(Lenny) on amd64. What I want to do is, I want to take fresh vanilla source and build the kernel according to my hardware specifications with XEN Paravirtualized configurations selected. I can do this stuff pretty easily. But I need help in installing XEN hypervisor on it from source.
I do not really understand how you are patching xen installation with kernel installation in the procedure you mentioned below. Thanks for the explication and help :) -- 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 On Thu, Oct 22, 2009 at 12:09 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> 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:-
- Be certain you have dev tools installed: âyum install âDevelopment Toolsââ
- Youâll also need: âyum install mercurial gitk dev86 vnc-server
bridge-utils zlib-devel openssl-devel python-devel libX11-devel
ncurses-develâ
Build / Install Xen
- cd /usr/src
- hg clone http://xenbits.xensource.com/xen-3.4-testing.hg
- cd xen-3.4-testing.hg
- make xen
- make install-xen
- make tools
- make install-tools
Build PV Ops Kernel
- cd /usr/src/kernels
- git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
-
cd linux-2.6-xen
- git checkout origin/xen-tip/master -b xen-tip/master
- make menuconfig (Check the Xen options, Iâm too tired to go over them all)
- make
- make modules_install install
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
Add Entry to /etc/fstab
none /proc/xen xenfs defaults 0 0
Reboot and there ya goâ
I still need to bring up the python tools like virt-install and virsh, maybe after I get a break. Regards, Fasiha Ashraf
--- On Thu, 22/10/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:
From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor
To: xen-users@xxxxxxxxxxxxxxxxxxx Date: Thursday, 22 October, 2009, 3:22 PMHi, I want to build fresh vanilla source 2.6.31.4 with XEN dom0 hypervisor. Can anyone please help me out on this.
Thanks. -- 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
-----Inline Attachment Follows-----
|
Keep up with people you care about with Yahoo! India Mail. Learn how.
-- Best Regards, Hassan http://cern.ch/ahmadh/portfolioErasmus Student The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain
-----Inline Attachment Follows----- |
Keep up with people you care about with Yahoo! India Mail. Learn how.
-- Best Regards, Hassan http://cern.ch/ahmadh/portfolioErasmus Student The University of Reading, UK Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain
|
Try the new Yahoo! India Homepage. Click here._______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|