All of lore.kernel.org
 help / color / mirror / Atom feed
* Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
@ 2011-07-17 17:15 Boris Derzhavets
  2011-07-18 11:40 ` [Xen-devel] " Stefano Stabellini
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-17 17:15 UTC (permalink / raw)
  To: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 1156 bytes --]

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 = "NattyHVM"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
vif = [ 'type=ioemu,bridge=br0' ]
device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
kernel = "/usr/lib/xen-4.1/boot/hvmloader"
vnc=1
boot="d"
usb=1
usbdevice="tablet"
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'




root@boris-P5Q-E:~/vms/natty# xl create natty.hvm
Parsing config file natty.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000017b150
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000101580
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup


[-- Attachment #1.2: Type: text/html, Size: 1456 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-17 17:15 Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Boris Derzhavets
@ 2011-07-18 11:40 ` Stefano Stabellini
  2011-07-18 12:31   ` Boris Derzhavets
  0 siblings, 1 reply; 13+ messages in thread
From: Stefano Stabellini @ 2011-07-18 11:40 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

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)
> 
> 
> root@boris-P5Q-E:~/vms/natty# cat natty.hvm
> name = "NattyHVM"
> builder = "hvm"
> memory = "2048"
> disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif = [ 'type=ioemu,bridge=br0' ]
> device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
> kernel = "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=1
> boot="d"
> usb=1
> usbdevice="tablet"
> serial = "pty" # enable serial console
> on_reboot = 'restart'
> on_crash = 'restart'
> 
> 
> 
> 
> root@boris-P5Q-E:~/vms/natty# xl create natty.hvm
> Parsing config file natty.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
> xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup
 
qemu is failing to start.
Is there anything in /var/log/xen/qemu-dm-NattyHVM.log ?

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 11:40 ` [Xen-devel] " Stefano Stabellini
@ 2011-07-18 12:31   ` Boris Derzhavets
  2011-07-18 12:39     ` Stefano Stabellini
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-18 12:31 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 2874 bytes --]

domid: 1
-videoram option does not work with 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 /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 = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 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 state.
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 <stefano.stabellini@eu.citrix.com> wrote:

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
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" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@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)
> 
> 
> root@boris-P5Q-E:~/vms/natty# cat natty.hvm
> name = "NattyHVM"
> builder = "hvm"
> memory = "2048"
> disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif = [ 'type=ioemu,bridge=br0' ]
> device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
> kernel = "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=1
> boot="d"
> usb=1
> usbdevice="tablet"
> serial = "pty" # enable serial console
> on_reboot = 'restart'
> on_crash = 'restart'
> 
> 
> 
> 
> root@boris-P5Q-E:~/vms/natty# xl create natty.hvm
> Parsing config file natty.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
> xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup
 
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

[-- Attachment #1.2: Type: text/html, Size: 3750 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 12:31   ` Boris Derzhavets
@ 2011-07-18 12:39     ` Stefano Stabellini
  2011-07-18 13:41       ` [Xen-users] " Boris Derzhavets
  0 siblings, 1 reply; 13+ messages in thread
From: Stefano Stabellini @ 2011-07-18 12:39 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users, Stefano Stabellini

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> domid: 1
> -videoram option does not work with 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 /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 = 10000 size 4194304
> shared page at pfn feffd
> buffered io page at pfn feffb
> Guest uuid = 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 state.
> 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'
> 

as you can see from the last line of the logs, you are missing the
keymap files (see keymaps directory under qemu-xen-4.1-testing).

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 12:39     ` Stefano Stabellini
@ 2011-07-18 13:41       ` Boris Derzhavets
  2011-07-18 16:26         ` Stefano Stabellini
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-18 13:41 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 3863 bytes --]

Keymaps installed

Now:

root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
Parsing config file f14.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000017b150
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000101580
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
Daemon running with PID 32668
root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0

VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Jul 18 17:36:33 2011
 main:        unable to connect to host: Connection refused (111)

root@boris-P5Q-E:/var/log/xen# cat qemu-dm-F14HVM.log
domid: 236
-videoram option does not work with 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 /local/domain/0/device-model/236/logdirty/cmd
Watching /local/domain/0/device-model/236/command
Watching /local/domain/236/cpu
char device redirected to /dev/pts/3
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = b5a57be5-1097-4021-b3a7-56133c229c16
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/236/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/b5a57be5-1097-4021-b3a7-56133c229c16/vncpasswd.
medium change watch on `hdc' (index: 1): /dev/loop0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
vcpu-set: watch node error.
xs_read(/local/domain/236/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/236/log-throttling'
medium change watch on `/local/domain/236/log-throttling' - unknown device, ignored

Boris



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

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: [Xen-users] 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" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com>, "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
Date: Monday, July 18, 2011, 8:39 AM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> domid: 1
> -videoram option does not work with 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 /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 = 10000 size 4194304
> shared page at pfn feffd
> buffered io page at pfn feffb
> Guest uuid = 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 state.
> 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'
> 

as you can see from the last line of the logs, you are missing the
keymap files (see keymaps directory under qemu-xen-4.1-testing).


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

[-- Attachment #1.2: Type: text/html, Size: 4753 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 13:41       ` [Xen-users] " Boris Derzhavets
@ 2011-07-18 16:26         ` Stefano Stabellini
  2011-07-18 16:33           ` Re: [Xen-devel] " Boris Derzhavets
  0 siblings, 1 reply; 13+ messages in thread
From: Stefano Stabellini @ 2011-07-18 16:26 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users, Stefano Stabellini

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> Keymaps installed
> 
> Now:
> 
> root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
> Parsing config file f14.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 32668
> root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
> 
> VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> 
> Mon Jul 18 17:36:33 2011
>  main:        unable to connect to host: Connection refused (111)
> 
> root@boris-P5Q-E:/var/log/xen# cat qemu-dm-F14HVM.log

There aren't any error in the qemu logs.

Can you please make sure you have:

vncdisplay=0

in the f14.hvm config file?

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 16:26         ` Stefano Stabellini
@ 2011-07-18 16:33           ` Boris Derzhavets
  2011-07-18 17:13             ` [Xen-users] " Stefano Stabellini
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-18 16:33 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2048 bytes --]

Here it is

root@boris-P5Q-E:~/vms/natty# cat f14.hvm
name = "HVM14"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
vif = [ 'type=ioemu,bridge=br0' ]
device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
kernel = "/usr/lib/xen-4.1/boot/hvmloader"
vnc=1
vncdisplay=0
boot="d"
usb=1
usbdevice="tablet"
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'

Boris

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

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-users] 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" <bderzhavets@yahoo.com>
Cc: "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com>
Date: Monday, July 18, 2011, 12:26 PM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> Keymaps installed
> 
> Now:
> 
> root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
> Parsing config file f14.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 32668
> root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
> 
> VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> 
> Mon Jul 18 17:36:33 2011
>  main:        unable to connect to host: Connection refused (111)
> 
> root@boris-P5Q-E:/var/log/xen# cat qemu-dm-F14HVM.log

There aren't any error in the qemu logs.

Can you please make sure you have:

vncdisplay=0

in the f14.hvm config file?

[-- Attachment #1.2: Type: text/html, Size: 2765 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 16:33           ` Re: [Xen-devel] " Boris Derzhavets
@ 2011-07-18 17:13             ` Stefano Stabellini
  2011-07-18 17:50               ` Re: [Xen-devel] " Boris Derzhavets
  0 siblings, 1 reply; 13+ messages in thread
From: Stefano Stabellini @ 2011-07-18 17:13 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users, Stefano Stabellini

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> Here it is
> 
> root@boris-P5Q-E:~/vms/natty# cat f14.hvm
> name = "HVM14"
> builder = "hvm"
> memory = "2048"
> disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif = [ 'type=ioemu,bridge=br0' ]
> device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
> kernel = "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=1
> vncdisplay=0
> boot="d"
> usb=1
> usbdevice="tablet"
> serial = "pty" # enable serial console
> on_reboot = 'restart'
> on_crash = 'restart'

It looks correct, I think it should work.
Are you still having the problem?
Do you have any errors on the Xen serial (xl dmesg)?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 17:13             ` [Xen-users] " Stefano Stabellini
@ 2011-07-18 17:50               ` Boris Derzhavets
  2011-07-19 10:48                 ` [Xen-users] " Stefano Stabellini
  2011-07-20  9:22                 ` [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Ian Campbell
  0 siblings, 2 replies; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-18 17:50 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 6153 bytes --]

root@boris-P5Q-E:~# xl dmesg
(XEN) Xen version 4.1.0 (Ubuntu 4.1.0-3ubuntu4) (zulcss@ubuntu.com) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.0-10ubuntu2) ) Sat Jun  4 19:41:05 UTC 2011
(XEN) Bootloader: GRUB 1.99-8ubuntu1
(XEN) Command line: placeholder
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009cc00 (usable)
(XEN)  000000000009cc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000cff70000 (usable)
(XEN)  00000000cff70000 - 00000000cff7e000 (ACPI data)
(XEN)  00000000cff7e000 - 00000000cffd0000 (ACPI NVS)
(XEN)  00000000cffd0000 - 00000000d0000000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ffe00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000230000000 (usable)
(XEN) ACPI: RSDP 000FB030, 0014 (r0 ACPIAM)
(XEN) ACPI: RSDT CFF70000, 0040 (r1 A_M_I_ OEMRSDT   7000809 MSFT       97)
(XEN) ACPI: FACP CFF70200, 0084 (r2 A_M_I_ OEMFACP   7000809 MSFT       97)
(XEN) ACPI: DSDT CFF70440, 963E (r1  A0986 A0986000        0 INTL 20060113)
(XEN) ACPI: FACS CFF7E000, 0040
(XEN) ACPI: APIC CFF70390, 006C (r1 A_M_I_ OEMAPIC   7000809 MSFT       97)
(XEN) ACPI: MCFG CFF70400, 003C (r1 A_M_I_ OEMMCFG   7000809 MSFT       97)
(XEN) ACPI: OEMB CFF7E040, 0081 (r1 A_M_I_ AMI_OEM   7000809 MSFT       97)
(XEN) ACPI: HPET CFF79A80, 0038 (r1 A_M_I_ OEMHPET   7000809 MSFT       97)
(XEN) ACPI: OSFR CFF79AC0, 00B0 (r1 A_M_I_ OEMOSFR   7000809 MSFT       97)
(XEN) ACPI: SSDT CFF7E5D0, 0A7C (r1 DpgPmm    CpuPm       12 INTL 20060113)
(XEN) System RAM: 8191MB (8387632kB)
(XEN) Domain heap initialised
(XEN) Processor #0 7:7 APIC version 20
(XEN) Processor #1 7:7 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Table is not found!
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2999.757 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced features:
(XEN)  - APIC MMIO access virtualisation
(XEN)  - APIC TPR shadow
(XEN)  - Virtual NMI
(XEN)  - MSR direct-access bitmap
(XEN) HVM: ASIDs disabled.
(XEN) HVM: VMX enabled
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1e43000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000220000000->0000000224000000 (2014127 pages to be allocated)
(XEN)  Init. ramdisk: 000000022db80000->000000022ffffe00
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81e43000
(XEN)  Init. ramdisk: ffffffff81e43000->ffffffff842c2e00
(XEN)  Phys-Mach map: ffffffff842c3000->ffffffff85253178
(XEN)  Start info:    ffffffff85254000->ffffffff852544b4
(XEN)  Page tables:   ffffffff85255000->ffffffff85282000
(XEN)  Boot stack:    ffffffff85282000->ffffffff85283000
(XEN)  TOTAL:         ffffffff80000000->ffffffff85400000
(XEN)  ENTRY ADDRESS: ffffffff81ad0200
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 228kB init memory.


It doesn't work 

root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
Parsing config file f14.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000017b150
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000101580
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
Daemon running with PID 3200
root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0

VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Jul 18 21:48:31 2011
 main:        unable to connect to host: Connection refused (111)

root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
unix  3      [ ]         STREAM     CONNECTED     12590    @/tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     10590    


Boris

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

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-users] 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" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com>, "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
Date: Monday, July 18, 2011, 1:13 PM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> Here it is
> 
> root@boris-P5Q-E:~/vms/natty# cat f14.hvm
> name = "HVM14"
> builder = "hvm"
> memory = "2048"
> disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif = [ 'type=ioemu,bridge=br0' ]
> device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
> kernel = "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=1
> vncdisplay=0
> boot="d"
> usb=1
> usbdevice="tablet"
> serial = "pty" # enable serial console
> on_reboot = 'restart'
> on_crash = 'restart'

It looks correct, I think it should work.
Are you still having the problem?
Do you have any errors on the Xen serial (xl dmesg)?

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

[-- Attachment #1.2: Type: text/html, Size: 8061 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 17:50               ` Re: [Xen-devel] " Boris Derzhavets
@ 2011-07-19 10:48                 ` Stefano Stabellini
  2011-07-19 11:55                   ` Boris Derzhavets
  2011-07-19 12:18                   ` Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 . How to backport HVM support ? Boris Derzhavets
  2011-07-20  9:22                 ` [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Ian Campbell
  1 sibling, 2 replies; 13+ messages in thread
From: Stefano Stabellini @ 2011-07-19 10:48 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users, Stefano Stabellini

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> It doesn't work
> 
> root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
> Parsing config file f14.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 3200
> root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
> 
> VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> 
> Mon Jul 18 21:48:31 2011
>  main:        unable to connect to host: Connection refused (111)
> 
> root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
> unix  3      [ ]         STREAM     CONNECTED     12590    @/tmp/.X11-unix/X0
> unix  3      [ ]         STREAM     CONNECTED     10590   

Can you give it a try with SDL?
Set:

vnc=0
sdl=1

in your VM config file.

I hope you'll be able to see at least the BIOS booting in the SDL
window, and maybe an error accessing the disks.

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-19 10:48                 ` [Xen-users] " Stefano Stabellini
@ 2011-07-19 11:55                   ` Boris Derzhavets
  2011-07-19 12:18                   ` Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 . How to backport HVM support ? Boris Derzhavets
  1 sibling, 0 replies; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-19 11:55 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2688 bytes --]

For SDL :

root@boris-P5Q-E:~/vms/natty# xm create f14.hvm
Using config file "./f14.hvm".
Error: Domain 'HVM14' does not exist.

root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
Parsing config file f14.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000017b150
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000101580
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup


Boris

--- On Tue, 7/19/11, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-users] 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" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com>, "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
Date: Tuesday, July 19, 2011, 6:48 AM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> It doesn't work
> 
> root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
> Parsing config file f14.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 3200
> root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
> 
> VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> 
> Mon Jul 18 21:48:31 2011
>  main:        unable to connect to host: Connection refused (111)
> 
> root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
> unix  3      [ ]         STREAM     CONNECTED     12590    @/tmp/.X11-unix/X0
> unix  3      [ ]         STREAM     CONNECTED     10590   

Can you give it a try with SDL?
Set:

vnc=0
sdl=1

in your VM config file.

I hope you'll be able to see at least the BIOS booting in the SDL
window, and maybe an error accessing the disks.
-----Inline Attachment Follows-----

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

[-- Attachment #1.2: Type: text/html, Size: 3990 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 . How to backport HVM support ?
  2011-07-19 10:48                 ` [Xen-users] " Stefano Stabellini
  2011-07-19 11:55                   ` Boris Derzhavets
@ 2011-07-19 12:18                   ` Boris Derzhavets
  1 sibling, 0 replies; 13+ messages in thread
From: Boris Derzhavets @ 2011-07-19 12:18 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, xen-users, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2115 bytes --]

Stefano,

I believe that in Xen Unstable should be set of CS's brought back HVM support.
The question is - which ones ?

Boris.

--- On Tue, 7/19/11, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-users] 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" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com>, "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
Date: Tuesday, July 19, 2011, 6:48 AM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> It doesn't work
> 
> root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
> Parsing config file f14.hvm
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017b150
>   TOTAL:         0000000000000000->000000007f800000
>   ENTRY ADDRESS: 0000000000101580
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000003fb
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 3200
> root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
> 
> VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> 
> Mon Jul 18 21:48:31 2011
>  main:        unable to connect to host: Connection refused (111)
> 
> root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
> unix  3      [ ]         STREAM     CONNECTED     12590    @/tmp/.X11-unix/X0
> unix  3      [ ]         STREAM     CONNECTED     10590   

Can you give it a try with SDL?
Set:

vnc=0
sdl=1

in your VM config file.

I hope you'll be able to see at least the BIOS booting in the SDL
window, and maybe an error accessing the disks.
-----Inline Attachment Follows-----

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

[-- Attachment #1.2: Type: text/html, Size: 3276 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
  2011-07-18 17:50               ` Re: [Xen-devel] " Boris Derzhavets
  2011-07-19 10:48                 ` [Xen-users] " Stefano Stabellini
@ 2011-07-20  9:22                 ` Ian Campbell
  1 sibling, 0 replies; 13+ messages in thread
From: Ian Campbell @ 2011-07-20  9:22 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: xen-devel, xen-users, Stefano Stabellini

        root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0
        
        VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
        Copyright (C) 2002-2005 RealVNC Ltd.
        See http://www.realvnc.com for information on VNC.
        
        Mon Jul 18 21:48:31 2011
         main:        unable to connect to host: Connection refused
        (111)
        
        root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
        unix  3      [ ]         STREAM     CONNECTED     12590
        @/tmp/.X11-unix/X0
        unix  3      [ ]         STREAM     CONNECTED     10590    
        
        
What does "ps aux | grep qemu" show as your qemu command line? Also
"netstat -a | grep qemu" might be interesting.

When I have an issue with qemu I often specify the device model in my
guest configuration as a script containing:
	echo $@ > /tmp/qemu-dm
	sleep 1h

Then immediately after running "xl create" I can examine /tmp/qemu-dm
and run the qemu by hand in the foreground, or under gdb etc. (there is
a timeout in xl waiting for qemu to announce itself so you need to be
reasonably prompt...)

Ian.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-07-20  9:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 17:15 Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Boris Derzhavets
2011-07-18 11:40 ` [Xen-devel] " Stefano Stabellini
2011-07-18 12:31   ` Boris Derzhavets
2011-07-18 12:39     ` Stefano Stabellini
2011-07-18 13:41       ` [Xen-users] " Boris Derzhavets
2011-07-18 16:26         ` Stefano Stabellini
2011-07-18 16:33           ` Re: [Xen-devel] " Boris Derzhavets
2011-07-18 17:13             ` [Xen-users] " Stefano Stabellini
2011-07-18 17:50               ` Re: [Xen-devel] " Boris Derzhavets
2011-07-19 10:48                 ` [Xen-users] " Stefano Stabellini
2011-07-19 11:55                   ` Boris Derzhavets
2011-07-19 12:18                   ` Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 . How to backport HVM support ? Boris Derzhavets
2011-07-20  9:22                 ` [Xen-users] Re: Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2) Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.