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

[Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 1

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 13330
From: Ed Smith <esmith@xxxxxxxxxxxxxxx>
Date: Fri, 12 Jan 2007 14:42:44 -0500
Delivery-date: Fri, 12 Jan 2007 11:42:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060420)
Summary:
Changeset 13330
- NEW: 32bit non-pae uniprocessor kernel guest hangs on boot.
  xm list shows no cpu time consumption (failure.3)
- gettimeofday02 nanosleep01/02 ltp tests fail (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  |
|----------|------|-------|------|-------|------|-------|------|-------|
| 13330    | Fail |       | Pass | 851/1 | Pass |       | Pass | 851/1 |
|          | (3)  |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 13214    | Pass |       | Pass | 851/1 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 13205    | Pass |       | Pass | 851/1 | Pass |       | Pass | 851/1 |
|          |      |       |      | (1)   |      |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 13078    | Pass |       | Pass | 852/0 | Fail |       | Pass | 851/1 |
|          |      |       |      | (1)   | (4)  |       |      | (1)   |
|----------|------|-------|------|-------|------|-------|------|-------|
| 12895    | Pass |       | Pass | 851/1 | Fail |       | Pass | 852/0 |
|          |      |       |      | (1)   | (4)  |       |      | (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    |
|----------|------|---------|------|---------|
| 13330    | Fail |         | Pass | Pass    |
|          | (3)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 13214    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 13205    | Pass | Pass    | Pass | Pass    |
|          | (2)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 13078    | Fail |         | Pass | Pass    |
|          | (4)  |         | (2)  |         |
|----------|------|---------|------|---------|
| 12895    | Fail |         | Pass | Pass    |
|          | (4)  |         | (2)  |         |
 --------------------------------------------

Failures:
 1. BUG 666: 32bit guests fail gettimeofday02, 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. NEW: 32bit non-pae uniprocessor kernel guest hangs on boot.
    xm list shows no cpu time consumption
 4. FIXED: 64bit uni-processor guest doesn't boot:
    Kernel panic from APIC_init_uniprocessor+133
File: failure.1

[root@tst079 ~]# xm info
host                   : tst079
release                : 2.6.16.33-xen
version                : #1 SMP Fri Jan 12 01:46:41 EST 2007
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 xen-3.0-x86_32p 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          : Thu Jan 11 11:41:44 2007 +0000 13330:a84fc0de350d
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        : Fri Jan 12 01:05:27 EST 2007
xend_config_format     : 3
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3880.1
vs161                                      1   264     2     r-----  12677.9
[root@tst079 ~]#                                                      


Guest:

[root@vs161 ~]# cd /qa/conductor/tests/ltp/testcases/bin/
[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 1168630070.162111 vs 
new 1168630070.162097!
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old 1168630072.443044 vs 
new 1168630072.443010!
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous, takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old 1168630076.440888 vs 
new 1168630076.440853!

[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  PASS  :  nanosleep functionality is correct
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 2313 ms)
nanosleep01    1  FAIL  :  Failures reported above
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 4285 msec doesn't match with 
the expected 3997 msec time
nanosleep02    1  FAIL  :  child process exited abnormally

File: failure.2

[root@tst078 ~]# xm info
host                   : tst078
release                : 2.6.16.33-xen
version                : #1 SMP Fri Jan 12 01:46:41 EST 2007
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 xen-3.0-x86_32p 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          : Thu Jan 11 11:41:44 2007 +0000 13330:a84fc0de350d
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        : Fri Jan 12 01:05:27 EST 2007
xend_config_format     : 3
[root@tst078 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0  1735     2     r-----   4123.9
vs170                                      1   264     2     -b----  12426.4
[root@tst078 ~]# cat /proc/meminfo
MemTotal:      1776640 kB
MemFree:         13604 kB
Buffers:       1593308 kB
Cached:          17132 kB
SwapCached:          0 kB
Active:         595864 kB
Inactive:      1044808 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      1776640 kB
LowFree:         13604 kB
SwapTotal:     6450056 kB
SwapFree:      6449768 kB
Dirty:             484 kB
Writeback:           0 kB
Mapped:          39960 kB
Slab:            60772 kB
CommitLimit:   7338376 kB
Committed_AS:   125672 kB
PageTables:       2544 kB
VmallocTotal: 34359738367 kB
VmallocUsed:     85604 kB
VmallocChunk: 34359651751 kB
[root@tst078 ~]# cat /proc/xen/balloon
Current allocation:  1776640 kB
Requested target:    1776640 kB
Low-mem balloon:      149208 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 ~]#                                                            
File: failure.3

[root@tst079 ~]# xm info
host                   : tst079
release                : 2.6.16.33-xen
version                : #1 SMP Fri Jan 12 01:46:41 EST 2007
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            : 269
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p 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          : Thu Jan 11 11:41:44 2007 +0000 13330:a84fc0de350d
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        : Fri Jan 12 01:05:27 EST 2007
xend_config_format     : 3
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3928.6
[root@tst079 ~]# xm create /boot/vs161_sdl_nopae.hvm
Using config file "/boot/vs161_sdl_nopae.hvm".
Started domain vs161
[root@tst079 ~]#
** GUEST HANGS **
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3935.7
vs161                                      2   264     1     -b----      4.8
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3935.9
vs161                                      2   264     1     -b----      4.8
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3936.1
vs161                                      2   264     1     -b----      4.8
[root@tst079 ~]# xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0   723     2     r-----   3936.3
vs161                                      2   264     1     -b----      4.8
[root@tst079 ~]#                                                                
                    


Guest hangs after:
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Switching to new root 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Testing status of HVM (Intel VT) on 64bit XEN unstable c/s 13330, Ed Smith <=