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

[Xen-users] Can't boot HVM domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can't boot HVM domU
From: "Roberto Jung Drebes" <drebes.lists@xxxxxxxxx>
Date: Fri, 5 Oct 2007 14:33:56 +0900
Delivery-date: Thu, 04 Oct 2007 22:34:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=e981/ajdApOoE7iOAm3dEMdhG/UZci+GA32OZUQNkHM=; b=HtfzdDRIYDPjlZ7FtxaX8BW5+i2o0cekT3erH+xrgS6uSqiTNNo4XS7owkdezUPXKTaj9WNu+K85atIPbx6Z3bcia+a6CXIsp7xx3DODI5CWUahTm/XeMo5fdoqYXgqwxnb9RiyINZYiTe4hxX15iCdHvLkAgqfS07fRRMqMq7M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Lwt+5O3kwHS/ztqSwTayMW4/we1LspLUyn/6ZC8j2sgXpNaLGOTElcMycRJidTSZeviIkQeLbwRDoE6OZCRCYmn4O+7ixLSyZhWYoenxAChLQMiLoXQlEIwfNp82VRhe5EJzhJAzIj9XEVyMuYa3Sn99t314q0NgPpQ6wTyz8pc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello there,

I'm trying to boot a HVM domU to no avail.

My software platform is Ubuntu 7.04 running Xen 3.1.0. The kernel I
had to downgrade from Ubuntu's original 2.6.20 to Xen's 2.6.18-xen.

My hardware platform is an Athlon 64X2 3800+ running on a Asus M2A-VM
motherboard. I'm running the latest BIOS and virtualization support is
available and enabled on the BIOS.

I tried booting FreeBSD 6.2 (amd64), but it freezes with the BTX error
reported by other people when trying to boot FreeBSD in a HVM.

I tried booting Ubuntu 7.04 live CD, but after the VGA grub screen it
freezes with "Kernel alive", "Kernel direct mapping tables up to
18000000 @ 8000-a000".

I tried booting from the Windows 2000 install CD, but I don't get any
message at all.


My config file is very basic:

===

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"

builder='hvm'

memory = 384

name = "MyHVMDomain"

disk = [ 'file:/var/lib/xen/images/hvmexample.img,hda,w',
'file:/var/lib/xen/images/ubuntu-7.04-desktop-amd64.iso,hdc:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

boot="d"

vnc=1
vncdisplay=1
vncpasswd=''
stdvga=0
serial='pty'
===

The output from "xm log" shows:

[2007-10-05 14:09:40 2697] DEBUG (__init__:1094)
XendDomainInfo.create([\047vm\047, [\047name\047,
\047MyHVMDomain\047], [\047memory\047, 384], [\047vcpus\047, 1],
[\047on_xend_start\047, \047ignore\047], [\047on_xend_stop\047,
\047ignore\047], [\047image\047, [\047hvm\047, [\047kernel\047,
\047/usr/lib/xen/boot/hvmloader\047], [\047device_model\047,
\047/usr/lib64/xen/bin/qemu-dm\047], [\047pae\047, 1], [\047vcpus\047,
1], [\047boot\047, \047d\047], [\047fda\047, \047\047], [\047fdb\047,
\047\047], [\047localtime\047, 0], [\047serial\047, \047pty\047],
[\047stdvga\047, 0], [\047isa\047, 0], [\047nographic\047, 0],
[\047soundhw\047, \047\047], [\047vnc\047, 1], [\047vncdisplay\047,
1], [\047vncunused\047, 1], [\047display\047, \047:0.0\047],
[\047xauthority\047, \047/home/drebes/.Xauthority\047],
[\047rtc_timeoffset\047, \0470\047], [\047monitor\047, 0],
[\047acpi\047, 1], [\047apic\047, 1], [\047usb\047, 0],
[\047usbdevice\047, \047\047], [\047keymap\047, \047\047],
[\047vncpasswd\047, \047XXXXXXXX\047]]], [\047device\047,
[\047vbd\047, [\047uname\047,
\047file:/var/lib/xen/images/hvmexample.img\047], [\047dev\047,
\047hda\047], [\047mode\047, \047w\047]]], [\047device\047,
[\047vbd\047, [\047uname\047,
\047file:/var/lib/xen/images/ubuntu-7.04-desktop-amd64.iso\047],
[\047dev\047, \047hdc:cdrom\047], [\047mode\047, \047r\047]]]])
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) XendDomainInfo.constructDomain
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) Balloon: 406608 KiB
free; need 2048; done.
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) Adding Domain: 3
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094)
XendDomainInfo.initDomain: 3 256
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: boot, val: d
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: fda, val: None
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: fdb, val: None
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: soundhw, val: None
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: localtime, val: 0
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: serial, val: pty
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: std-vga, val: 0
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: isa, val: 0
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: acpi, val: 1
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: usb, val: 0
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: usbdevice, val: None
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) args: k, val: None
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094)
_initDomain:shadow_memory=0x0, memory_static_max=0x18000000,
memory_static_min=0x0.
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) Balloon: 405572 KiB
free; need 405504; done.
[2007-10-05 14:09:40 2697] INFO (__init__:1094) buildDomain os=hvm dom=3 vcpus=1
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) domid          = 3
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) image          =
/usr/lib/xen/boot/hvmloader
[2007-10-05 14:09:40 2697] DEBUG (__init__:1094) store_evtchn   = 2
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) memsize        = 384
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) vcpus          = 1
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) pae            = 1
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) acpi           = 1
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) apic           = 1
[2007-10-05 14:09:41 2697] INFO (__init__:1094) createDevice: vfb :
{\047vncunused\047: 1, \047other_config\047: {\047vncunused\047: 1,
\047vncdisplay\047: 1}, \047vncdisplay\047: 1, \047uuid\047:
\0478f961eca-7eef-8670-9a09-857300f8c2b2\047}
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047state\047: \0471\047, \047backend-id\047: \0470\047,
\047backend\047: \047/local/domain/0/backend/vfb/3/0\047} to
/local/domain/3/device/vfb/0.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047vncunused\047: \0471\047, \047domain\047:
\047MyHVMDomain\047, \047frontend\047:
\047/local/domain/3/device/vfb/0\047, \047uuid\047:
\0478f961eca-7eef-8670-9a09-857300f8c2b2\047, \047vncdisplay\047:
\0471\047, \047state\047: \0471\047, \047online\047: \0471\047,
\047frontend-id\047: \0473\047} to /local/domain/0/backend/vfb/3/0.
[2007-10-05 14:09:41 2697] INFO (__init__:1094) createDevice: vbd :
{\047uuid\047: \047c136d5eb-b0be-5e37-1bb5-f611543daa3d\047,
\047bootable\047: 1, \047driver\047: \047paravirtualised\047,
\047dev\047: \047hda\047, \047uname\047:
\047file:/var/lib/xen/images/hvmexample.img\047, \047mode\047:
\047w\047}
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047backend-id\047: \0470\047, \047virtual-device\047:
\047768\047, \047device-type\047: \047disk\047, \047state\047:
\0471\047, \047backend\047: \047/local/domain/0/backend/vbd/3/768\047}
to /local/domain/3/device/vbd/768.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047domain\047: \047MyHVMDomain\047, \047frontend\047:
\047/local/domain/3/device/vbd/768\047, \047uuid\047:
\047c136d5eb-b0be-5e37-1bb5-f611543daa3d\047, \047dev\047:
\047hda\047, \047state\047: \0471\047, \047params\047:
\047/var/lib/xen/images/hvmexample.img\047, \047mode\047: \047w\047,
\047online\047: \0471\047, \047frontend-id\047: \0473\047,
\047type\047: \047file\047} to /local/domain/0/backend/vbd/3/768.
[2007-10-05 14:09:41 2697] INFO (__init__:1094) createDevice: vbd :
{\047uuid\047: \0477ed87329-6de8-49ff-f1ff-388c27166e45\047,
\047bootable\047: 0, \047driver\047: \047paravirtualised\047,
\047dev\047: \047hdc:cdrom\047, \047uname\047:
\047file:/var/lib/xen/images/ubuntu-7.04-desktop-amd64.iso\047,
\047mode\047: \047r\047}
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047backend-id\047: \0470\047, \047virtual-device\047:
\0475632\047, \047device-type\047: \047cdrom\047, \047state\047:
\0471\047, \047backend\047:
\047/local/domain/0/backend/vbd/3/5632\047} to
/local/domain/3/device/vbd/5632.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047domain\047: \047MyHVMDomain\047, \047frontend\047:
\047/local/domain/3/device/vbd/5632\047, \047uuid\047:
\0477ed87329-6de8-49ff-f1ff-388c27166e45\047, \047dev\047:
\047hdc\047, \047state\047: \0471\047, \047params\047:
\047/var/lib/xen/images/ubuntu-7.04-desktop-amd64.iso\047,
\047mode\047: \047r\047, \047online\047: \0471\047,
\047frontend-id\047: \0473\047, \047type\047: \047file\047} to
/local/domain/0/backend/vbd/3/5632.
[2007-10-05 14:09:41 2697] INFO (__init__:1094) spawning device
models: /usr/lib64/xen/bin/qemu-dm
[\047/usr/lib64/xen/bin/qemu-dm\047, \047-d\047, \0473\047,
\047-vcpus\047, \0471\047, \047-boot\047, \047d\047, \047-serial\047,
\047pty\047, \047-acpi\047, \047-domain-name\047, \047MyHVMDomain\047,
\047-vncunused\047, \047-vnclisten\047, \047127.0.0.1\047]
[2007-10-05 14:09:41 2697] INFO (__init__:1094) device model pid: 4220
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Storing VM details:
{\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047:
\0474\047, \047uuid\047: \04746f77b4e-3122-8afe-2407-530ab977f445\047,
\047on_reboot\047: \047restart\047, \047start_time\047:
\0471191560981.57\047, \047on_poweroff\047: \047destroy\047,
\047on_xend_start\047: \047ignore\047, \047on_crash\047:
\047restart\047, \047xend/restart_count\047: \0470\047, \047vcpus\047:
\0471\047, \047vcpu_avail\047: \0471\047, \047image\047: \047(hvm
(kernel /usr/lib/xen/boot/hvmloader) (acpi 1) (apic 1) (boot d)
(device_model /usr/lib64/xen/bin/qemu-dm) (display :0.0) (isa 0)
(localtime 0) (monitor 0) (nographic 0) (pae 1) (rtc_timeoffset 0)
(serial pty) (stdvga 0) (usb 0) (vnc 1) (vncdisplay 1) (vncunused 1)
(xauthority /home/drebes/.Xauthority) (notes (SUSPEND_CANCEL 1)))\047,
\047name\047: \047MyHVMDomain\047}
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Storing domain
details: {\047console/port\047: \0473\047, \047name\047:
\047MyHVMDomain\047, \047console/limit\047: \0471048576\047,
\047vm\047: \047/vm/46f77b4e-3122-8afe-2407-530ab977f445\047,
\047domid\047: \0473\047, \047image/suspend-cancel\047: \0471\047,
\047cpu/0/availability\047: \047online\047, \047memory/target\047:
\047393216\047,
\047control/platform-feature-multiprocessor-suspend\047: \0471\047,
\047store/ring-ref\047: \04798302\047, \047store/port\047: \0472\047}
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047state\047: \0471\047, \047backend-id\047: \0470\047,
\047backend\047: \047/local/domain/0/backend/console/3/0\047} to
/local/domain/3/device/console/0.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) DevController:
writing {\047domain\047: \047MyHVMDomain\047, \047protocol\047:
\047vt100\047, \047uuid\047:
\0479c3294c2-8c8f-e709-c5dc-8d6c4e7be119\047, \047frontend\047:
\047/local/domain/3/device/console/0\047, \047state\047: \0471\047,
\047location\047: \0473\047, \047online\047: \0471\047,
\047frontend-id\047: \0473\047} to
/local/domain/0/backend/console/3/0.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094)
XendDomainInfo.handleShutdownWatch
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Waiting for devices vif.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Waiting for devices usb.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Waiting for devices vbd.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Waiting for 768.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) hotplugStatusCallback
/local/domain/0/backend/vbd/3/768/hotplug-status.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) hotplugStatusCallback 1.
[2007-10-05 14:09:41 2697] DEBUG (__init__:1094) Waiting for 5632.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) hotplugStatusCallback
/local/domain/0/backend/vbd/3/5632/hotplug-status.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) hotplugStatusCallback
/local/domain/0/backend/vbd/3/5632/hotplug-status.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) hotplugStatusCallback 1.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices irq.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices vkbd.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices vfb.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) skip waiting for HVM vfb
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices console.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for 0.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices pci.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices ioports.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices tap.
[2007-10-05 14:09:42 2697] DEBUG (__init__:1094) Waiting for devices vtpm.
[2007-10-05 14:09:42 2697] INFO (__init__:1094) Domain MyHVMDomain (3) unpaused.

Is there anything I'm doing wrong or is it a problem with my platform?

Thanks in advance,


-- 
Roberto Jung Drebes - Tokyo, Japan
<drebes@xxxxxxxxx>
http://dorebesu.blogspot.com/

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Can't boot HVM domU, Roberto Jung Drebes <=