Skip to contentSkip to conversation

Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 12603

DISCUSSION Ed Smith 1 participant 1 message Nov 29, 2006

lore
Share & tools
lore

Ed Smith

author
#0 lore raw

Summary:
Changeset 12603
- NEW: 32bit and 64bit HVM domains crash on boot
(XEN) a6, This opcode isn't handled yet! (failure.3)
- nanosleep01/02 tests run much better, taking many passes before failing. The gettimeofday02 ltp clock test still fails (failure.1)
- After a 256MB guest has been up and running for some time on a 2GB node, launching another 256MB guest fails with:
Error: (12, 'Cannot allocate memory') (failure.2)

Test Configuration:
Dell Precision WorkStation 380, Dual Core, 2GB, 3 SATA (Intel VT) 64bit XEN RELEASE Build Hypervisor on a RHEL4U2 64bit root (/dev/sda) 32bit fully virtualized (HVM) guest RHEL4U2 256MB (/dev/sdb)

      pae=1(smp) pae=0(up), acpi=1, apic=1
64bit fully virtualized (HVM) guest RHEL4U2 256MB (/dev/sdc)
      pae=1, acpi=1, apic=1

Boot Tests:
Boot a fully virtualized (HVM) guest to the login prompt Results are marked Pass|Fail where (n) points to a failure description

Regression Tests:
852 tests (851 ltp tests and one 30 minute user load test) Tests are marked #Pass/#Fail where (n) points to a failure description

XEN 64bit 2 CPU Hypervisor (booted smp):
----------------------------------------------------------------------

| XEN      | Guest Kernel (SMP kernels booted with 2 CPUs)             |
| Changeset|-----------------------------------------------------------|
|          | 32bit UP     | 32bit SMP    | 64bit UP     | 64bit SMP    |
|          |--------------|--------------|--------------|--------------|
|          | Boot | Test  | Boot | Test  | Boot | Test  | Boot | Test  |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12603    | Fail |       | Fail |       | Fail |       | Fail |       |
|          | (3)  |       | (3)  |       | (3)  |       | (3)  |       |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12502    | Pass |       | Pass | 851/1 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12472    | Pass |       | Pass | 850/2 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12446    | Pass |       | Pass | 850/2 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12369    | Pass |       | Pass | 850/2 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |

----------------------------------------------------------------------

Multiple Guest Boot Test
Test is a 30 minute user load on both Guests
XEN 64bit 2 CPU Hypervisor (booted smp):
--------------------------------------------

| XEN      | Guest Kernel                    |
| Changeset|---------------------------------|
|          | 32bit 1CPU UP  | 32bit 2CPU SMP |
|          | 64bit 1CPU UP  | 64bit 2CPU SMP |
|          |----------------|----------------|
|          | Boot | Test    | Boot | Test    |
|----------|------|---------|------|---------|
| 12603    | Fail |         | Fail |         |
|          | (3)  |         | (3)  |         |
|----------|------|---------|------|---------|
| 12502    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 12472    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 12446    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 12369    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |

--------------------------------------------

Failures:
1. BUG 666: 32bit guests fail ltp gettimeofday02 and nanosleep01/02 with clock problems
2. After a 256MB guest has been up and running for some time on a 2GB node, launching another 256MB guest fails with:
Error: (12, 'Cannot allocate memory')
3. 32bit and 64bit HVM domains crash on boot
(XEN) a6, This opcode isn't handled yet!

File: failure.3

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

tst078 login: root
Password:
Last login: Wed Nov 29 12:26:30 from bughunter.katana-technology.com You have new mail.
[root@tst078 ~]# xm info
host : tst078
release : 2.6.16.33-xen
version : #1 SMP Wed Nov 29 01:40:08 EST 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 : 269
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 : Tue Nov 28 18:41:42 2006 +0000 12603:81c9213b3d39
cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
cc_compile_by : build
cc_compile_domain : virtualiron.com
cc_compile_date : Wed Nov 29 01:01:02 EST 2006
xend_config_format : 3
[root@tst078 ~]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1737 2 r----- 63.4
[root@tst078 ~]# xm create /boot/vs170_sdl.hvm
Using config file "/boot/vs170_sdl.hvm".
Started domain vs170
[root@tst078 ~]#
(XEN) a6, This opcode isn't handled yet!
(XEN) handle_mmio: failed to decode instruction
(XEN) mmio opcode: gpa 0xfed40f00, len 2: f3 a6
(XEN) domain_crash_sync called from platform.c:944
(XEN) Domain 8 (vcpu#0) crashed on cpu#1:
(XEN) ----[ Xen-3.0-unstable x86_64 debug=n Not tainted ]----
(XEN) CPU: 1
(XEN) RIP: 0000:[<0000000000102598>]
(XEN) RFLAGS: 0000000000010002 CONTEXT: hvm

(XEN) rax: 000000000012d744   rbx: 000000000000ffff   rcx: 0000000000000006
(XEN) rdx: 000000000012d76c   rsi: 00000000fed40f00   rdi: 0000000000102de0
(XEN) rbp: 000000000012d758   rsp: 000000000012d720   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 0000000000000650
(XEN) cr3: 00000000001a9900   cr2: 0000000000000000

(XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: 0000

File: failure.1
[root@tst079 ~]# xm info
host : tst079
release : 2.6.16.29-xen
version : #1 SMP Wed Nov 22 01:43:27 EST 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 : 1022
free_memory : 1
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 : Tue Nov 21 16:14:53 2006 +0000 12502:08007423788a
cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
cc_compile_by : build
cc_compile_domain : virtualiron.com
cc_compile_date : Wed Nov 22 01:04:16 EST 2006
xend_config_format : 2
[root@tst079 ~]# xm list

Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   725     2     r-----   6344.7
vs161                                      1   264     2     -b----  10688.2

[root@tst079 ~]#

Guest:

[root@vs161 bin]# while [ 1 ]; do gettimeofday02; sleep 2; done

gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old 1164204515.260700 vs new 1164204515.54847!
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old 1164204520.584024 vs new 1164204520.379896!
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old 1164204536.774202 vs new 1164204536.586739!
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s

[root@vs161 bin]# while [ 1 ]; do nanosleep01; sleep 2; done

nanosleep01    1  PASS  :  nanosleep functionality is correct
nanosleep01    1  PASS  :  nanosleep functionality is correct
nanosleep01    1  FAIL  :  Child execution not suspended for 2 seconds.  (Wanted 2000 ms, got 2328 ms)
nanosleep01    1  FAIL  :  Failures reported above
nanosleep01    1  PASS  :  nanosleep functionality is correct
nanosleep01    1  PASS  :  nanosleep functionality is correct
nanosleep01    1  PASS  :  nanosleep functionality is correct

[root@vs161 bin]# while [ 1 ]; do nanosleep02; sleep 2; done

nanosleep02    1  PASS  :  Functionality of nanosleep() is correct
nanosleep02    1  PASS  :  Functionality of nanosleep() is correct
nanosleep02    1  PASS  :  Functionality of nanosleep() is correct
nanosleep02    1  PASS  :  Functionality of nanosleep() is correct
nanosleep02    1  FAIL  :  Remaining sleep time 4025 msec doesn't match with the expected 4175 msec time
nanosleep02    1  FAIL  :  child process exited abnormally
nanosleep02    1  PASS  :  Functionality of nanosleep() is correct

File: failure.2

[root@tst078 ~]# xm info
host : tst078
release : 2.6.16.29-xen
version : #1 SMP Wed Nov 22 01:43:27 EST 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 : 1
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 : Tue Nov 21 16:14:53 2006 +0000 12502:08007423788a
cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
cc_compile_by : build
cc_compile_domain : virtualiron.com
cc_compile_date : Wed Nov 22 01:04:16 EST 2006
xend_config_format : 2
[root@tst078 ~]# xm list
Name ID Mem VCPUs State Time(s)

Domain-0                                   0  1737     2     r-----   4866.6
vs170                                      1   264     2     -b----  10718.7
[root@tst078 ~]# cat /proc/meminfo
MemTotal:      1778688 kB
MemFree:         11688 kB
Buffers:       1592616 kB
Cached:          16524 kB
SwapCached:          0 kB
Active:         584920 kB
Inactive:      1051176 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      1778688 kB
LowFree:         11688 kB
SwapTotal:     6450056 kB
SwapFree:      6449768 kB
Dirty:             560 kB
Writeback:           0 kB
Mapped:          36616 kB
Slab:            69056 kB
CommitLimit:   7339400 kB
Committed_AS:   114352 kB
PageTables:       2544 kB
VmallocTotal: 34359738367 kB
VmallocUsed:     85708 kB
VmallocChunk: 34359651751 kB
[root@tst078 ~]# cat /proc/xen/balloon
Current allocation:  1778688 kB
Requested target:    1778688 kB
Low-mem balloon:      149088 kB
High-mem balloon:          0 kB
Driver pages:           1024 kB
Xen hard limit:          ??? kB

[root@tst078 ~]# xm create /boot/vs160_sdl.hvm
Using config file "/boot/vs160_sdl.hvm".
Error: (12, 'Cannot allocate memory')
[root@tst078 ~]#

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel