From: Tej Subject: Re: Xen 3.3.1 compilation problems Date: Mon, 23 Mar 2009 17:59:11 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ananth Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 2009/3/23 Ananth : > 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 si= tes > 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 comman= ds > as root > > 3. make linux-2.6-xen0-config CONFIGMODE=3Dmenuconfig > > 4. I selected necessary configurations in menuconfig and saved the settin= gs > > 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 > =A0=A0=A0 This is because, mkinitrd with the other flags such as ' --with= =3D ' 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 init= rd > image for the kernel image by specifying the name of the kernel image usi= ng > -k. > > 8. make install KERNELS=3D"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 t= o > 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 change= d > the runlevel from 5 to 3. try running startx after logging in runlevel 3. or try these 1. Delete xorg.conf and restart or 2. You could try a different video mode by passing "vga=3Dask" at your boot prompt. at kernel command line and select a different video mode options. > > 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, f= or > which I would like to learn to compile it myself. > > Thank you very much in advance. > > Regards > Ananth > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >