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

Re: [Xen-users] steps to install xen3.1 from source

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] steps to install xen3.1 from source
From: Onkar <onkar.n.m@xxxxxxxxx>
Date: Sat, 19 Jan 2008 15:27:45 +0530
Cc: "Huang,Wei" <first_huang@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 19 Jan 2008 01:58:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=e9qyD3QCiSpNjqL1XfhpBn92kf5ZsG+Jet67FYmBX7E=; b=g+EEt6/sm5vxI0Gr6Zz82CMS83ybkyZNX6L5cvSd8Wvb+34N4qDepkKOWmzG+ID9g8D+hBJHKQgHLMajyEQedtOpNwWOZzNg15ftM7YHgFj5ssiW/vAvuEf4zc0ynzHqboMe6rUWa7PIOb1oHmo1ObkPIeLXk04ygn4XNcSvhpU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ToQy/rfdiTs4aCmvik9piORhVllM4vL1yQTAnjxh049CAPR5KRoos0HH6Z7eI78BvK5zugA4XSsLDe7zJjr68x3X8Iq0j18DqpsX6F8mfxWrEqf8B/yYARyr3nEZ1GqLPzHCLiEDvb1fNtsdixqXjfthKuqk4ZuxvnDKvwVrOOU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0801182044y1f3fefa7w6abd0d54ab0940fb@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <407602.20771.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0801182044y1f3fefa7w6abd0d54ab0940fb@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
/lib/modules/2.6.18-xen  ??

I am faced with the same problem .. on Debian system . How would i  know which modules to select as a part of initrd image .. Is there any way(tool) to know those minimal set of modules or any kind of 'rule of thumb'.

- Onkar

On Jan 19, 2008 10:14 AM, Todd Deshane <deshantm@xxxxxxxxx> wrote:


On Jan 17, 2008 4:22 PM, Huang,Wei <first_huang@xxxxxxxxx> wrote:
hi all,

i want to install xen3.1 on my system, suse linux
enterprise server 10 SP1 (kernel 2.6.16.46-0.12).
i download the tarball binary file. it contains only
"vmlinuz-2.6.18-xen" and "xen-3.1.gz ", no initrd. but
see the following code in my grub menu.lst, it seems
like i need the initrd file.

i tried the installation with this binary Tarball, it
didn't work.

this is the original code in menu.lst of GRUB:
--------------------------------------------------
title SUSE Linux Enterprise Server 10 SP1
   root (hd0,1)
   kernel /boot/vmlinuz-2.6.16.46-0.12-default
root=/dev/sda2 vga=0x32b    resume=/dev/sda1
splash=silent showopts
   initrd /boot/initrd-2.6.16.46-0.12-default
--------------------------------------------------

i don't know what the problem is. So i want to install
from source, and i want to build a xen linux kernel
with the same kernel version of my suse
(2.6.16.46-0.12). I looked up the xen manual, but it
shows not enough details of the installation steps.

Could you please tell me which steps shall i do in the
installation?

You should be able to create the initrd with a mkintrd or mkintramfs command.

The basic idea is to pass those commands the proper kernel version. The kernel and the modules (that make up the initrd) need to make. So in your case I would expect that you should be able to find the proper modules in  /lib/modules/2.6.18-xen. You then also need to pass the output file name as the initrd file. (Note, typically the command takes on the 2.6.18-xen part and not the /lib/modules part, as that is assumed.

You should be able to find good examples of using the proper mkinitrd or mkinitramfs command online and I believe they also explain that in the README that comes with the binary package.

Regards,
Todd

 

thanks a lot.

best regards,
Wei


     Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail

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


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

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