Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 923081

Summary: Win8/2012 BSOD 0xc4 when installation
Product: Red Hat Enterprise Linux 5 Reporter: CongLi <coli>
Component: kvmAssignee: Yvugenfi <yvugenfi>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.10CC: chayang, dfleytma, ghammer, juzhang, michen, mkenneth, qzhang, rhod, shuang, virt-maint, vrozenfe, xwei, yvugenfi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-28 18:13:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
win8-64 bsod
none
Debug info about win8-32
none
Debug info about win8-64
none
Debug info about win2012-64 none

Description CongLi 2013-03-19 07:20:51 UTC
Created attachment 712441 [details]
win8-64 bsod

Description of problem:
Win8 BSOD 0xc4 when installation.

Version-Release number of selected component (if applicable):
kernel-2.6.18-348.el5
kvm-83-263.el5

How reproducible:
100%

Steps to Reproduce:
1.Install a Win8/2012 guest by CML:
   qemu-kvm -S -name 'vm1' -monitor stdio -serial unix:'/tmp/serial-serial1-20130319-112738-Bepjl2Cj',server,nowait -drive file='/home/autotest/autotest-devel/client/tests/kvm/images/win2012-64-virtio.qcow2',if=virtio,media=disk,cache=none,boot=on,snapshot=off,format=qcow2 -net nic,vlan=0,model=virtio,macaddr='9a:36:37:38:39:3a',id='idYwpG11' -net tap,vlan=0 -m 4096 -smp 4,cores=2,threads=1,sockets=2 -cpu 'qemu64,+nx,+sep' -M rhel5.6.0 -drive file='/home/autotest/autotest-devel/client/tests/kvm/isos/ISO/Win2012/en_windows_server_2012_x64_dvd_915478.iso',media=cdrom -drive file='/home/autotest/autotest-devel/client/tests/kvm/isos/windows/winutils.iso',media=cdrom -drive file='/home/autotest/autotest-devel/client/tests/kvm/isos/windows/virtio-win.iso.el5',media=cdrom -soundhw ac97 -fda '/home/autotest/autotest-devel/client/tests/kvm/images/win2012-64/answer.vfd' -redir tcp:5000::10023 -spice port=3101,ic=on,disable-ticketing -qxl 1 -rtc-td-hack  -boot d   -usbdevice tablet  -balloon virtio
2.
3.
  
Actual results:
guest BSOD,
screenshot will be attached soon

Expected results:
Install successfully, no BSOD

Additional info:
Same CML works fine on Win7.
Host cpuinfo:
processor	: 31
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 1
model name	: AMD Opteron(TM) Processor 6274                 
stepping	: 2
cpu MHz		: 2200.364
cache size	: 2048 KB
physical id	: 2
siblings	: 16
core id		: 7
cpu cores	: 8
apicid		: 79
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good constant_tsc nonstop_tsc amd_dcm cpb pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb
bogomips	: 4400.15
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [8] [9]

Also in Intel:
processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz
stepping	: 11
cpu MHz		: 1994.999
cache size	: 4096 KB
physical id	: 3
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 3990.03
clflush size	: 64
cache_alignment	: 64
address sizes	: 38 bits physical, 48 bits virtual
power management:


this workaround doesn't work on rhel5 hsot. (it worked on rhel6/7 host.)
-cpu 'qemu64,+nx,+sep'

Same bug on RHEL 7[Bug 921530] win8.32 guest will cause BSOD during installation

Comment 1 CongLi 2013-03-19 10:40:17 UTC
Created attachment 712552 [details]
Debug info about win8-32

Comment 2 CongLi 2013-03-19 10:41:13 UTC
Created attachment 712554 [details]
Debug info about win8-64

Comment 3 CongLi 2013-03-19 10:42:16 UTC
Created attachment 712555 [details]
Debug info about win2012-64

Comment 4 Yvugenfi@redhat.com 2013-03-19 13:08:31 UTC
1. I don't think it is a same bug as Bug #921530 (different BSOD number)

2. The BSOD code is very very suspicious... Is it a clean installation or is it OS upgrade? 
For some reason driver verifier is turned on (0xc4 - bug check code).

Best regards,
Yan.

Comment 5 CongLi 2013-03-20 02:50:12 UTC
Hi, Yan Vugenfirer

1. The phenomenon of Bug #921530 is same,
   as you say, it's not the same bug.

2. It's a clean installation. 
   I have created new images to reproduce the bug, 
   there is always the same error.

3. The bug reproduced on AMD 100%,
   as for Intel, the bug just reproduced 1 time, not each time.

Best Regards,
Cong Li

Comment 7 RHEL Program Management 2013-03-28 18:13:41 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 8 Xiaoqing Wei 2013-04-26 07:22:19 UTC
Trying Win2012, met same error, 100% repro on such hw,

Changing the summary to include win8/2012

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 67
model name	: Dual-Core AMD Opteron(tm) Processor 1216
stepping	: 3
cpu MHz		: 2400.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips	: 4822.45
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc