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 893857 - Windows bsod when add flag 'hv_relaxed' for cpu
Summary: Windows bsod when add flag 'hv_relaxed' for cpu
Keywords:
Status: CLOSED DUPLICATE of bug 801196
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-10 03:38 UTC by Xu Tian
Modified: 2013-01-10 06:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-10 06:56:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
bsod-screenshot (31.32 KB, image/jpeg)
2013-01-10 03:39 UTC, Xu Tian
no flags Details

Description Xu Tian 2013-01-10 03:38:16 UTC
Description of problem:

window guest bosd(error code: 0x00000078) when start guest with flag "hv_relaxed";The flag "hv_relaxed" added because of another BSOD bug (Bug 801196 - Win28k KVM guest on RHEL6.1 BSOD with CLOCK_WATCHDOG_TIMEOUT);
after remove this flag guest bootup normally;

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


How reproducible:

100%

Steps to Reproduce:
1. bootup a guest with command:
/root/test/autotest-devel/client/tests/kvm/qemu \
    -S \
    -name 'vm1' \
    -nodefaults \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130110-042339-ZffoxS5u,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control \
    -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130110-042339-ZffoxS5u,server,nowait \
    -device isa-serial,chardev=serial_id_serial1 \
    -chardev socket,id=seabioslog_id_20130110-042339-ZffoxS5u,path=/tmp/seabios-20130110-042339-ZffoxS5u,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20130110-042339-ZffoxS5u,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \
    -drive file='/root/test/autotest-devel/client/tests/kvm/images/win7-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 rtl8139,netdev=ideFCyFD,mac=9a:99:9a:9b:9c:9d,bus=pci.0,addr=0x3,id='idiKwULA' \
    -netdev tap,id=ideFCyFD \
    -m 4096 \
    -smp 4,cores=2,threads=1,sockets=2 \
    -cpu 'SandyBridge,hv_relaxed' \
    -M rhel6.4.0 \
    -drive file='/root/test/autotest-devel/client/tests/kvm/isos/ISO/Windows7/en_windows_7_ultimate_with_sp1_x86_dvd_619077.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/test/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/test/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/test/autotest-devel/client/tests/kvm/images/win7-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,password=123456,addr=0,tls-port=3200,x509-dir=/tmp/spice_x509d,tls-channel=main,tls-channel=inputs,image-compression=auto_glz,jpeg-wan-compression=auto,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \
    -vga qxl \
    -global qxl-vga.vram_size=33554432 \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off  \
    -enable-kvm\
    -vnc :2 \
    -monitor stdio\

2. wait windows installer startup
  
Actual results:

windows guest bsod

Expected results:

windows guest install without error

Additional info:

(qemu) info cpus
* CPU #0: pc=0x0000000082a1bb5e thread_id=16516 
  CPU #1: pc=0x00000000000f58a7 (halted) thread_id=16517 
  CPU #2: pc=0x00000000000f58a7 (halted) thread_id=16518 
  CPU #3: pc=0x00000000000f58a7 (halted) thread_id=16519 
(qemu) info registers 
EAX=82764a40 EBX=00000000 ECX=00000000 EDX=00000000
ESI=826e1089 EDI=00000000 EBP=82729ddc ESP=82729d94
EIP=82a1bcf7 EFL=00200046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0023 00000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0023 00000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
FS =0030 8272dc00 00003748 00409300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 000fffff 00000000
TR =0028 801da000 000020ab 00008b00 DPL=0 TSS32-busy
GDT=     80b95000 000003ff
IDT=     80b95400 000007ff
CR0=8001003d CR2=8ce02000 CR3=00185000 CR4=00000020
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
DR6=ffff0ff0 DR7=00000400
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=d7e0cec3030b4922 bffc FPR1=9afc19d860616924 3fff
FPR2=e000000000000000 bfff FPR3=d800000000000000 3ffd
FPR4=9000000000000000 bffd FPR5=9000000000000000 bffd
FPR6=9f00000000000000 4009 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
(qemu)

Comment 1 Xu Tian 2013-01-10 03:39:20 UTC
Created attachment 676002 [details]
bsod-screenshot

see screenshot to get more detials about the bosd

Comment 3 juzhang 2013-01-10 04:24:08 UTC
Please review the follow 2 bugs
Bug 871350 - Add minimal hyper-v support to kvm in order to support relaxed timing feature(kernel component bug)
Bug 801196 - Win28k KVM guest on RHEL6.1 BSOD with CLOCK_WATCHDOG_TIMEOUT (qemu-kvm component bug)

Best Regards & Thanks,
Junyi

Comment 4 Xu Tian 2013-01-10 04:59:41 UTC

(In reply to comment #3)
> Please review the follow 2 bugs
> Bug 871350 - Add minimal hyper-v support to kvm in order to support relaxed
> timing feature(kernel component bug)
> Bug 801196 - Win28k KVM guest on RHEL6.1 BSOD with CLOCK_WATCHDOG_TIMEOUT
> (qemu-kvm component bug)
> 
> Best Regards & Thanks,
> Junyi

Hi Junyi,

view from Bug 871350, hyper-v feature should fix in kernel-2.6.32-350.el6, but bug verified in  2.6.32-351.el6.x86_64;

my test envrioment is:
[root@localhost tmp]# uname -a
Linux localhost.localdomain 2.6.32-350.el6.x86_64 #1 SMP Tue Dec 18 11:19:54 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost tmp]# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.349.el6.x86_64

and I will re-test with 2.6.32-351.el6.x86_64's kernel again;

Comment 5 Xu Tian 2013-01-10 05:02:28 UTC
(In reply to comment #0)
> Description of problem:
> 
> window guest bosd(error code: 0x00000078) when start guest with flag
> "hv_relaxed";The flag "hv_relaxed" added because of another BSOD bug (Bug
> 801196 - Win28k KVM guest on RHEL6.1 BSOD with CLOCK_WATCHDOG_TIMEOUT);
> after remove this flag guest bootup normally;
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 
> 100%
> 
> Steps to Reproduce:
> 1. bootup a guest with command:
> /root/test/autotest-devel/client/tests/kvm/qemu \
>     -S \
>     -name 'vm1' \
>     -nodefaults \
>     -chardev
> socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130110-042339-
> ZffoxS5u,server,nowait \
>     -mon chardev=qmp_id_qmpmonitor1,mode=control \
>     -chardev
> socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130110-042339-
> ZffoxS5u,server,nowait \
>     -device isa-serial,chardev=serial_id_serial1 \
>     -chardev
> socket,id=seabioslog_id_20130110-042339-ZffoxS5u,path=/tmp/seabios-20130110-
> 042339-ZffoxS5u,server,nowait \
>     -device
> isa-debugcon,chardev=seabioslog_id_20130110-042339-ZffoxS5u,iobase=0x402 \
>     -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \
>     -drive
> file='/root/test/autotest-devel/client/tests/kvm/images/win7-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
> rtl8139,netdev=ideFCyFD,mac=9a:99:9a:9b:9c:9d,bus=pci.0,addr=0x3,
> id='idiKwULA' \
>     -netdev tap,id=ideFCyFD \
>     -m 4096 \
>     -smp 4,cores=2,threads=1,sockets=2 \
>     -cpu 'SandyBridge,hv_relaxed' \
>     -M rhel6.4.0 \
>     -drive
> file='/root/test/autotest-devel/client/tests/kvm/isos/ISO/Windows7/
> en_windows_7_ultimate_with_sp1_x86_dvd_619077.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/test/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/test/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/test/autotest-devel/client/tests/kvm/images/win7-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,password=123456,addr=0,tls-port=3200,x509-dir=/tmp/spice_x509d,tls-
> channel=main,tls-channel=inputs,image-compression=auto_glz,jpeg-wan-
> compression=auto,zlib-glz-wan-compression=auto,streaming-video=all,agent-
> mouse=on,playback-compression=on,ipv4 \
>     -vga qxl \
>     -global qxl-vga.vram_size=33554432 \
>     -rtc base=localtime,clock=host,driftfix=slew  \
>     -boot order=cdn,once=d,menu=off  \
>     -enable-kvm\
>     -vnc :2 \
>     -monitor stdio\
> 
> 2. wait windows installer startup
>   
> Actual results:
> 
> windows guest bsod
> 
> Expected results:
> 
> windows guest install without error
> 
> Additional info:
> 
> (qemu) info cpus
> * CPU #0: pc=0x0000000082a1bb5e thread_id=16516 
>   CPU #1: pc=0x00000000000f58a7 (halted) thread_id=16517 
>   CPU #2: pc=0x00000000000f58a7 (halted) thread_id=16518 
>   CPU #3: pc=0x00000000000f58a7 (halted) thread_id=16519 
> (qemu) info registers 
> EAX=82764a40 EBX=00000000 ECX=00000000 EDX=00000000
> ESI=826e1089 EDI=00000000 EBP=82729ddc ESP=82729d94
> EIP=82a1bcf7 EFL=00200046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
> ES =0023 00000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
> CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
> SS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
> DS =0023 00000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
> FS =0030 8272dc00 00003748 00409300 DPL=0 DS   [-WA]
> GS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
> LDT=0000 00000000 000fffff 00000000
> TR =0028 801da000 000020ab 00008b00 DPL=0 TSS32-busy
> GDT=     80b95000 000003ff
> IDT=     80b95400 000007ff
> CR0=8001003d CR2=8ce02000 CR3=00185000 CR4=00000020
> DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
> DR6=ffff0ff0 DR7=00000400
> FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
> FPR0=d7e0cec3030b4922 bffc FPR1=9afc19d860616924 3fff
> FPR2=e000000000000000 bfff FPR3=d800000000000000 3ffd
> FPR4=9000000000000000 bffd FPR5=9000000000000000 bffd
> FPR6=9f00000000000000 4009 FPR7=0000000000000000 0000
> XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
> XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
> XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
> XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
> (qemu)
releated package version:
[root@localhost tmp]# uname -a
Linux localhost.localdomain 2.6.32-350.el6.x86_64 #1 SMP Tue Dec 18 11:19:54 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost tmp]# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.349.el6.x86_64

Comment 6 Xu Tian 2013-01-10 05:42:20 UTC
(In reply to comment #4)
> 
> (In reply to comment #3)
> > Please review the follow 2 bugs
> > Bug 871350 - Add minimal hyper-v support to kvm in order to support relaxed
> > timing feature(kernel component bug)
> > Bug 801196 - Win28k KVM guest on RHEL6.1 BSOD with CLOCK_WATCHDOG_TIMEOUT
> > (qemu-kvm component bug)
> > 
> > Best Regards & Thanks,
> > Junyi
> 
> Hi Junyi,
> 
> view from Bug 871350, hyper-v feature should fix in kernel-2.6.32-350.el6,
> but bug verified in  2.6.32-351.el6.x86_64;
> 
> my test envrioment is:
> [root@localhost tmp]# uname -a
> Linux localhost.localdomain 2.6.32-350.el6.x86_64 #1 SMP Tue Dec 18 11:19:54
> EST 2012 x86_64 x86_64 x86_64 GNU/Linux
> [root@localhost tmp]# rpm -q qemu-kvm
> qemu-kvm-0.12.1.2-2.349.el6.x86_64
> 
> and I will re-test with 2.6.32-351.el6.x86_64's kernel again;

not reporduce this bug on 2.6.32-351.el6.x86_64 and 2.6.32-353.el6.x86_64(latest) kernel, but still reporduce on  2.6.32-350.el6.x86_64 kernel, so I'think "Fixed In Version: kernel-2.6.32-350.el6" of bz871350  is incorrectly, so suggest closed this bug and update fixed in version to 2.6.32-350.el6.x86_64 of bz871350;

thanks,
Xu

Comment 7 Xu Tian 2013-01-10 06:56:51 UTC

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


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