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] Kernel DomU 2.6.36.1 dont boot PVonHVM

To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
From: Roberto Scudeller <beto.rvs@xxxxxxxxx>
Date: Mon, 6 Dec 2010 15:22:29 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Dec 2010 09:24:28 -0800
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:cc:content-type; bh=36hN6lZjnrvA+IF51zhGV4zkw1UhAitusthLpRvtH6o=; b=nXAbMg7TZoXZEv1Lk7vMq1+Jop8lhv5GFelLpiVxG0TvuUySCFMLpBo7ZipCyrRpbc zEadNYf1R4b6bOu3KtwtcTjQXSdu+hFVt+/Ys7LkWvq782wMkXeylFvqzqUiwLOJ9ZeJ q7HDVzQB0NcM2eEklgrg+OxJeRar5/CVH3C30=
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; b=JNLZ7uw90IO/VmJZbgqe5VV8FnmX1iVTCxrehG6fuBr1AJ2PMz/KSM85b66I/FVImz Cj8h+FO5kl/WYpWZACdal6t7lI1zqxXtOaeBkz0fCl7jvgAXUao1xrd/SLvQ6e0Du65L T/jckMVN0/WsuDgCRp/n0JyeX6ltdRYCTsmhw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <204896.51765.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <AANLkTimUGr-Mxm11BH_cYQNqz3qA3YU8XLw9uPLsp0fs@xxxxxxxxxxxxxx> <204896.51765.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Boris,

I try mount my root partition in /dev/xvda1 and I receive a new error:

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init
No init found. Try passing init= bootarg
(initramfs)

I used a raw disk in my Xen, and this disks have a partition table create when I installed a HVM VM.

This machine boot with my old kernel 2.6.32 with a pvdrivers (used this patch: http://blog.alex.org.uk/tag/xen/ ).

I created a VM with this parameters for disk:
'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w' , 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',

This is a xml dump (virsh dumpxml VM):
    <disk type='file' device='disk'>
      <driver name='tap' type='tapdisk'/>
      <source file='aio:/PATH/ubuntu10.04/hda'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='tap' type='tapdisk'/>
      <source file='aio:/PATH/ubuntu10.04/xvda'/>
      <target dev='xvda' bus='xen'/>
    </disk>


In hda I have my /boot, and xvda I have my / (root partition).

Anyone have any idea?

Cheers,
Roberto Scudeller


2010/12/4 Boris Derzhavets <bderzhavets@xxxxxxxxx>
I would try repartitioning with "/" on /dev/xvda1


Boris

--- On Fri, 12/3/10, Roberto Scudeller <beto.rvs@xxxxxxxxx> wrote:

From: Roberto Scudeller <beto.rvs@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, December 3, 2010, 3:22 PM


Hi Boris,

My root partition is /dev/xvda2, in kernel not PVonHVM my root partition is /dev/sda2 and a swap is /dev/sda1.


Looks like this kernel not found the second partition (the root partition).
This kernel "jump" the swap partition??

Thanks for you help.


Cheers,
Roberto


2010/12/3 Boris Derzhavets <bderzhavets@xxxxxxxxx>
> Cannot find a root partition /dev/xvda2
Looks like your root partition is /dev/xvda1

Boris.

--- On Fri, 12/3/10, Roberto Scudeller <beto.rvs@xxxxxxxxx> wrote:

From: Roberto Scudeller <beto.rvs@xxxxxxxxx>
Subject: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, December 3, 2010, 12:37 PM


Hi all,


I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront, xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04 and I try with ubuntu 10.10.

In boot I receive error "Cannot find a root partition /dev/xvda2" and a prompt (initramfs) appear.

In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
 xvda: xvda1
vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712


I try to create n initramfs, with any modules and the DomU dont boot.
I forgot something? Can someone help me?


Thanks for any help.


--
Roberto Scudeller
Especialista Linux/Unix

-----Inline Attachment Follows-----


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




--
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@xxxxxxxxx
beto_rvs@xxxxxxxxxxxx




--
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@xxxxxxxxx
beto_rvs@xxxxxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users