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] xen domU on Centos5 problem

To: trilok nuwal <tc.nuwal@xxxxxxxxx>
Subject: Re: [Xen-users] xen domU on Centos5 problem
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Thu, 10 May 2007 12:12:50 +0100
Cc: Georgi Genov <linuxloader@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 May 2007 04:11:20 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GB23d7YYjuog0e5mLP6044zg3iZvOaWu8C8DGbbzllZrkxvy91gXc1MYxu0xbaLW3xo/DUR8h/lvLPgoE2KMj+e+Rmqg64qhxWOnkimZOdTxbow6bIBQWIVeCxk4ejZ2EF2pDZyx642O7eYOrhy0CWgs9rU9h////tyTjVEdxwM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=IjSWKHzZ1lZnxZ+tLL0/ilP1dChj7q85mwEeCU/Xbe5p0nX1H4rqF313hAWmA8z9lpom1Fro4ObYeYzeZRWF4Vy8FjXKbtmGEQxyR/MdPj1f415C1a1wxczXOW98NVoA3uwriJP5GeUrEQDEGoA6Tx7POoZDK6rB6byWzNsuW9o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f58fc26d0705100111l3477a95avd723d0fc3a964f9f@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: <4642CAEF.8060409@xxxxxxxxx> <f58fc26d0705100111l3477a95avd723d0fc3a964f9f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
trilok nuwal wrote:
That because..yr initrd doesnot contains the frontend drivers xenblk and xennet so build the initrd image and use that image in yr config file and then restart the domain.

#mkinirtd /boot/initrd.img `uname -r` --with xenblk --with xennet --preload xenblk --preload xennet

Thanks,
Trilok
No.

I'm sorry to be harsh about this, but overwriting initrd.img with random kernels is *BAD*, *BAD*, *BAD*, *BAD* practice. It should be written to /boot/initrd-[kernel version].img, and initrd.img symlinkd to it as necessary. But RedHat's boot loaders are *designed* to use the boot/initrd-[kernel version].img,. Because in many configurations initrd.img is symlinked to the most recently installed or default kernel, doing this can blow your system sky-high and make it impossible to reboot without significant manual work.

Also, since Georgi hasn't been able to boot into this installed system, he obviously can't run the mkinitrd in it sufficiently for "uname -r" to be meaningful, now can he. It would be possible to mount the partitions and do chroots into them to perform these operations.

But guess what? It still doesn't work! The Jailtime images and their configurations do *not* use bootloaders, it specifies the kernels in the Xen config files. It 's a stripped, prebuilt image, and it does not even have modprobe.conf set up for mkinitrd to use for drivers.

The easiest workaround right now is to install the xensource.com kernel-xen kernels and use *those* in the guest domains. It seems to be stable.

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

<Prev in Thread] Current Thread [Next in Thread>