From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huibin QIAN Subject: Crashes when running command "xenpaging domID 260000" Date: Mon, 30 Aug 2010 18:23:19 +0800 Message-ID: <000001cb482d$5e49bc90$1add35b0$@com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2033879937==" Return-path: Content-language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============2033879937== Content-type: multipart/alternative; boundary="Boundary_(ID_SG274m8cpmmfs1L+MWVvCw)" Content-language: zh-cn This is a multi-part message in MIME format. --Boundary_(ID_SG274m8cpmmfs1L+MWVvCw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hi all We run windows2003 HVM on xen4.0.1, The VM is 2048MB, 2 VCPU the Guest OS not setup PV Driver run command "xenpaging domID 260000" and want to paging 1024MB in xen. It causes two different crashes. 1) the first one the xm dmesg context is follow (XEN) vmx.c:2150:d6 EPT violation 0x1 (r--/---), gpa 0x0000007fbba020, mfn 0xffffffffff, type 10. (XEN) p2m-ept.c:533:d6 Walking EPT tables for domain 6 gfn 7fbba (XEN) p2m-ept.c:552:d6 epte 435b38007 (XEN) p2m-ept.c:552:d6 epte 4395b3007 (XEN) p2m-ept.c:552:d6 epte 433f7f007 (XEN) p2m-ept.c:552:d6 epte ffffffffffa00 (XEN) domain_crash called from vmx.c:2160 (XEN) Domain 6 (vcpu#1) crashed on cpu#14: (XEN) ----[ Xen-4.0.1 x86_64 debug=n Not tainted ]---- (XEN) CPU: 14 (XEN) RIP: 0008:[<000000008088dc37>] (XEN) RFLAGS: 0000000000010246 CONTEXT: hvm guest (XEN) rax: 000000007fbba020 rbx: 00000000f7727000 rcx: 0000000000000000 (XEN) rdx: 0000000080010031 rsi: 000000008996a418 rdi: 00000000f772a090 (XEN) rbp: 0000000089d88648 rsp: 00000000baf2ace0 r8: 0000000000000000 (XEN) r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000 (XEN) r12: 0000000000000000 r13: 0000000000000000 r14: 0000000000000000 (XEN) r15: 0000000000000000 cr0: 000000008001003b cr4: 00000000000006f9 (XEN) cr3: 0000000000790000 cr2: 00000000c3cfb008 (XEN) ds: 0023 es: 0023 fs: 0030 gs: 0000 ss: 0010 cs: 0008 2) another crash is the qemu-dm Segmentation fault , the "s" parameter is NULL log is following : Program terminated with signal 11, Segmentation fault. #0 0x00000000004451d2 in ide_read_dma_cb (opaque=0xb79028, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/hw/ide.c:1232 1232 if (!s->bs) return; /* ouch! (see ide_flush_cb) */ (gdb) bt #0 0x00000000004451d2 in ide_read_dma_cb (opaque=0xb79028, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/hw/ide.c:1232 #1 0x000000000041745d in dma_bdrv_cb (opaque=0xbbb1f0, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/dma-helpers.c:97 #2 0x00000000004172f2 in reschedule_dma (opaque=0xbbb1f0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/dma-helpers.c:63 #3 0x000000000040c48a in qemu_bh_poll () at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:3427 #4 0x000000000040cfe2 in main_loop_wait (timeout=10) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:3831 #5 0x00000000004c2daf in main_loop () at helper2.c:577 #6 0x000000000041056e in main (argc=28, argv=0x7fff9eeee288, envp=0x7fff9eeee370) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:6153 (gdb) When the Guest OS have installed PVDriver. only first crash and we change VM to 1 VCPU, the Guest OS cause BSD the attachments are the BSD printscreens Please help! Thanks, lin --Boundary_(ID_SG274m8cpmmfs1L+MWVvCw) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

Hi all

 

We run windows2003 HVM on xen4.0.1, The VM is 2048MB, 2 VCPU

 

the Guest OS not setup PV Driver

 

run command "xenpaging domID 260000" and want to paging 1024MB in xen.

 

It causes two different crashes.

 

1) the first one

the xm dmesg context is follow

 

(XEN) vmx.c:2150:d6 EPT violation 0x1 (r--/---), gpa 0x0000007fbba020, mfn 0xffffffffff, type 10.

(XEN) p2m-ept.c:533:d6 Walking EPT tables for domain 6 gfn 7fbba

(XEN) p2m-ept.c:552:d6  epte 435b38007

(XEN) p2m-ept.c:552:d6  epte 4395b3007

(XEN) p2m-ept.c:552:d6  epte 433f7f007

(XEN) p2m-ept.c:552:d6  epte ffffffffffa00

(XEN) domain_crash called from vmx.c:2160

(XEN) Domain 6 (vcpu#1) crashed on cpu#14:

(XEN) ----[ Xen-4.0.1  x86_64  debug=n  Not tainted ]----

(XEN) CPU:    14

(XEN) RIP:    0008:[<000000008088dc37>]

(XEN) RFLAGS: 0000000000010246   CONTEXT: hvm guest

(XEN) rax: 000000007fbba020   rbx: 00000000f7727000   rcx: 0000000000000000

(XEN) rdx: 0000000080010031   rsi: 000000008996a418   rdi: 00000000f772a090

(XEN) rbp: 0000000089d88648   rsp: 00000000baf2ace0   r8:  0000000000000000

(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000

(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000

(XEN) r15: 0000000000000000   cr0: 000000008001003b   cr4: 00000000000006f9

(XEN) cr3: 0000000000790000   cr2: 00000000c3cfb008

(XEN) ds: 0023   es: 0023   fs: 0030   gs: 0000   ss: 0010   cs: 0008

 

 

2) another crash is the qemu-dm Segmentation fault , the "s" parameter is NULL

 

log is following :

 

Program terminated with signal 11, Segmentation fault.  

#0  0x00000000004451d2 in ide_read_dma_cb (opaque=0xb79028, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/hw/ide.c:1232  

1232        if (!s->bs) return; /* ouch! (see ide_flush_cb) */

 

(gdb) bt  

#0  0x00000000004451d2 in ide_read_dma_cb (opaque=0xb79028, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/hw/ide.c:1232  

#1  0x000000000041745d in dma_bdrv_cb (opaque=0xbbb1f0, ret=0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/dma-helpers.c:97  

#2  0x00000000004172f2 in reschedule_dma (opaque=0xbbb1f0) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/dma-helpers.c:63  

#3  0x000000000040c48a in qemu_bh_poll () at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:3427  

#4  0x000000000040cfe2 in main_loop_wait (timeout=10) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:3831  

#5  0x00000000004c2daf in main_loop () at helper2.c:577  

#6  0x000000000041056e in main (argc=28, argv=0x7fff9eeee288, envp=0x7fff9eeee370) at /home/Lucifer/xen-4.0.1/tools/ioemu-dir/vl.c:6153  

(gdb)

 

When the Guest OS have installed PVDriver. only first crash

and we change VM to 1 VCPU, the Guest OS cause BSD

 

the attachments are the BSD printscreens

 

Please help!

 

Thanks,

lin

 

 

 

 

 

--Boundary_(ID_SG274m8cpmmfs1L+MWVvCw)-- --===============2033879937== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2033879937==--