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: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
From: Roberto Scudeller <beto.rvs@xxxxxxxxx>
Date: Fri, 3 Dec 2010 17:12:00 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 03 Dec 2010 11:14:02 -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=bMfR/CRWphp6g3XjwbEzHsr/1Vf+xBmtAiv2VhsQ1sQ=; b=Kl+8LLV81yOjT02TDqPkLahQSzJW7BCuAd6jEfNe5qB21GmyhAe1XXPqrzjkEVsKcQ F3VXx4UoQNi/jeTt26LbxlTA3xoQeoA6WlBUiFDDhF9mPD1d9EsGqMb6jE4i9kWclmJC ZAImRxwtZqtT3FZ2+wvDhjJmMVDxFiShYck8k=
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=d9VDyV90NM6+1vCffCluU0bKXgTmFS/ex1J89LpziIwzr+NM8UjuQbouqMPu/3+2w4 F4P5lthRdYF8YiE1Z8mxqHR0/Ltswlx/cP8Ka4LkNt8EV/d6SO/3QKy+1sonp4CYCKs+ PsL7fGOFdHNuvgSxydLgFeWpY+EUUKXg+PUL4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinLcgRE5J1cADGxhtOpVucRBFbK2SE-uKoLdn=e@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: <AANLkTimKqNkkreDa=WUcFBp9YvOyZnJkRZgrhkha8xRC@xxxxxxxxxxxxxx> <AANLkTinLcgRE5J1cADGxhtOpVucRBFbK2SE-uKoLdn=e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Martinx,

thanks for you help.

How you create DomU.cfg ? Especially disks?

My DomU.cfg, in disks:

disk=[ 'tap2:tapdisk:aio:/PATH/ubuntu10-04/hda.img,hda,w' , 'tap2:tapdisk:aio:/PATH/ubuntu10-04/xvda.img,xvda,w' ]

In hda.img I have a /boot and in xvda.img I have swap and root (xvda1 is swap and xvda2 is / ).

Cheers,
Roberto.


2010/12/3 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Hi!

 All my Ubuntu 10.04 servers are using the Linux 2.6.36 compiled by me.

 Basically you should do:

 aptitude install build-essential libncurses5-dev
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
 tar xf linux-2.6.36.1.tar.bz2
 cd linux-2.6.36.1
 make defconfig
 make menuconfig

  Enable Xen within the menuconfig...

 make
 make deb-pkg
 dpkg -i ../linux-image*.deb
 depmod 2.6.36.1
 update-initramfs -c -k 2.6.36.1
 update-grub

 reboot

 PS.: You must use the GRUB1 if your dom0 is a XenServer or some old version of Xen...

 Hope to help!

Cheers!
Thiago

On 3 December 2010 15:37, Roberto Scudeller <beto.rvs@xxxxxxxxx> wrote:
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

_______________________________________________
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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users