<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:SimSun;}
span.hps
        {mso-style-name:hps;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I disabled power saving mode.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Will check if it is the root cause.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I did try to remove qxl driver and the VM could run without crash.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> wangfeng wangfeng [mailto:wangfeng.v1.1985@gmail.com]
<br>
<b>Sent:</b> Tuesday, May 29, 2012 12:07 PM<br>
<b>To:</b> Charles.Tsai-</span><span lang="ZH-CN" style="font-size:10.0pt">蔡清海</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">-</span><span lang="ZH-CN" style="font-size:10.0pt">研究發展部</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<b>Cc:</b> spice-devel@lists.freedesktop.org; Jonah.Wu-</span><span lang="ZH-CN" style="font-size:10.0pt">吳君勉</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">-</span><span lang="ZH-CN" style="font-size:10.0pt">研究發展部</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<b>Subject:</b> Re: [Spice-devel] A sever bug found in 64-bit WIndows 7 VM<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#333333;background:whitesmoke">Hi</span><span lang="ZH-CN" style="color:#333333;background:whitesmoke">,</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif";color:#333333;background:whitesmoke">I have <span class="hps">encountered</span> <span class="hps">the same situation</span></span> .<o:p></o:p></p>
<div>
<p class="MsoNormal">2012/5/29 Charles.Tsai-<span lang="ZH-CN">蔡清海</span>-<span lang="ZH-CN">研究發展部</span> <<a href="mailto:charles.tsai@cloudena.com" target="_blank">charles.tsai@cloudena.com</a>><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Bug description:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.5in">
A sever bug was found on 64-bit Windows 7 VM which crashed after running idle for a while(~ 2-3 hours).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.5in">
When we checked the kvm process, it was killed from the system.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.5in">
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Drivers installed:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> Qxl,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> Virtioserail<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> Vdagent<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Qemu & Spice:<o:p></o:p></p>
<p> Hans’s Qemu + "spice-0.10.tar.gz"<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Steps to reproduce:<o:p></o:p></p>
<p style="margin-left:.75in">1.<span style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span>Create a 64-bit Windows 7 VM image<o:p></o:p></p>
<p style="margin-left:.75in">2.<span style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span>Install qxl, virioserai driver and vdagent<o:p></o:p></p>
<p style="margin-left:.75in">3.<span style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span>Launch the VM and let it run idle <o:p></o:p></p>
<p style="margin-left:.75in">4.<span style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span>After a couple of hours, the VM will crash<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Memory demp information:<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">0: kd> !analyze -v<o:p></o:p></p>
<p style="margin-left:.75in">*******************************************************************************<o:p></o:p></p>
<p style="margin-left:.75in">* *<o:p></o:p></p>
<p style="margin-left:.75in">* Bugcheck Analysis *<o:p></o:p></p>
<p style="margin-left:.75in">* *<o:p></o:p></p>
<p style="margin-left:.75in">*******************************************************************************<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DRIVER_POWER_STATE_FAILURE (9f)<o:p></o:p></p>
<p style="margin-left:.75in">A driver is causing an inconsistent power state.<o:p></o:p></p>
<p style="margin-left:.75in">Arguments:<o:p></o:p></p>
<p style="margin-left:.75in">Arg1: 0000000000000003, A device object has been blocking an Irp for too long a time<o:p></o:p></p>
<p style="margin-left:.75in">Arg2: fffffa8003bb24b0, Physical Device Object of the stack<o:p></o:p></p>
<p style="margin-left:.75in">Arg3: fffff80003bd3518, Functional Device Object of the stack<o:p></o:p></p>
<p style="margin-left:.75in">Arg4: fffffa80025e9510, The blocked IRP<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">Debugging Details:<o:p></o:p></p>
<p style="margin-left:.75in">------------------<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DRVPOWERSTATE_SUBCODE: 3<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">IRP_ADDRESS: fffffa80025e9510<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DEVICE_OBJECT: fffffa8003bb24b0<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DRIVER_OBJECT: fffffa8003a1ac70<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">IMAGE_NAME: vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DEBUG_FLR_IMAGE_TIMESTAMP: 4fc31b19<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">MODULE_NAME: vioser<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">FAULTING_MODULE: fffff88003670000 vioser<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">BUGCHECK_STR: 0x9F<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">PROCESS_NAME: System<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">CURRENT_IRQL: 2<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">LAST_CONTROL_TRANSFER: from fffff80002930e53 to fffff800028c3040<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">STACK_TEXT: <o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd34c8 fffff800`02930e53 : 00000000`0000009f 00000000`00000003 fffffa80`03bb24b0 fffff800`03bd3518 : nt!KeBugCheckEx<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd34d0 fffff800`028cf0e6 : fffff800`03bd3600 fffff800`03bd3600 00000000`00000001 00000000`00000000 : nt! ?? ::FNODOBFM::`string'+0x28e30<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd3570 fffff800`028ce396 : fffff800`02a72700 00000000`00034df1 00000000`00000000 00000000`00000000 : nt!KiProcessTimerDpcTable+0x66<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd35e0 fffff800`028cf00e : 00000007`ddaba240 fffff800`03bd3c58 00000000`00034df1 fffff800`02a410a8 : nt!KiProcessExpiredTimerList+0xc6<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd3c30 fffff800`028ce707 : 00000059`a9892fc1 00000059`00034df1 00000059`a9892fbb 00000000`000000f1 : nt!KiTimerExpiration+0x1be<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd3cd0 fffff800`028cb77a : fffff800`02a3ce80 fffff800`02a4ac40 00000000`00000000 fffff880`00c3ef44 : nt!KiRetireDpcList+0x277<o:p></o:p></p>
<p style="margin-left:.75in">fffff800`03bd3d80 00000000`00000000 : fffff800`03bd4000 fffff800`03bce000 fffff800`03bd3d40 00000000`00000000 : nt!KiIdleLoop+0x5a<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">STACK_COMMAND: kb<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">FOLLOWUP_NAME: MachineOwner<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">FAILURE_BUCKET_ID: X64_0x9F_IMAGE_vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">BUCKET_ID: X64_0x9F_IMAGE_vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">Followup: MachineOwner<o:p></o:p></p>
<p style="margin-left:.75in">---------<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">0: kd> lmvm vioser<o:p></o:p></p>
<p style="margin-left:.75in">start end module name<o:p></o:p></p>
<p style="margin-left:.75in">fffff880`03670000 fffff880`03680000 vioser (private pdb symbols) d:\localsymbols\vioser.pdb<o:p></o:p></p>
<p style="margin-left:.75in"> Loaded symbol image file: vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> Image path: \SystemRoot\system32\DRIVERS\vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> Image name: vioser.sys<o:p></o:p></p>
<p style="margin-left:.75in"> Timestamp: Mon May 28 14:28:41 2012 (4FC31B19)<o:p></o:p></p>
<p style="margin-left:.75in"> CheckSum: 0000F577<o:p></o:p></p>
<p style="margin-left:.75in"> ImageSize: 00010000<o:p></o:p></p>
<p style="margin-left:.75in"> Translations: 0000.04b0 0000.04e4 0409.04b0 0409.04e4<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">0: kd> !devobj fffffa8003bb24b0 f<o:p></o:p></p>
<p style="margin-left:.75in">Device object (fffffa8003bb24b0) is for:<o:p></o:p></p>
<p style="margin-left:.75in">vport0p1 \Driver\VirtioSerial DriverObject fffffa8003a1ac70<o:p></o:p></p>
<p style="margin-left:.75in">Current Irp 00000000 RefCount 1 Type 0000001b Flags 0000304c<o:p></o:p></p>
<p style="margin-left:.75in">Dacl fffff9a100232a11 DevExt fffffa8003badbc0 DevObjExt fffffa8003bb2620 DevNode fffffa8003bbfb30
<o:p></o:p></p>
<p style="margin-left:.75in">ExtensionFlags (0000000000) <o:p></o:p></p>
<p style="margin-left:.75in">Device queue is not busy.<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in">0: kd> !irp fffffa80025e9510<o:p></o:p></p>
<p style="margin-left:.75in">Irp is active with 2 stacks 1 is current (= 0xfffffa80025e95e0)<o:p></o:p></p>
<p style="margin-left:.75in">No Mdl: No System Buffer: Thread 00000000: Irp stack trace.
<o:p></o:p></p>
<p style="margin-left:.75in"> cmd flg cl Device File Completion-Context<o:p></o:p></p>
<p style="margin-left:.75in">>[ 16, 2] 0 e1 fffffa8003bb24b0 00000000 fffff800028ad990-fffffa8002b61ce0 Success Error Cancel pending<o:p></o:p></p>
<p style="margin-left:.75in"> \Driver\VirtioSerial nt!IopUnloadSafeCompletion<o:p></o:p></p>
<p style="margin-left:.75in"> Args: 00014400 00000001 00000004 00000002<o:p></o:p></p>
<p style="margin-left:.75in">[ 0, 0] 0 0 00000000 00000000 00000000-fffffa80027e32e0
<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p style="margin-left:.75in"> Args: 00000000 00000000 00000000 00000000<o:p></o:p></p>
<p style="margin-left:.75in"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.5in">
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>