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 1070552

Summary: Error Code: 0x0000000A at first reboot after fresh installing Win8.1-32 guest on AMD system
Product: Red Hat Enterprise Linux 6 Reporter: CongLi <coli>
Component: qemu-kvmAssignee: Radim Krčmář <rkrcmar>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 6.6CC: acathrow, bcao, bsarathy, coli, hhuang, juzhang, michen, mkenneth, pbonzini, qzhang, rhod, rkrcmar, shuang, virt-maint, xhan, xutian, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1023268 Environment:
Last Closed: 2014-03-26 15:01:14 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: 1023268    
Bug Blocks: 1069309    
Attachments:
Description Flags
win8.1.i386-exception
none
win8.0.i386_install_stuck1.jpg
none
win8.0.i386_install_stuck2.jpg none

Description CongLi 2014-02-27 04:59:21 UTC
Created attachment 868326 [details]
Win8.1.i386-BSOD(0A)

Description of problem:
Error Code: 0x0000000A at first reboot after fresh installing Win8.1-32 guest on AMD system

Version-Release number of selected component (if applicable):
kernel-2.6.32-446.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.421.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install a Win8.1-32 guest:
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win8.1-32-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
    -device virtio-net-pci,mac=9a:a5:a6:a7:a8:a9,id=idr40PCG,netdev=idp0L6fF,bus=pci.0,addr=06  \

2.
3.

Actual results:
Error Code: 0x0000000A
Parameters:
0xFFFFFFE6
0x0000001F
0x00000000
0x81B2088B

Expected results:
Win8.1-32 guest installation successful

Additional info:
1. Qemu CML:
/home/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu \
    -S  \
    -name 'virt-tests-vm1' \
    -M rhel6.5.0  \
    -nodefaults  \
    -vga std \
    -device AC97,bus=pci.0,addr=03  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140227-105616-cYU0TBnH,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140227-105616-cYU0TBnH,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20140227-105616-cYU0TBnH,path=/tmp/seabios-20140227-105616-cYU0TBnH,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20140227-105616-cYU0TBnH,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/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win8.1-32-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
    -device virtio-net-pci,mac=9a:a5:a6:a7:a8:a9,id=idr40PCG,netdev=idp0L6fF,bus=pci.0,addr=06  \
    -netdev tap,id=idp0L6fF,vhost=on  \
    -m 2048  \
    -smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
    -cpu 'Opteron_G4',+sep,hv_relaxed \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/ISO/Win8.1/en_windows_8_1_enterprise_x86_dvd_2972289.iso \
    -device ide-drive,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -drive id=drive_winutils,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-drive,id=winutils,drive=drive_winutils,bootindex=2,bus=ide.0,unit=1 \
    -drive id=drive_virtio,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win-latest-signed.iso \
    -device ide-drive,id=virtio,drive=drive_virtio,bootindex=3,bus=ide.1,unit=0 \
    -drive id=drive_fl,if=none,cache=none,snapshot=off,readonly=off,aio=native,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win8.1-32/answer.vfd \
    -global isa-fdc.driveA=drive_fl \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -vnc :0  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off \
    -enable-kvm \
    -monitor stdio
 
2. 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.113
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

Comment 1 CongLi 2014-02-27 05:09:43 UTC
Created attachment 868327 [details]
win8.1.i386-exception

Comment 2 CongLi 2014-02-27 05:12:25 UTC
(In reply to CongLi from comment #1)
> Created attachment 868327 [details]
> win8.1.i386-exception

When I do system_reset to it, there is exception generated, not sure whether it's useful.

And I can't get the dump file, neither 'nmi' nor 'ctrl+scroll+scroll'. Reduce the mem=2048 doesn't help.

Thanks,
Cong

Comment 3 Mike Cao 2014-02-27 05:13:36 UTC
(In reply to CongLi from comment #1)
> Created attachment 868327 [details]
> win8.1.i386-exception

Can you retest with sep flag ? eg -cpu Nehalem,+sep

Comment 5 CongLi 2014-02-27 05:33:31 UTC
(In reply to Mike Cao from comment #3)

> Can you retest with sep flag ? eg -cpu Nehalem,+sep

guest can install successfully with '-cpu Nehalem,+sep'.

Comment 6 xhan 2014-02-27 11:19:37 UTC
Installation win8.0 i386 would stuck at "Getting devices readdy 72%" after first reboot. And finally restarted unexpectedly.

See the attachment win8.0.i386_install_stuck1.jpg and win8.0.i386_install_stuck2.jpg.

Version: 
The same as in the description.

kernel-2.6.32-446.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.421.el6.x86_64

CMDLINE:
qemu \
    -S  \
    -name 'virt-tests-vm1' \
    -M rhel6.5.0  \
    -nodefaults  \
    -vga std \
    -monitor stdio \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=threads,file=win8-32.qcow2 \
    -device ide-drive,id=image1,drive=drive_image1,bus=ide.0,unit=0 \
    -device e1000,mac=9a:c9:ca:cb:cc:cd,id=idBMbYLK,netdev=idQRWRM8,bus=pci.0,addr=05  \
    -netdev tap,id=idQRWRM8,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/scripts/qemu-ifup-switch \
    -m 2048  \
    -smp 1,maxcpus=1,cores=1,threads=1,sockets=2  \
    -cpu 'Opteron_G2',+sep,hv_relaxed \
    -drive id=drive_cd1,if=none,snapshot=off,aio=threads,media=cdrom,file=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/data/isos/ISO/Win8/en_windows_8_enterprise_x86_dvd_917587.iso \
    -device ide-drive,id=cd1,drive=drive_cd1,bus=ide.0,unit=1 \
    -drive id=drive_winutils,if=none,snapshot=off,aio=threads,media=cdrom,file=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-drive,id=winutils,drive=drive_winutils,bus=ide.1,unit=0 \
    -drive id=drive_virtio,if=none,snapshot=off,aio=threads,media=cdrom,file=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win-latest-signed.iso \
    -device ide-drive,id=virtio,drive=drive_virtio,bus=ide.1,unit=1 \
    -drive id=drive_fl,if=none,cache=none,snapshot=off,readonly=off,aio=threads,file=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/data/images/win8-32/answer.vfd \
    -global isa-fdc.driveA=drive_fl \
    -vnc :1  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off \
    -enable-kvm


Test with '-cpu Nehalem,+sep', this issue disappears.


host cpuinfo:
processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
stepping	: 2
cpu MHz		: 2900.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial 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 extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips	: 5812.17
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 100mhzsteps

Comment 7 xhan 2014-02-27 11:21:56 UTC
Created attachment 868468 [details]
win8.0.i386_install_stuck1.jpg

Comment 8 xhan 2014-02-27 11:22:22 UTC
Created attachment 868469 [details]
win8.0.i386_install_stuck2.jpg

Comment 9 Radim Krčmář 2014-03-26 15:01:14 UTC
I'd prefer to close bug 1023268 as RHEL7 CURRENTRELEASE, but it already is classified as RHEL6, so I'm closing this one as a duplicate to avoid pointless churn

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