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/
Home Products Support Community News


Re: [Xen-users] how to add custom kernel onto jailtime.org's gentoo ima

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] how to add custom kernel onto jailtime.org's gentoo images
From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Date: Wed, 8 Apr 2009 22:37:31 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Apr 2009 13:38:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gM43EkZenUBTKNV+cxaVdIxiKZds5SLU2MFtUCGmd5U=; b=Kcl8GbDy/JFtI49Hw/kroqfLn0HXuWKbsNfSdRuLSTT86vAfsKlBv65A6nzjqWXQE/ vFMOiScEO1R5NraUwArmyLUEwVqgIKd+q75ujMUPMNx34opVuaWqRWBpBuV7bkfzIxxz 7a0SIPqJ0+9jtj2CvqIvXVXCwKT7NhMHrq+/U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OXiEJ31EciIQYcfWwKRrN5bCNOYLVLtDB0lSAsrpvXRh2OVPzoSo69dY31Q+2QE8Mf U8k1M+gNkShqW+pIHtYAfqAEgKLuatI6cJRUYxiriaQmEoOdqKtFvBJMNfoqxZLTx8Is gTMDWTvkm38zxHQExsJ3GKxU1/S+V8burVzKk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0904072156g7e9d5bcy94ab08ae8ee06a4f@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/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>
References: <695200da0904061443q5dbb38f3q453107a96714f008@xxxxxxxxxxxxxx> <49DABD26.3010200@xxxxxxxxxx> <695200da0904062112o60f741ddub452a398a2bc87b2@xxxxxxxxxxxxxx> <7207d96f0904062200x643a5204l7a1fbf570f973190@xxxxxxxxxxxxxx> <695200da0904072123n1f2ecee5nfa0031944349086c@xxxxxxxxxxxxxx> <7207d96f0904072156g7e9d5bcy94ab08ae8ee06a4f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Apr 8, 2009 at 6:56 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Wed, Apr 8, 2009 at 11:23 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
>> Hi Fajar,
>> I use HyperVM to manage the XEN domU virtual machines, and from what I
>> understand, it does run a XEN kernel
>> Linux usaxen01.softdux.com 2.6.18-8.1.15.el5xen #1 SMP Mon Oct 22
>> 09:01:12 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>> The domU runs on Gentoo, so I don't know if it's the same as for
>> CentOS, in terms of installing a xen kernel?
> It's the same in that once you have a working kernel inside domU, you
> can use it by changing xen config file to use pygrub. That is:
> - in domU config file, comment-out "kernel" and "ramdisk" line, change it to
> bootloader="/usr/bin/pygrub"
> - in domU, create a file /boot/grub/menu.lst or /boot/grub/grub.conf
> which has contents similar to this
> default=0
> timeout=5
> hiddenmenu
> title RHEL5-xen-domU
>        root (hd0,0)
>        kernel /boot/vmlinuz-xen ro root=/dev/hda1
>        initrd /boot/initrd-xen.img
> - make sure domU's initrd has xenblk if it's compiled as module
> instead of built-in.
> Now the actual kernel package, content of grub.conf, and initrd would
> be different in Gentoo.
>> I tried emerge --search xen, but the results weren't very good. Any 
>> suggestions?
> This might help
> http://lists.xensource.com/archives/html/xen-users/2009-04/msg00004.html
> Regards,
> Fajar

Hi Fajar,

I'm sorry, but I got lost on that link. I don't know Gentoo at all,
and I'm trying to help a client out, so this is really, really new to

I'm trying to install xen, but I keep running into a wall with it.

sh-3.2# emerge xen
Calculating dependencies -
!!! All ebuilds that could satisfy "app-emulation/xen" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/xen-3.2.1 (masked by: ~amd64 keyword)
- app-emulation/xen-3.2.0 (masked by: ~amd64 keyword)
- app-emulation/xen-3.1.3 (masked by: ~amd64 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

Reading through the man pages is a nightmare,probably cause it makes
no sense, and the formatting is aweful.

I've asked the client if he knows how to get past this step, and then
I'll see if I can get it to work.
Thanx for your help :)


Kind Regards
Rudi Ahlers

Xen-users mailing list