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 921530

Summary: win8.32 guest will cause BSOD during installation
Product: Red Hat Enterprise Linux 7 Reporter: ShupingCui <scui>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, areis, dfleytma, ghammer, juzhang, michen, pbonzini, qzhang, rhod, virt-maint, vrozenfe, xutian, xwei, yvugenfi
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-26 13:36:07 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: 861210    
Bug Blocks:    
Attachments:
Description Flags
bsod_0x0000005D
none
cpuinfo none

Description ShupingCui 2013-03-14 11:39:53 UTC
Description of problem:

win8 32bit guest bosd during installation

Version-Release number of selected component (if applicable):

# rpm -qa | grep qemu
qemu-kvm-1.4.0-1.el7.x86_64
ipxe-roms-qemu-20120328-2.gitaac9718.el7.noarch
libvirt-daemon-driver-qemu-1.0.2-1.el7.x86_64
qemu-img-1.4.0-1.el7.x86_64
qemu-kvm-tools-1.4.0-1.el7.x86_64
qemu-kvm-common-1.4.0-1.el7.x86_64
qemu-guest-agent-1.4.0-1.el7.x86_64

# rpm -qa | grep kernel
abrt-addon-kerneloops-2.1.1-3.el7.x86_64
kernel-headers-3.8.0-0.40.el7.x86_64
kernel-3.8.0-0.40.el7.x86_64
libreport-plugin-kerneloops-2.1.1-2.el7.x86_64
kernel-devel-3.8.0-0.40.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. install win8.32 guest
/root/staf-kvm-devel/autotest-devel/client/tests/kvm/qemu 
    -name 'vm1' 
    -nodefaults 
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130313-202319-zcdBZ1pT,server,nowait 
    -mon chardev=qmp_id_qmpmonitor1,mode=control 
    -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130313-202319-zcdBZ1pT,server,nowait 
    -device isa-serial,chardev=serial_id_serial1  
    -chardev socket,id=seabioslog_id_20130313-202319-zcdBZ1pT,path=/tmp/seabios-20130313-202319-zcdBZ1pT,server,nowait 
    -device isa-debugcon,chardev=seabioslog_id_20130313-202319-zcdBZ1pT,iobase=0x402 
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 
    -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/win8-32.qcow2',if=none,id=drive-ide0-0-0,media=disk,cache=none,boot=off,snapshot=off,format=qcow2,aio=threads 
    -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 
    -device e1000,netdev=id6yspqN,mac=9a:50:51:52:53:54,bus=pci.0,addr=0x3,id='idDug4KJ' 
    -netdev tap,id=id6yspqN,fd=23 
    -m 8192 
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 
    -cpu 'Conroe',+sep 
    -M pc 
    -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/isos/ISO/Win8/en_windows_8_enterprise_x86_dvd_917587.iso',if=none,id=drive-ide0-0-1,media=cdrom,snapshot=off,format=raw 
    -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 
    -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/isos/windows/winutils.iso',if=none,id=drive-ide0-1-0,media=cdrom,snapshot=off,format=raw 
    -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
    -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/isos/windows/virtio-win.iso',if=none,id=drive-ide0-1-1,media=cdrom,snapshot=off,format=raw
    -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 
    -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/win8-32/answer.vfd',if=none,id=fdc0-0-0,media=disk,snapshot=off,readonly=off,format=raw
    -global isa-fdc.driveA=fdc0-0-0 
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 
    -spice port=3000
    -vga qxl 
    -global qxl-vga.vram_size=33554432    
    -rtc base=localtime,clock=host,driftfix=slew  
    -boot order=cdn,once=d,menu=off  
    -enable-kvm
2.
3.
  
Actual results:
win8.32 bsod during installation

Expected results:
install successfully

Additional info:

Comment 1 ShupingCui 2013-03-14 11:40:50 UTC
Created attachment 709982 [details]
bsod_0x0000005D

Comment 3 Xiaoqing Wei 2013-03-15 01:46:06 UTC
(In reply to comment #0)

Hi Shuping,
pls
1) show the '/proc/cpuinfo' on your host,
2) and if possible, have a try with -cpu host.

Thanks,
Xiaoqing.

Comment 4 ShupingCui 2013-03-15 02:17:59 UTC
Created attachment 710356 [details]
cpuinfo

Comment 5 ShupingCui 2013-03-15 03:01:59 UTC
(In reply to comment #3)
> (In reply to comment #0)
> 
> Hi Shuping,
> pls
> 1) show the '/proc/cpuinfo' on your host,
> 2) and if possible, have a try with -cpu host.
> 
> Thanks,
> Xiaoqing.

try with -cpu host, installation finished.

Comment 7 Xu Tian 2013-03-15 11:45:30 UTC
In Windows 8 operating system the NX feature, together with PAE and SSE2, is a hardware requirement for installing the OS; it looks NX bit not include in cpu def for "Conroe";

cpus-x86_64.conf
....
[cpudef]
   name = "Conroe"
   level = "2"
   vendor = "GenuineIntel"
   family = "6"
   model = "2"
   stepping = "3"
   feature_edx = "sse2 sse fxsr mmx clflush pse36 pat cmov mca pge mtrr sep apic cx8 mce pae msr tsc pse de fpu"
   feature_ecx = "ssse3 sse3"
   extfeature_edx = "i64 xd syscall"
   extfeature_ecx = "lahf_lm"
   xlevel = "0x8000000A"
   model_id = "Intel Celeron_4x0 (Conroe/Merom Class Core 2)"

...

thanks,
Xu

Comment 8 Eduardo Habkost 2013-05-20 20:32:31 UTC
NX is not the only problem: the model=2 value on the Conroe, Penryn, Nehalem models are too low for Windows 8, and we need to use more realistic values. See also bug 861210.

Comment 9 Paolo Bonzini 2013-06-26 13:36:07 UTC
NX is included in Conroe since 1.3, closing as dup.

*** This bug has been marked as a duplicate of bug 861210 ***