Testing status of fully virtualized guests (Intel VT) on 32bit XEN unstable
Test Configuration:
Dell PowerEdge 430, Dual Core, 2GB, 3 SATA (Intel VT) 32bit XEN PAE Hypervisor on a RHEL4U2 32bit root (/dev/sda)
dom0_mem=256M (required to boot domUs)
32bit fully virtualized (HVM) guest RHEL4U2 256MB (/dev/sdb)
pae=0, acpi=1, apic=1
kernargs clock=pit
32bit fully virtualized (HVM) guest RHEL3U6 256MB (/dev/sdc)
pae=0, acpi=1, apic=1
kernargs clock=pitBoot 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:
851 tests (850 ltp tests and one 30 minute user load test) Tests are marked #Pass/#Fail where (n) points to a failure description
XEN 32bit PAE 1 CPU Hypervisor (booted nosmp):
----------------------------------------------------------------------
| XEN | Guest Kernel (SMP kernels booted with 1 CPU) | | Changeset|-----------------------------------------------------------| | | RHEL4 UP | RHEL4 SMP | RHEL3 UP | RHEL3 SMP | | |--------------|--------------|--------------|--------------| | | Boot | Test | Boot | Test | Boot | Test | Boot | Test | |----------|------|-------|------|-------|------|-------|------|-------| | 9920 | Pass | | Fail | | Pass | | Fail | | | | | | (1) | | | | (1) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9913 | Fail | | Fail | | Fail | | Fail | | | | (3) | | (3) | | (3) | | (3) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9903 | Fail | | Fail | | Fail | | Fail | | | | (3) | | (3) | | (3) | | (3) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9896 | Pass | 850/1 | Fail | | Pass | | Fail | | | | | (2) | (1) | | | | (1) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9888 | Pass | 850/1 | Fail | | Pass | 850/1 | Fail | | | | | (2) | (1) | | | (2) | (1) | |
----------------------------------------------------------------------
XEN 32bit PAE 2 CPU Hypervisor (booted smp):
----------------------------------------------------------------------
| XEN | Guest Kernel (SMP kernels booted with 2 CPU) | | Changeset|-----------------------------------------------------------| | | RHEL4 UP | RHEL4 SMP | RHEL3 UP | RHEL3 SMP | | |--------------|--------------|--------------|--------------| | | Boot | Test | Boot | Test | Boot | Test | Boot | Test | |----------|------|-------|------|-------|------|-------|------|-------| | 9920 | Pass | 850/1 | Fail | | Pass | 850/1 | Fail | | | | | (2) | (1) | | | (2,4) | (1) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9913 | Fail | | Fail | | Fail | | Fail | | | | (3) | | (3) | | (3) | | (3) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9903 | Fail | | Fail | | Fail | | Fail | | | | (3) | | (3) | | (3) | | (3) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9896 | Pass | | Fail | | Pass | | Fail | | | | | | (1) | | | | (1) | | |----------|------|-------|------|-------|------|-------|------|-------| | 9888 | Pass | | Fail | | Pass | | Fail | | | | | | (1) | | | | (1) | |
----------------------------------------------------------------------
Failures:
1. 32 bit SMP guests hang on boot "Uncompressing Linux... Ok, booting the kernel."
2. 32bit UP guest fail ltp gettimeofday02 "Time is going backwards"
3. [Fixed in 9920] Build broken:
cc1: warnings being treated as errors
mm.c: In function subarch_init_memory:
mm.c:163: warning: format %ld expects type long int, but argument 2 has type unsigned int mm.c:163: warning: format %ld expects type long int, but argument 3 has type unsigned int
4. The RHEL3 UP tests ran OK however they took 12 hours to complete where on RHEL4 UP the run for ~4 hours. There seems to be some performance issue running a 2.4 kernel fully virtualized guest.
File: boot.3
[root@tst177 ~]# xm info
host : tst177.katana-technology.com
release : 2.6.16-xen
version : #1 SMP Wed Apr 26 01:42:49 EDT 2006
machine : x86_64nr_cpus : 2nr_nodes : 1sockets_per_node : 1cores_per_socket : 2threads_per_core : 1cpu_mhz : 2793hw_caps : bfebfbff:20100800:00000000:00000180:0000e43d:00000000:00000001total_memory : 2047free_memory : 131xen_major : 3xen_minor : 0xen_extra : -unstablexen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64platform_params : virt_start=0xffff800000000000xen_changeset : Tue Apr 25 13:22:11 2006 +0100 9744:1ad06bd6832dcc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)cc_compile_by : buildcc_compile_domain : katana-technology.comcc_compile_date : Wed Apr 26 00:47:38 EDT 2006
[root@tst177 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1877 2 r----- 36.5
(XEN) (GUEST: 3) Loading ROMBIOS ...
(XEN) (GUEST: 3) Loading Cirrus VGABIOS ...
(XEN) (GUEST: 3) Loading ACPI ...
(XEN) (GUEST: 3) Loading VMXAssist ...
(XEN) (GUEST: 3) VMX go ...
(XEN) (GUEST: 3) VMXAssist (Apr 26 2006)
(XEN) (GUEST: 3) Memory size 256 MB
(XEN) (GUEST: 3) E820 map:
(XEN) (GUEST: 3) 0000000000000000 - 000000000009F800 (RAM)
(XEN) (GUEST: 3) 000000000009F800 - 00000000000A0000 (Reserved)
(XEN) (GUEST: 3) 00000000000A0000 - 00000000000C0000 (Type 16)
(XEN) (GUEST: 3) 00000000000F0000 - 0000000000100000 (Reserved)
(XEN) (GUEST: 3) 0000000000100000 - 000000000FFFE000 (RAM)
(XEN) (GUEST: 3) 000000000FFFE000 - 000000000FFFF000 (Type 18)
(XEN) (GUEST: 3) 000000000FFFF000 - 0000000010000000 (Type 17)
(XEN) (GUEST: 3) 0000000010000000 - 0000000010003000 (ACPI NVS)
(XEN) (GUEST: 3) 0000000010003000 - 000000001000D000 (ACPI Data)
(XEN) (GUEST: 3) 00000000FEC00000 - 0000000100000000 (Type 16)
(XEN) (GUEST: 3)
(XEN) (GUEST: 3) Start BIOS ...
(XEN) (GUEST: 3) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 3) rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ (XEN) (GUEST: 3) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 3) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 3) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) (GUEST: 3) HVMAssist BIOS, 8 cpus, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 3)
(XEN) (GUEST: 3) ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 (XEN) (GUEST: 3) ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (12997 MBytes) (XEN) (GUEST: 3) ata0 slave: Unknown device
(XEN) (GUEST: 3)
(XEN) (GUEST: 3) Booting from Hard Disk...
(XEN) (GUEST: 3) int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) (GUEST: 3) int13_harddisk: function 08, unmapped device for ELDL=81 (XEN) (GUEST: 3) *** int 15h function AX=00C0, BX=0000 not yet supported! (XEN) (GUEST: 3) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 3) KBD: unsupported int 16h function 03
(XEN) (GUEST: 3) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 3) *** int 15h function AX=E980, BX=E6F5 not yet supported! (XEN) (GUEST: 3) int13_harddisk: function 02, unmapped device for ELDL=81 (XEN) (GUEST: 3) int13_harddisk: function 41, unmapped device for ELDL=81
32bit SMP guest has hung at this point. Last message on the guest console:
Uncompressing Linux... Ok, booting the kernel.
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c xenoprof.c -o xenoprof.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c nmi_int.c -o nmi_int.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c op_model_p4.c -o op_model_p4.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c op_model_ppro.c -o op_model_ppro.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c op_model_athlon.c -o op_model_athlon.o
ld -m elf_i386 -r -o built_in.o xenoprof.o nmi_int.o op_model_p4.o op_model_ppro.o op_model_athlon.o
make[7]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen/arch/x86/oprofile'
make -f /build/trees/main/20060502_000/xen-unstable/xen/Rules.mk -C x86_32 built_in.o
make[7]: Entering directory `/build/trees/main/20060502_000/xen-unstable/xen/arch/x86/x86_32'
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c domain_page.c -o domain_page.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -D__ASSEMBLY__ -c entry.S -o entry.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/trees/main/20060502_000/xen-unstable/xen/include -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-generic -I/build/trees/main/20060502_000/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c mm.c -o mm.o
cc1: warnings being treated as errorsmm.c: In function �⎤%G�˜%@subarch_init_memory�⎤���:
mm.c:163: warning: format �⎤%G�˜%@%ld�⎤��� expects type �⎤%G�˜%@long int�⎤���, but argument 2 has type �⎤%G�˜%@unsigned int�⎤���
mm.c:163: warning: format �⎤%G�˜%@%ld�⎤��� expects type �⎤%G�˜%@long int�⎤���, but argument 3 has type �⎤%G�˜%@unsigned int�⎤���
make[7]: *** [mm.o] Error 1
make[7]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen/arch/x86/x86_32'
make[6]: *** [x86_32/built_in.o] Error 2
make[6]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen/arch/x86'
make[5]: *** [/build/trees/main/20060502_000/xen-unstable/xen/arch/x86/built_in.o] Error 2
make[5]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen/arch/x86'
make[4]: *** [/build/trees/main/20060502_000/xen-unstable/xen/xen] Error 2
make[4]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/build/trees/main/20060502_000/xen-unstable/xen'
make[2]: *** [install-xen] Error 2
make[2]: Leaving directory `/build/trees/main/20060502_000/xen-unstable'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/build/trees/main/20060502_000/xen-unstable'
make: *** [xen] Error 2
File: regression.1
Time Level Message
05:00:50 INFO Reporting status: 'Test Running' for test: ltp_gettimeofday02
05:00:52 INFO Preparing to run test 'ltp_gettimeofday02' using profile: /qa/conductor/profiles/ltp/syscalls/gettimeofday02.xml
05:00:52 INFO Starting test 'ltp_gettimeofday02' using profile: /qa/conductor/profiles/ltp/syscalls/gettimeofday02.xml
05:00:52 INFO Dispatching operation: RemoteShell
05:00:52 FINE Client sequencer got message requesting the start of a new test: ltp_gettimeofday02
05:00:52 FINER Client sequencer sent message of type: 4 with seq num: 1 of size: 289 bytes
05:00:52 FINER Client sequencer handling new operation from control sequencer
05:00:52 FINE Client sequencer looking for class: com.katana.conductor.operations.RemoteShell
05:00:52 INFO Operation RemoteShell running
05:00:52 FINE Client sequencer was told that an operation is now running
05:00:52 INFO RemoteShell: target node(s) = vs177
05:00:52 INFO ssh: /usr/bin/ssh root@vs177 cd /qa/conductor/tests/ltp/testcases/bin; gettimeofday02
05:00:52 FINE ssh: waiting for command to finish
05:00:53 INFO ssh: gettimeofday02 0 INFO : checking if gettimeofday is monotonous, takes 30s
05:00:53 INFO ssh: gettimeofday02 1 FAIL : Time is going backwards (old 1145696453.61428 vs new 1145696453.60660!
05:00:53 FINE executeShellCmd(ssh): exit value is 1
05:00:53 SEVERE RemoteShell: command failed with error = 1
05:00:53 SEVERE Operation RemoteShell failed
05:00:53 SEVERE Reporting status: 'Test Failed' for test: ltp_gettimeofday02
05:00:53 FINE Client sequencer detected operation completed with status of: Fail
05:00:53 FINER Client sequencer sent message of type: 5 with seq num: 2 of size: 429 bytes
05:00:53 SEVERE Crash Collection disabled for queue : RHEL4U2-32b-XEN
05:00:53 INFO Cleaning up after test
Queue: RHEL3U6-32b-XEN32
User: QA
Hypervisor Build: 20060505_000 Version: main Config: Release Path: /repository/trees/main/20060505_000/xen32/xen-unstable/dist Dist:Xen32
Completion status:
test run completed
Start time: May 4, 2006 3:57:19 PM
End time: May 5, 2006 4:11:28 AM
Elapsed time: 12 hours 14 minutes 9 seconds
Tests/Config changes in queue: 851 Tests processed: 851 Tests passed: 850 Tests failed: 1 Tests aborted: 0 Forced reboots: 0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 4 lines · Ed Smith
4. The RHEL3 UP tests ran OK however they took 12 hours to complete where on RHEL4 UP the run for ~4 hours. There seems to be some performance issue running a 2.4 kernel fully virtualized guest.
We've seen this, and is one of the factors driving the push for a new device model for fully virtualized guests. I'm not sure if anyone is looking into shorter term investigation/hacks for it or taking 2.4 based guests very seriously at this point.
thanks,
Nivedita