Bug 705014 - win03-64 guest bsod by i8042prt.sys driver
Summary: win03-64 guest bsod by i8042prt.sys driver
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virtio-win
Version: 5.7
Hardware: x86_64
OS: Windows
low
medium
Target Milestone: rc
: ---
Assignee: Arkady Frenkel
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-16 12:05 UTC by Xiaoqing Wei
Modified: 2011-06-07 08:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-07 08:29:26 UTC
Target Upstream Version:


Attachments (Terms of Use)
bsod snapshot (23.10 KB, image/png)
2011-05-16 12:05 UTC, Xiaoqing Wei
no flags Details
system event from guest,included bsod event. (33.13 KB, application/octet-stream)
2011-05-16 12:07 UTC, Xiaoqing Wei
no flags Details
memdump analyzed result. (5.68 KB, text/plain)
2011-05-16 12:08 UTC, Xiaoqing Wei
no flags Details
the mem dump itself (17.53 MB, application/x-gzip)
2011-05-20 01:19 UTC, Xiaoqing Wei
no flags Details
Comment (113.96 KB, text/plain)
2011-06-06 13:14 UTC, Arkady Frenkel
no flags Details

Description Xiaoqing Wei 2011-05-16 12:05:34 UTC
Created attachment 499120 [details]
bsod snapshot

Description of problem:
win03-64 bsod by i8042prt.sys driver

Version-Release number of selected component (if applicable):
kvm-83-232.el5

How reproducible:
only once

Steps to Reproduce:
1.boot a win2003-64 guest,enable the audio service,reboot.

qemu-kvm -name 03-time-drift -monitor stdio -serial .. \
-drive file=/win2003-64.qcow2,if=ide.. \
-net nic,vlan=0,model=rtl8139.. \
-net tap,vlan=0,ifname=... \
-m 2048 -smp 4,cores=2,threads=1,sockets=2 \
-cpu qemu64,+sse2 -soundhw ac97 -spice port=8010,disable-ticketing \
-qxl 1 -rtc-td-hack -M rhel5.6.0 -boot c \
-usbdevice tablet -no-kvm-pit-reinjection \
-balloon none -startdate now -localtime

2.guest bsod during reboot
3.
  
Actual results:
guest bsod 

Expected results:
guest reboot successfully

Additional info:
host info :
kernel-2.6.18-260.el5
kvm-83-232.el5
qspice-0.3.0-54.el5_5.2

guest info :
Win2003-64-SP2
guest system_log attached.


full cmd(the above is shorten for friendly looking):
qemu-kvm -name 03-time-drift -monitor stdio -serial unix:/tmp/serial-20110509-104921-,server,nowait -drive file=/usr/local/staf/test/RHEV/autotest-devel/client/tests/kvm/images/win2003-64.qcow2,index=0,if=ide,media=disk,cache=none,format=qcow2 -net nic,vlan=0,model=rtl8139,macaddr=9a:8c:03:f1:30:d5 -net tap,vlan=0,ifname=03-time-drift,script=/usr/local/staf/test/RHEV/autotest-devel/client/tests/kvm/scripts/qemu-ifup-switch,downscript=no -m 2048 -smp 4,cores=2,threads=1,sockets=2 -cpu qemu64,+sse2 -soundhw ac97 -spice port=8010,disable-ticketing -qxl 1 -rtc-td-hack -M rhel5.6.0 -boot c -usbdevice tablet -no-kvm-pit-reinjection -balloon none -startdate now -localtime

Comment 1 Xiaoqing Wei 2011-05-16 12:07:38 UTC
Created attachment 499122 [details]
system event from guest,included bsod event.

Comment 2 Xiaoqing Wei 2011-05-16 12:08:47 UTC
Created attachment 499123 [details]
memdump analyzed result.

Comment 3 Vadim Rozenfeld 2011-05-19 12:45:40 UTC
(In reply to comment #2)
> Created attachment 499123 [details]
> memdump analyzed result.

Hi Xiaoqing,

May I see the crash dump file itself?

Best regards,
Vadim.

Comment 4 Xiaoqing Wei 2011-05-20 01:19:48 UTC
Created attachment 499971 [details]
the mem dump itself

Comment 5 Xiaoqing Wei 2011-05-20 01:32:48 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Created attachment 499123 [details]
> > memdump analyzed result.
> 
> Hi Xiaoqing,
> 
> May I see the crash dump file itself?
> 
> Best regards,
> Vadim.

Created attachment 499971 [details]
the mem dump itself

Hi Vadim,

file uploaded. please check.

Best regards,
Xiaoqing.

Comment 6 Yvugenfi@redhat.com 2011-05-21 16:59:32 UTC
Hi,

I have several questions. The failing driver is i8042prt, this driver is not related to audio subsystem - the i8042prt driver controls the keyboard and PS/2-compatible mouse for the Intel 8042 controller.

1. Do you see this crash the second time you reboot the system?

2. Is this crash always reproducible or was it one time crash?

3. When you say enable audio service.. What do you mean? Enable it in command line of QEMU, enable it inside of the guest (in this case why was it disabled?).


Best regards,
Yan.

Comment 7 Vadim Rozenfeld 2011-05-21 19:55:58 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Created attachment 499123 [details]
> > > memdump analyzed result.
> > 
> > Hi Xiaoqing,
> > 
> > May I see the crash dump file itself?
> > 
> > Best regards,
> > Vadim.
> 
> Created attachment 499971 [details]
> the mem dump itself

Hi Xiaoqing,

Thank you for the dump. 
It seems to be a memory (corruption) problem,
otherwise I cannot explain why i8042prt!I8xPower 
pfn is not valid

3: kd> !pte fffffadf`c7a56e70

                                 VA fffffadfc7a56e70

PXE @ FFFFF6FB7DBEDFA8     PPE at FFFFF6FB7DBF5BF8    PDE at FFFFF6FB7EB7F1E8    PTE at FFFFF6FD6FE3D2B0

contains 0000000007400863  contains 00000000083C0863  contains 00000000083FE963  contains 000000007DAC3860

pfn 7400       ---DA--KWEV  pfn 83c0       ---DA--KWEV  pfn 83fe       -G-DA--KWEV  not valid

                                                          Transition: 7dac3

                                                          Protect: 3 - ExecuteRead


3rd party drivers can cause such problems,
I would recommend disabling CdaC15BA and CdaD10BA.

Best regards,
Vadim.

Comment 8 Xiaoqing Wei 2011-05-23 01:16:49 UTC
Hi Yan,

> 1. Do you see this crash the second time you reboot the system?
> 
No.

> 2. Is this crash always reproducible or was it one time crash?
> 
Only crash once,I tried to reproduce it many times,but cant trigger this issue again.

> 3. When you say enable audio service.. What do you mean? Enable it in command
> line of QEMU, enable it inside of the guest 
I mean, Enable it inside of the guest,

(in this case why was it disabled?)
All Win Server system have its audio services disabled by default,need to enable it manually.


Best Regards,
Xiaoqing.

Comment 10 Arkady Frenkel 2011-06-06 13:14:52 UTC
Created attachment 915321 [details]
Comment

(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).

Comment 13 Arkady Frenkel 2011-06-07 06:02:30 UTC
There is no problem with QXL driver at all, because BSOD happen in PS/2 driver ( mouse ) stack and there are no traces ( IRPs , threads ... ) connected to QXL.

Arkady

Comment 15 Arkady Frenkel 2011-06-07 08:29:26 UTC
The bug of I/O Manager ( MSFT ). The details above in comments.
There are no virtio-win drivers at all.
Can't reproduce the bug


Note You need to log in before you can comment on or make changes to this bug.