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

[Xen-users] Xen 3.3.1 compilation problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.3.1 compilation problems
From: Ananth <cbananth@xxxxxxxxx>
Date: Mon, 23 Mar 2009 17:41:09 +0530
Delivery-date: Mon, 23 Mar 2009 05:12:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jy24+EEkITsEBrSXZLLzWz+2RznEvR13mWbCytxEQ0Y=; b=VGwWaR1i9jTKQ3oKuF5nxgYQ2NqEoaR0KekPaLNrVUggcGonZiMrhdDGMAeyUc/Mwl w6gggDhraRA46GYkeJXDZL7nZ6omcfjf2AOtdQaGR36X+Uaix25mzRxONeLiEv6A2Yvx hJ4lXdZgBik8rx5MJJRNJvBVBuPmNE/lbIc/s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q+RVrSx0X4SPVRTr7Yp7a1fGBVWxz+gXjr9Ig+dEOxOQI0wJh4qZ/PZIl/Xc6OUlSS R4ZPD55moO+qyZ9TGigB8IHM4ZeBMT1rQRp1sTd6B2PD1mr7aEnETycTYuoBnLBI8Cid 2X7GcCPPLes3mMAQi42pzCBqt5VHcZ4K5+6v0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,
I am facing problems while compiling Xen from source. Below are the steps I followed to compile. I see various commands being suggested in various sites and READMEs. I did not understand which is the correct way to do it. I am using openSuse 11.0.

1. I downloaded the source tarball from http://www.xen.org/download/

2. Extracted the contents into /usr/src and executed the following commands as root

3. make linux-2.6-xen0-config CONFIGMODE=menuconfig

4. I selected necessary configurations in menuconfig and saved the settings

5. make linux-2.6-xen0-build

6. make linux-2.6-xen0-install

7. mkinitrd -v -i /boot/initrd-2.6.18-xen0 -k /boot/vmlinuz-2.6.18.8-xen0
    This is because, mkinitrd with the other flags such as ' --with= ' dont seem to be working on my distro. I am not sure if there is a different syntax or the way options are specified is different. However since the kernel image is generated using the previous commands, I created the initrd image for the kernel image by specifying the name of the kernel image using -k.

8. make install KERNELS="linux-2.6-xen0" -- This installs the necessary tools I believe. This did not go to successful completion. It was running on an infinite loop displaying the same set of contents again and again. But since they are just tools, I aborted and edited the /boot/grub/menu.lst to add an entry for the compiled xen.

When I reboot into the compiled kernel, the system halts when the splash screen is getting loaded. Hence i edited the file /etc/inittab and changed the runlevel from 5 to 3.

After a series of boot messages, the system allowed me to login.

Can you please guide me if there is any mistake in the steps followed. I am not sure why the system does not login with runlevel 5. But if i use a precompiled xen installed using the openSuse 11.0 DVD, it works perfectly fine. But i am trying to make small modifications to the xen scheduler, for which I would like to learn to compile it myself.

Thank you very much in advance.

Regards
Ananth
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 3.3.1 compilation problems, Ananth <=