All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ananth <cbananth@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Xen 3.3.1 compilation problems
Date: Mon, 23 Mar 2009 17:34:05 +0530	[thread overview]
Message-ID: <bdf293de0903230504q7a5f63c0m2ca5f9912dd287c@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2024 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2206 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2009-03-23 12:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23 12:04 Ananth [this message]
2009-03-23 12:29 ` Xen 3.3.1 compilation problems Tej

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bdf293de0903230504q7a5f63c0m2ca5f9912dd287c@mail.gmail.com \
    --to=cbananth@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.