Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1088087

Summary: booting win2012r2 guest would be black screen
Product: Red Hat Enterprise Linux 6 Reporter: xhan
Component: qemu-kvmAssignee: ybendito
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.6CC: ailan, chayang, coli, drjones, juzhang, knoel, michen, mkenneth, ngu, pbonzini, qzhang, rbalakri, rkrcmar, rpacheco, shuang, virt-bugs, virt-maint, wehuang, xuhan, xutian, yvugenfi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 11:59:21 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:
Bug Depends On:    
Bug Blocks: 1359965    
Attachments:
Description Flags
screenshot-0004.jpg
none
screenshot-0005.jpg
none
kvm_stat
none
NMI BSOD none

Description xhan 2014-04-16 03:58:33 UTC
Description of problem:

Booting win2012r2 guest with 8 cpus and 16G memory over RHEL6.6 AMD host(Six-Core AMD Opteron(tm) Processor 2427) would black screen occasionally.
 
Version-Release number of selected component (if applicable):
kernel-2.6.32-457.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.424.el6.x86_64

How reproducible:
1/50

Steps to Reproduce:
1. boot win2012r2 guest 
/usr/libexec/qemu-kvm \
    -S  \
    -name 'virt-tests-vm1' \
    -M rhel6.5.0  \
    -nodefaults  \
    -vga qxl  \
    -global qxl-vga.vram_size=33554432 \
    -device AC97,bus=pci.0,addr=03  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140416-065555-FtsZ2zBE,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140416-065555-FtsZ2zBE,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20140416-065555-FtsZ2zBE,path=/tmp/seabios-20140416-065555-FtsZ2zBE,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20140416-065555-FtsZ2zBE,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/manual_test/stable/autotest/client/tests/virt/shared/data/images/win2012r2-64-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
    -device virtio-net-pci,mac=9a:87:88:89:8a:8b,id=idhDTWu2,netdev=idlYN6sg,bus=pci.0,addr=06  \
    -netdev tap,id=idlYN6sg,vhost=on,vhostfd=23,fd=22  \
    -m 16384  \
    -smp 8,maxcpus=8,cores=4,threads=1,sockets=2  \
    -cpu 'Opteron_G3',hv_relaxed \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/manual_test/stable/autotest/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-drive,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off \
    -enable-kvm
2. waiting for guest boots up 


Actual results:
Win2012r2 guest would go to black screen

Expected results:
Win2012r2 guest would boot up successfully.

Additional info:
Host CPU:
processor	: 11
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 8
model name	: Six-Core AMD Opteron(tm) Processor 2427
stepping	: 0
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 1
siblings	: 6
core id		: 5
cpu cores	: 6
apicid		: 13
initial apicid	: 13
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
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 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save pausefilter
bogomips	: 4399.62
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate


memory info:

free -m
             total       used       free     shared    buffers     cached
Mem:         32104      18081      14023          0        158      17329
-/+ buffers/cache:        593      31511
Swap:        57343         26      57317

Comment 2 xhan 2014-04-16 05:04:01 UTC
Created attachment 886745 [details]
screenshot-0004.jpg

Comment 3 xhan 2014-04-16 05:06:04 UTC
Created attachment 886747 [details]
screenshot-0005.jpg

Win2012r2 guest screen stays black as screenshot-0005.jpg.

Comment 5 Ronen Hod 2014-07-29 11:57:07 UTC
QE,
- Please run KVMstat when it is stack
- Can you please try to get a dump using NMI (from QEMU monitor)
Thanks.

Comment 6 Qunfang Zhang 2014-07-30 01:04:08 UTC
Maosheng,

Could you give a help to provide the information Ronen mentioned in comment 5?  Thanks.

Comment 8 Xu Han 2014-08-18 04:55:17 UTC
Created attachment 927633 [details]
kvm_stat

I could reproduce this issue by running kvm-autotest case 'boot' and 'shutdown' repeatedly on host amd-2427-32-1.

Attach the whole kvm_stat logs here. 
Unfortunately,I could not get the dump. The process would stalled in 0% even after 30 mins.

Comment 16 Gu Nini 2016-01-26 01:42:23 UTC
Also met the problem on Intel host during rhel6.8 acceptance test, the cmd line that used to boot up the guest is as follows:

/usr/libexec/qemu-kvm \
    -name 'virt-tests-vm1' \
    -machine rhel6.6.0  \
    -nodefaults  \
    -vga qxl \
    -device intel-hda,bus=pci.0,addr=03 \
    -device hda-duplex  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20160123-190350-NO8TfPys,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=qmp_id_catch_monitor,path=/tmp/monitor-catch_monitor-20160123-190350-NO8TfPys,server,nowait \
    -mon chardev=qmp_id_catch_monitor,mode=control \
    -device pvpanic,ioport=0x505,id=idMCIQxy  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20160123-190350-NO8TfPys,server,nowait \
    -device isa-serial,chardev=serial_id_serial0 \
    -device virtio-serial-pci,id=virtio_serial_pci0,bus=pci.0,addr=04  \
    -chardev socket,id=devvs,path=/tmp/virtio_port-vs-20160123-190350-NO8TfPys,server,nowait \
    -device virtserialport,chardev=devvs,name=vs,id=vs,bus=virtio_serial_pci0.0  \
    -chardev socket,id=seabioslog_id_20160123-190350-NO8TfPys,path=/tmp/seabios-20160123-190350-NO8TfPys,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20160123-190350-NO8TfPys,iobase=0x402 \
    -device ich9-usb-ehci1,id=usb1,addr=1d.7,multifunction=on,bus=pci.0 \
    -device ich9-usb-uhci1,id=usb1.0,multifunction=on,masterbus=usb1.0,addr=1d.0,firstport=0,bus=pci.0 \
    -device ich9-usb-uhci2,id=usb1.1,multifunction=on,masterbus=usb1.0,addr=1d.2,firstport=2,bus=pci.0 \
    -device ich9-usb-uhci3,id=usb1.2,multifunction=on,masterbus=usb1.0,addr=1d.4,firstport=4,bus=pci.0 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=05 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,format=qcow2,file=/home/autotest/client/tests/virt/shared/data/images/win2012-64r2-virtio-scsi.qcow2 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device virtio-net-pci,mac=9a:53:54:55:56:57,id=idMlhN0q,vectors=4,netdev=idSmdSn2,bus=pci.0,addr=06  \
    -netdev tap,id=idSmdSn2,vhost=on,vhostfd=23,fd=22  \
    -m 16384  \
    -smp 8,maxcpus=8,cores=4,threads=1,sockets=2  \
    -cpu 'Westmere',hv_relaxed \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/autotest/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-drive,id=cd1,drive=drive_cd1,bus=ide.0,unit=0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -spice port=3000,password=123456,addr=0,tls-port=3200,x509-dir=/tmp/spice_x509d,tls-channel=main,tls-channel=inputs,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off,strict=off \
    -enable-kvm


While the detailed sw versions are:

Host kernel version:kernel-2.6.32-604.el6.x86_64
qemu:qemu-kvm-rhev-0.12.1.2-2.485.el6.x86_64
seavgabios-bin: none
seabios: seabios-0.6.1.2-30.el6.x86_64
spice-server: spice-server-0.12.4-12.el6.x86_64
ipxe-roms-qemu:
virtio-win: virtio-win-1.7.5-0.el6.iso

Comment 22 Yvugenfi@redhat.com 2016-02-02 16:25:32 UTC
Created attachment 1120496 [details]
NMI BSOD

Comment 28 Jan Kurik 2017-12-06 11:59:21 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/