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] Need help in compiling and installing Xen-3.4.1 on Lucid

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Need help in compiling and installing Xen-3.4.1 on Lucid
From: Daniel Mathew <danieljmathew@xxxxxxxxx>
Date: Fri, 27 Aug 2010 10:57:29 +0530
Cc:
Delivery-date: Thu, 26 Aug 2010 22:28:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=gCzrD9Uld82TcKaFJrPOU5ranMJlQ+9GgFDAk2/jheY=; b=dgBMyTxPQEgQYI056tk25NylzGximmLspTHw2KipWseEst++Una/8RiIJD3KtrT7QV XuWR0jsFtqPozSuLtoy7h8a26Q4CZlvbe2QJOtKefz2rL5wcMqXEGI9vM/poqP4Zncrf j4whZxb2nNWNsLvCA8Crd1ovD6zlIbTfLji9g=
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 :content-type; b=J6wyNbZ+AEWetMuLx4Y6YeziDRHxF4SwZVScSJCOBBP93o4iAi/NuanfZRkeM01YT1 iSWlqAKu2nPWOZCSU06GLck+dAH9ZREVcf2BHdaGbXWD0VYyRFFEAEIEQPeLN9BZAqhH 69hgT34t9GDLMUsHvC3mUQR16n0hk3kht5sRw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikShOkuBCgPUMzrvEa30fWw05zKsM7+=78PrGhX@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: <AANLkTi=hMoCTn9xkuNL-qGosLHYBD87xoWf+Nwogn4CE@xxxxxxxxxxxxxx> <AANLkTikShOkuBCgPUMzrvEa30fWw05zKsM7+=78PrGhX@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thank you for the reply, Fajar.

I was looking for a patched version of the vanilla kernel (or even Ubuntu/Debian/Fedora). It would be great if I could even generate a patch myself somehow - is this possible using the Xen-3.4.1 source and makefiles?

D.

On Fri, Aug 27, 2010 at 7:34 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Wed, Aug 25, 2010 at 3:09 PM, Daniel Mathew <danieljmathew@xxxxxxxxx> wrote:
> Hi,
>
> I am a Xen newbie and have been trying to get Xen-3.4.1 working on my Ubuntu Lucid (kernel version 2.6.32-21) system, using kernel 2.6.18.8 as dom0. In attempting this, I ran into the following issue. On booting into Xen, I get these errors:

Mounting none on /dev failed. No such device.
...
Gave up waiting for root device.
...
Alert! Could not mount /dev/sda1 as root device. Dropping to a shell.

After this I get a (initramfs) shell. I figured out that this is due to the fact that a 2.6.18 kernel doesn't support devtmpfs, which is the /dev filesystem Lucid uses. Now I would like to compile a newer kernel and use it as dom0. However, I could not find Xen-patched kernels that might have devtmpfs support (version >= 2.6.32). What are the steps I should take to get, patch and install such a kernel as dom0 (rather than falling back to the default kernel that Xen make scripts download from Mercurial repos)?
 
> [Please point me to any documentation that I might have missed regarding
> this.]

For Xen 4, there's http://wiki.xensource.com/xenwiki/Xen4.0, look at
"tutorials" section.

Note that latest pv_ops kernel used on that tutorial might not work
for earlier versions of Xen, so if you simply want to find newer
kernel that works with Xen 3.4.1, you might want to try kernel 2.6.34
+ patch on http://code.google.com/p/gentoo-xen-kernel/downloads/list

--
Fajar

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