Bug 1069309 - [Tracker][RHEL-7] Windows guests & AMD
Summary: [Tracker][RHEL-7] Windows guests & AMD
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Amnon Ilan
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On: 986252 994342 1003751 1023261 1023268 1038594 1038902 1042748 1049756 1049800 1049823 1056982 1066311 1070552 1077489 1083448 1116398 1167539 1167595
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-24 17:23 UTC by Ronen Hod
Modified: 2018-07-19 15:22 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-19 15:22:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1002473 0 high CLOSED Error Code: 0x0000007F at first reboot after fresh installing windows 8 32bit guest on AMD system 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1024754 0 unspecified CLOSED [SVVP]SVVP cannot execute with Max guest with 256 and 48 cpus on AMD host as the guest was slowly and hardly to respond... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1065212 0 high CLOSED Win8.0-64 guest stuck after first reboot during os installation on AMD host 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1088087 0 medium CLOSED booting win2012r2 guest would be black screen 2021-02-22 00:41:40 UTC

Internal Links: 1002473 1024754 1065212 1088087

Description Ronen Hod 2014-02-24 17:23:31 UTC

Comment 3 CongLi 2014-02-26 10:41:23 UTC
Hi Ronen,

About win2008.x86_64 guest BSOD, here is the test result.

1. Tested on the following version:
   kernel-3.10.0-95.el7.x86_64
   seabios-1.7.2.2-11.el7.x86_64

1) qemu-kvm-1.5.3-2.el7  -->  fail

2) qemu-kvm-1.5.2-1.el7  -->  pass
   qemu-kvm-1.5.2-4.el7  -->  pass

Use the guest which is BSOD on qemu-kvm-1.5.3-2.el7, can boot up successfully with qemu-kvm-1.5.2-4.el7, as well do system_reset.

And I can't get qemu-kvm-1.5.3-1.el7 for it is deleted in brew, but I guess this bug was introduced from qemu-kvm-1.5.3, and I found qemu-kvm-1.5.3.1 has rebase.

2. QEMU CML:
/usr/libexec/qemu-kvm \
-drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/win2008-64-virtio.qcow2 \
-device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
-monitor stdio \
-vnc :0 \
-m 4096  \

3. cpuinfo:
processor	: 23
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 1
model name	: AMD Opteron(TM) Processor 6234                 
stepping	: 2
microcode	: 0x6000626
cpu MHz		: 2400.065
cache size	: 2048 KB
physical id	: 1
siblings	: 12
core id		: 5
cpu cores	: 6
apicid		: 75
initial apicid	: 43
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 constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx 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 arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips	: 4799.75
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 cpb

4. # brctl show
bridge name	bridge id		STP enabled	interfaces
virbr0		8000.525400319512	yes		virbr0-nic

5. And there is no load on the host, just boot up the guest using the above CML.

Thanks,
Cong

Comment 4 CongLi 2014-02-26 10:47:07 UTC
(In reply to CongLi from comment #3)

I have also updated bz1056982, for the info in comment 3 is win2008.x86_64 guest related. 
https://bugzilla.redhat.com/show_bug.cgi?id=1056982#c17

Here are the bugs which win2008.x86_64 guest related:
   1. Bug 1049800 - win2008.x86_64 guest BSOD (error code:0x50, PAGE_FAULT_IN_NONPAGED_AREA)
   2. Bug 1038594 - Win2008 x86_64 BSOD(0x0A) on the starting of OS
   3. Bug 1038902 - Win2008 BSOD on OS booting(0x7e and 0xc5)
   4. Bug 1049823 - win2008.x86_64 guest BSOD (error code:0x3B, SYSTEM_SERVICE_EXCEPTION) 
   5. Bug 1056982 - win2008.x86_64 guest BSOD (error code:0x19, BAD_POOL_HEADER)

I will test other guests and other bugs, and update the test result asap.
And if the info is not enough, feel free to tell me, I will add more info.

Thanks,
Cong

Comment 8 CongLi 2014-03-04 05:56:32 UTC
(In reply to CongLi from comment #4)
> (In reply to CongLi from comment #3)
> 
> I have also updated bz1056982, for the info in comment 3 is win2008.x86_64
> guest related. 
> https://bugzilla.redhat.com/show_bug.cgi?id=1056982#c17
> 
> Here are the bugs which win2008.x86_64 guest related:
>    1. Bug 1049800 - win2008.x86_64 guest BSOD (error code:0x50,
> PAGE_FAULT_IN_NONPAGED_AREA)
>    2. Bug 1038594 - Win2008 x86_64 BSOD(0x0A) on the starting of OS
>    3. Bug 1038902 - Win2008 BSOD on OS booting(0x7e and 0xc5)
>    4. Bug 1049823 - win2008.x86_64 guest BSOD (error code:0x3B,
> SYSTEM_SERVICE_EXCEPTION) 
>    5. Bug 1056982 - win2008.x86_64 guest BSOD (error code:0x19,
> BAD_POOL_HEADER)

With the Radim and Paolo's help, found the win2008.x86_64 guest BSOD is caused by '-machine kernel_irqchip=on|off'.

From https://bugzilla.redhat.com/show_bug.cgi?id=1056982#c22:

qemu-kvm-1.5.3-1.el7  --> pass

qemu-kvm-1.5.3-2.el7  --> fail

As Radim said, this bug is caused by '-machine kernel_irqchip=on|off'.

qemu-kvm-1.5.3-2.el7:

1. -machine kernel_irqchip=on   -->  fail (BSOD)
2. -machine kernel_irqchip=off  -->  pass

CML:
/home/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu \
-drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=win2008-64-virtio.qcow2 \
-device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
-monitor stdio \
-vnc :0 \
-m 4096  \
-machine kernel_irqchip=on

Will attach the strace log later.
1. -machine kernel_irqchip=on:  quit directly when met BSOD
2. -machine kernel_irqchip=off: guest boot successfully

Thanks,
Cong


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