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-devel

Re: [Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 11616
From: Ed Smith <esmith@xxxxxxxxxxxxxxx>
Date: Tue, 26 Sep 2006 16:26:18 -0400
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Delivery-date: Tue, 26 Sep 2006 13:26:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C13F313B.1C07%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C13F313B.1C07%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060420)
Keir Fraser wrote:
On 26/9/06 7:31 pm, "Ed Smith" <esmith@xxxxxxxxxxxxxxx> wrote:

Debug builds are fine and certainly easier to well, debug with, but they often
run slower than release builds and hide problems.  Humm... I wonder if thats
why you are not seeing this problem.

It is usually the other way round, since debug builds contain lots of cross
checks and assertions that are not included in production builds. Certainly
a few bugs do only crop up in production builds, and so we test both types
of builds ourselves, but it's rare and the first thing we'll do if we see a
production-build crash is to try and repro with a debug build.

This must be one of those rare ones ;')  Debug build works, release build fails.

I did a 64bit XEN debug build and tried booting 64bit RHEL4U2 2CPU 256MB HVM
guest and it boots fine.  I then did a 64bit XEN release build and tried booting
the same guest and I crash in vmx.c:2268.  dom0 console output for both debug
and release builds is attached.

This is c/s 11616.

Cheers,
Ed

File: debug_dom0.console

Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
Kernel 2.6.16.29-xen on an x86_64

tst177 login: root
Password:
Last login: Tue Sep 26 08:38:08 on ttyS0
You have new mail.
[root@tst177 ~]# Bridge firewalling registered
ip_tables: (C) 2000-2006 Netfilter Core Team

[root@tst177 ~]# xm info
host                   : tst177
release                : 2.6.16.29-xen
version                : #1 SMP Tue Sep 26 15:05:30 EDT 2006
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2793
hw_caps                : 
bfebfbff:20100800:00000000:00000180:0000e43d:00000000:00000001
total_memory           : 2046
free_memory            : 131
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p 
hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Mon Sep 25 18:19:30 2006 +0100 11616:7de1715d185e
cc_compiler            : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
cc_compile_by          : esmith
cc_compile_domain      : virtualiron.com
cc_compile_date        : Tue Sep 26 14:21:17 EDT 2006
xend_config_format     : 2
[root@tst177 ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     1876     2 r-----     33.5
[root@tst177 ~]# (XEN) sh_update_paging_modes: postponing determination of 
shadow mode
(XEN) sh_update_paging_modes: postponing determination of shadow mode
(XEN) (file=hvm.c, line=195) Allocated port 3 for hvm.
(XEN) (file=hvm.c, line=195) Allocated port 4 for hvm.
ip_tables: (C) 2000-2006 Netfilter Core Team
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 7e754 (pseudophys a0): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5b17 (pseudophys a1): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5b16 (pseudophys a2): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5717 (pseudophys a3): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5716 (pseudophys a4): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 6781 (pseudophys a5): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 6780 (pseudophys a6): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5ae9 (pseudophys a7): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5ae8 (pseudophys a8): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5ae7 (pseudophys a9): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5ae6 (pseudophys aa): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5881 (pseudophys ab): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5880 (pseudophys ac): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a2f (pseudophys ad): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a2e (pseudophys ae): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a47 (pseudophys af): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a46 (pseudophys b0): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 6787 (pseudophys b1): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 6786 (pseudophys b2): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a39 (pseudophys b3): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a38 (pseudophys b4): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a33 (pseudophys b5): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5a32 (pseudophys b6): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cf15 (pseudophys b7): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cf14 (pseudophys b8): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cb15 (pseudophys b9): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cb14 (pseudophys ba): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cf23 (pseudophys bb): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page cf22 (pseudophys bc): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5bbf (pseudophys bd): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5bbe (pseudophys be): 
count=2 type=0
(XEN) (file=memory.c, line=180) Dom1 freeing in-use page 5bbd (pseudophys bf): 
count=2 type=0
(XEN) vmx_do_launch(): GUEST_CR3<=00fd57a0, HOST_CR3<=013fb000
(XEN) (GUEST: 1) HVM Loader
(XEN) (GUEST: 1) Detected Xen v3.0-unstable
(XEN) (GUEST: 1) Loading ROMBIOS ...
(XEN) (GUEST: 1) Creating MP tables ...
(XEN) (GUEST: 1) Loading Cirrus VGABIOS ...
(XEN) (GUEST: 1) Loading ACPI ...
(XEN) (GUEST: 1) Writing SMBIOS tables ...
(XEN) (GUEST: 1) Loading VMXAssist ...
(XEN) (GUEST: 1) VMX go ...
(XEN) (GUEST: 1) VMXAssist (Sep 26 2006)
(XEN) (GUEST: 1) Memory size 256 MB
(XEN) (GUEST: 1) E820 map:
(XEN) (GUEST: 1) 0000000000000000 - 000000000009F000 (RAM)
(XEN) (GUEST: 1) 000000000009F000 - 00000000000A0000 (Reserved)
(XEN) (GUEST: 1) 00000000000A0000 - 00000000000C0000 (Type 16)
(XEN) (GUEST: 1) 00000000000F0000 - 0000000000100000 (Reserved)
(XEN) (GUEST: 1) 0000000000100000 - 000000000FFF0000 (RAM)
(XEN) (GUEST: 1) 000000000FFF0000 - 000000000FFFA000 (ACPI Data)
(XEN) (GUEST: 1) 000000000FFFA000 - 000000000FFFD000 (ACPI NVS)
(XEN) (GUEST: 1) 000000000FFFD000 - 000000000FFFE000 (Type 19)
(XEN) (GUEST: 1) 000000000FFFE000 - 000000000FFFF000 (Type 18)
(XEN) (GUEST: 1) 000000000FFFF000 - 0000000010000000 (Type 17)
(XEN) (GUEST: 1) 00000000FEC00000 - 0000000100000000 (Type 16)
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Start BIOS ...
(XEN) (GUEST: 1) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 1)  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) (GUEST: 1) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 1) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 1) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp 
$
(XEN) (GUEST: 1) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 
15:55:26 $
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
(XEN) (GUEST: 1) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (12997 MBytes)
(XEN) (GUEST: 1) ata0  slave: Unknown device
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Booting from Hard Disk...
(XEN) (GUEST: 1) int13_harddisk: function 41, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 08, unmapped device for ELDL=81
(XEN) (GUEST: 1) *** int 15h function AX=00C0, BX=0000 not yet supported!
(XEN) (GUEST: 1) int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) (GUEST: 1) *** int 15h function AX=EC00, BX=0002 not yet supported!
(XEN) (GUEST: 1) KBD: unsupported int 16h function 03
(XEN) (GUEST: 1) int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 02, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 41, unmapped device for ELDL=81
(XEN) Local APIC Write to read-only register
(XEN) This hvm_vlapic is for P4, no work for De-assert init
(XEN) AP 1 bringup suceeded.
(XEN) vmx_do_launch(): GUEST_CR3<=00fd37a0, HOST_CR3<=0133c000
(XEN) (GUEST: 1) Start AP 1 from 00006000 ...
(XEN) (GUEST: 1) Starting emulated 16-bit real-mode: ip=0600:0000
File: release_dom0.console

Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
Kernel 2.6.16.29-xen on an x86_64

tst177 login: root
Password:
Last login: Tue Sep 26 15:15:15 from 10.1.2.13
You have new mail.
[root@tst177 ~]# Bridge firewalling registered
ip_tables: (C) 2000-2006 Netfilter Core Team

[root@tst177 ~]# xm info
host                   : tst177
release                : 2.6.16.29-xen
version                : #1 SMP Tue Sep 26 16:07:55 EDT 2006
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2793
hw_caps                : 
bfebfbff:20100800:00000000:00000180:0000e43d:00000000:00000001
total_memory           : 2046
free_memory            : 131
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p 
hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Mon Sep 25 18:19:30 2006 +0100 11616:7de1715d185e
cc_compiler            : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
cc_compile_by          : esmith
cc_compile_domain      : virtualiron.com
cc_compile_date        : Tue Sep 26 15:30:14 EDT 2006
xend_config_format     : 2
[root@tst177 ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     1876     2 r-----     31.1
[root@tst177 ~]# (XEN) sh_update_paging_modes: postponing determination of 
shadow mode
(XEN) sh_update_paging_modes: postponing determination of shadow mode
ip_tables: (C) 2000-2006 Netfilter Core Team
(XEN) vmx_do_launch(): GUEST_CR3<=00fdd7a0, HOST_CR3<=038cb000
(XEN) (GUEST: 1) HVM Loader
(XEN) (GUEST: 1) Detected Xen v3.0-unstable
(XEN) (GUEST: 1) Loading ROMBIOS ...
(XEN) (GUEST: 1) Creating MP tables ...
(XEN) (GUEST: 1) Loading Cirrus VGABIOS ...
(XEN) (GUEST: 1) Loading ACPI ...
(XEN) (GUEST: 1) Writing SMBIOS tables ...
(XEN) (GUEST: 1) Loading VMXAssist ...
(XEN) (GUEST: 1) VMX go ...
(XEN) (GUEST: 1) VMXAssist (Sep 26 2006)
(XEN) (GUEST: 1) Memory size 256 MB
(XEN) (GUEST: 1) E820 map:
(XEN) (GUEST: 1) 0000000000000000 - 000000000009F000 (RAM)
(XEN) (GUEST: 1) 000000000009F000 - 00000000000A0000 (Reserved)
(XEN) (GUEST: 1) 00000000000A0000 - 00000000000C0000 (Type 16)
(XEN) (GUEST: 1) 00000000000F0000 - 0000000000100000 (Reserved)
(XEN) (GUEST: 1) 0000000000100000 - 000000000FFF0000 (RAM)
(XEN) (GUEST: 1) 000000000FFF0000 - 000000000FFFA000 (ACPI Data)
(XEN) (GUEST: 1) 000000000FFFA000 - 000000000FFFD000 (ACPI NVS)
(XEN) (GUEST: 1) 000000000FFFD000 - 000000000FFFE000 (Type 19)
(XEN) (GUEST: 1) 000000000FFFE000 - 000000000FFFF000 (Type 18)
(XEN) (GUEST: 1) 000000000FFFF000 - 0000000010000000 (Type 17)
(XEN) (GUEST: 1) 00000000FEC00000 - 0000000100000000 (Type 16)
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Start BIOS ...
(XEN) (GUEST: 1) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 1)  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) (GUEST: 1) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 1) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 1) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp 
$
(XEN) (GUEST: 1) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 
15:55:26 $
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
(XEN) (GUEST: 1) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (12997 MBytes)
(XEN) (GUEST: 1) ata0  slave: Unknown device
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Booting from Hard Disk...
(XEN) (GUEST: 1) int13_harddisk: function 41, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 08, unmapped device for ELDL=81
(XEN) (GUEST: 1) *** int 15h function AX=00C0, BX=0000 not yet supported!
(XEN) (GUEST: 1) int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) (GUEST: 1) *** int 15h function AX=EC00, BX=0002 not yet supported!
(XEN) (GUEST: 1) KBD: unsupported int 16h function 03
(XEN) (GUEST: 1) int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 02, unmapped device for ELDL=81
(XEN) (GUEST: 1) int13_harddisk: function 41, unmapped device for ELDL=81
(XEN) trying to set reserved bit in EFER
(XEN) domain_crash_sync called from vmx.c:2268
(XEN) Domain 1 (vcpu#0) crashed on cpu#1:
(XEN) ----[ Xen-3.0-unstable  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    1
(XEN) RIP:    0010:[<000000000010005e>]
(XEN) RFLAGS: 0000000000010046   CONTEXT: hvm
(XEN) rax: 0000000000101901   rbx: 0000000000000000   rcx: 00000000c0000080
(XEN) rdx: 0000000020100800   rsi: 0000000000090000   rdi: 0000000020100800
(XEN) rbp: 0000000000000000   rsp: 00000000001010c0   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000000050031   cr4: 00000000000000a0
(XEN) cr3: 0000000000fdd7a0   cr2: 0000000000000000
(XEN) ds: 0018   es: 0018   fs: 0018   gs: 0018   ss: 0018   cs: 0010
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel