From: Boris Derzhavets Subject: Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Date: Mon, 18 Jul 2011 05:31:03 -0700 (PDT) Message-ID: <1310992263.19414.YahooMailClassic@web65904.mail.ac4.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1712526668==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1712526668== Content-Type: multipart/alternative; boundary="0-625873550-1310992263=:19414" --0-625873550-1310992263=:19414 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable domid: 1 -videoram option does not work with cirrus vga device model. Videoram set t= o 4M. Using file /dev/sda5 in read-write mode Using file /dev/loop0 in read-only mode Watching /local/domain/0/device-model/1/logdirty/cmd Watching /local/domain/0/device-model/1/command Watching /local/domain/1/cpu char device redirected to /dev/pts/2 qemu_map_cache_init nr_buckets =3D 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid =3D 4de22a31-1735-4d06-be4d-3887eba949ee populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw st= ate. xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error Could not read keymap file: '/usr/share/qemu/keymaps/en-us' Boris --- On Mon, 7/18/11, Stefano Stabellini = wrote: From: Stefano Stabellini Subject: Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0= .0-5-generic) Ubuntu 11.10 (alpha 2) To: "Boris Derzhavets" Cc: "xen-devel@lists.xensource.com" , "xen-u= sers@lists.xensource.com" Date: Monday, July 18, 2011, 7:40 AM On Sun, 17 Jul 2011, Boris Derzhavets wrote: > root@boris-P5Q-E:/mnt/usr/tmp# losetup -f ubuntu11.04.iso > root@boris-P5Q-E:/mnt/usr/tmp# losetup -a > /dev/loop0: [0809]:406494 (/mnt/usr/tmp/ubuntu11.04.iso) >=20 >=20 > root@boris-P5Q-E:~/vms/natty# cat natty.hvm > name =3D "NattyHVM" > builder =3D "hvm" > memory =3D "2048" > disk =3D ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r'] > vif =3D [ 'type=3Dioemu,bridge=3Dbr0' ] > device_model =3D "/usr/lib/xen-4.1/bin/qemu-dm" > kernel =3D "/usr/lib/xen-4.1/boot/hvmloader" > vnc=3D1 > boot=3D"d" > usb=3D1 > usbdevice=3D"tablet" > serial =3D "pty" # enable serial console > on_reboot =3D 'restart' > on_crash =3D 'restart' >=20 >=20 >=20 >=20 > root@boris-P5Q-E:~/vms/natty# xl create natty.hvm > Parsing config file natty.hvm > xc: info: VIRTUAL MEMORY ARRANGEMENT: > =A0 Loader:=A0=A0=A0=A0=A0=A0=A0 0000000000100000->000000000017b150 > =A0 TOTAL:=A0=A0=A0=A0=A0=A0=A0=A0 0000000000000000->000000007f800000 > =A0 ENTRY ADDRESS: 0000000000101580 > xc: info: PHYSICAL MEMORY ALLOCATION: > =A0 4KB PAGES: 0x0000000000000200 > =A0 2MB PAGES: 0x00000000000003fb > =A0 1GB PAGES: 0x0000000000000000 > libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Mode= l not ready > xl: fatal error: libxl_create.c:535, rc=3D-1: libxl__confirm_device_model= _startup =20 qemu is failing to start. Is there anything in /var/log/xen/qemu-dm-NattyHVM.log ? -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0-625873550-1310992263=:19414 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
domid: 1
-videoram option does not work wi= th cirrus vga device model. Videoram set to 4M.
Using file /dev/sda5 in = read-write mode
Using file /dev/loop0 in read-only mode
Watching /loc= al/domain/0/device-model/1/logdirty/cmd
Watching /local/domain/0/device-= model/1/command
Watching /local/domain/1/cpu
char device redirected t= o /dev/pts/2
qemu_map_cache_init nr_buckets =3D 10000 size 4194304
sh= ared page at pfn feffd
buffered io page at pfn feffb
Guest uuid =3D 4= de22a31-1735-4d06-be4d-3887eba949ee
populating video RAM at ff000000
= mapping video RAM from ff000000
Register xen platform.
Done register = platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area.= now is rw state.
xs_read(/local/domain/0/device-model/1/xen_extended_po= wer_mgmt): read error
Could not read keymap file: '/usr/share/qemu/keymaps/en-us'

Boris

--- On Mon, 7/18/11= , Stefano Stabellini <stefano.stabellini@eu.citrix.com> wr= ote:

From: Stefano Stabellini <stefano.s= tabellini@eu.citrix.com>
Subject: Re: [Xen-devel] Failure to create H= VM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
To: = "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xe= nsource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensou= rce.com" <xen-users@lists.xensource.com>
Date: Monday, July 18, 20= 11, 7:40 AM

On Sun, 17 Jul 2011, Boris Derz= havets wrote:
> root@boris-P5Q-E:/mnt/usr/tmp# losetup -f ubuntu11.04= .iso
> root@boris-P5Q-E:/mnt/usr/tmp# losetup -a
> /dev/loop0: = [0809]:406494 (/mnt/usr/tmp/ubuntu11.04.iso)
>
>
> root@boris-P5Q-E:~/vms/natty# cat natty.hvm
> name =3D "NattyHVM"> builder =3D "hvm"
> memory =3D "2048"
> disk =3D ['phy:/d= ev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif =3D [ 'type=3Dioe= mu,bridge=3Dbr0' ]
> device_model =3D "/usr/lib/xen-4.1/bin/qemu-dm"<= br>> kernel =3D "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=3D1
>= ; boot=3D"d"
> usb=3D1
> usbdevice=3D"tablet"
> serial = =3D "pty" # enable serial console
> on_reboot =3D 'restart'
> o= n_crash =3D 'restart'
>
>
>
>
> root@bori= s-P5Q-E:~/vms/natty# xl create natty.hvm
> Parsing config file natty.= hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:&nb= sp;       0000000000100000->000000000017b1= 50
>   TOTAL:         00= 00000000000000->000000007f800000
>   ENTRY ADDRESS: 000000000= 0101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x000= 0000000000000
> libxl: error: libxl_device.c:476:libxl__wait_for_devi= ce_model Device Model not ready
> xl: fatal error: libxl_create.c:535= , rc=3D-1: libxl__confirm_device_model_startup

qemu is failing to s= tart.
Is there anything in /var/log/xen/qemu-dm-NattyHVM.log ?

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

_______= ________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xenso= urce.com/xen-devel
--0-625873550-1310992263=:19414-- --===============1712526668== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1712526668==--