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] Re: Ubuntu 11.04 64-bit HVM on xen-unstable 23842

To: Fantu <fantonifabio@xxxxxxxxxx>
Subject: Re: [Xen-users] Re: Ubuntu 11.04 64-bit HVM on xen-unstable 23842
From: AP <apxeng@xxxxxxxxx>
Date: Thu, 22 Sep 2011 22:22:54 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Sep 2011 22:24:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FqfUN9/n9UbokH+aCrJHSjvjb+56ZerH/bfgfYdIZKg=; b=OkYjR+W/RLfIH0RB2cMctkcfwh1zipAblAr1oe4aV9S6c0QqgmDlpAKLceBRwZnWUF ET3y0FNW0RzNqbv3omNeGTl2nMq3Ivd4YIbrYUzCZ42+U3mrINo8weIKNNJb7ZebLWIt 8nnY7UguuoVtC2u6AGOVGYrUk2nWH1iWKjphM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1316592418206-4825514.post@xxxxxxxxxxxxx>
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: <CAGU+aut1TH0A5=trdhaftJJJ2EPbrQHm+F4TUQBV1rF=cksUcw@xxxxxxxxxxxxxx> <1316592418206-4825514.post@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Sep 21, 2011 1:08 AM, "Fantu" <fantonifabio@xxxxxxxxxx> wrote:
>
> Why ubuntu as hvm domu and not pv?

I am trying out nested virtualization which is why I need it to be a HVM domain.

> I have installed Natty as pv, with official netinstall take here:
> http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/current/images/netboot/xen/
> Have 2 problem on install solved:
> On network interfaces detection failed select "go back" select execute
> shell, insert this command:
> modprobe xen-netfront
> exit
> select "Detect network hardware"
> continue with normal install and at bootloader problem select to continue
> without bootloader.
> At install complete mount domu disk with -o loop on dom0 and create file for
> pygrub, for example:
> mkdir /mnt/tmp/boot/grub
> vi /mnt/tmp/boot/grub/menu.lst #check always kernel version
> ----------------------------------------------------------
> default         0
> timeout         2
>
> title           Natty 64 bit (Ubuntu 11.04)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.38-11-generic root=/dev/xvda1 ro
> initrd          /boot/initrd.img-2.6.38-11-generic
>
> title           Natty 64 bit (Ubuntu 11.04) (Single-User)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.38-11-generic root=/dev/xvda1 ro single
> initrd          /boot/initrd.img-2.6.38-11-generic
> ----------------------------------------------------------
> Start the first time and solve the other problem, for example:
> xm create NATTY.cfg
> xm console NATTY.cfg
> modprobe xen-blkfront
> exit
> # login and add xen modules
> # Add in /etc/initramfs-tools/modules and /etc/modules:
> ----------------------------------------------------------
> xen_netfront #Xen virtual network device frontend
> xen_blkfront #Xen virtual block device frontend
> xen_fbfront #Xen virtual framebuffer device frontend
> xen_kbdfront #Xen virtual keyboard/pointer device frontend
> ----------------------------------------------------------

Yes this will solve the issue if you are running a PV domain. I think something similar is happening with the HVM domain. My guess is that the 11.04 kernel does not have the drivers for the disk adapter being exposed by QEMU.

> sudo update-initramfs -u
> sudo reboot
>
> You can also install grub2 without problem on domu active now:
> sudo rm /boot/grub/menu.lst
> sudo aptitude install grub
> sudo update-grub
>
> I have all working except 2 problem:
>
> - Xen vnc pointer doesn't work after restore
>
> - Cdrom in cfg file, see example below:
> disk=['tap2:aio:/mnt/vm/disks/NATTY.disk1.xm,xvda1,w',
> 'tap2:aio:/mnt/vm/disks/NATTY.disk2.xm,xvda2,w',
> 'phy:/dev/scd0,xvdb:cdrom,r']
>
> is seen as internal disk and only administrator can mount it
>
>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Ubuntu-11-04-64-bit-HVM-on-xen-unstable-23842-tp4812413p4825514.html
> Sent from the Xen - User mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>