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 1052090

Summary: [HCK][balloon]job "Driver Memory Test" always failed with win8.1-32 guest on rhel7 host
Product: Red Hat Enterprise Linux 7 Reporter: lijin <lijin>
Component: kernelAssignee: Igor Mammedov <imammedo>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, hhuang, juzhang, knoel, lijin, mtosatti, pbonzini, rkrcmar, shu, svenkatr, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-3.10.0-114.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 13:18:08 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:
Attachments:
Description Flags
win8.1-32-74-balloon hck package
none
[RHEL7 PATCH 1/2] KVM: x86 emulator: emulate MOVAPS
none
[RHEL7 PATCH 2/2] KVM: x86 emulator: emulate MOVAPD none

Description lijin 2014-01-13 10:01:12 UTC
Created attachment 849245 [details]
win8.1-32-74-balloon hck package

Description of problem:

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-1.5.3-30.el7.x86_64
kernel-3.10.0-64.el7.x86_64
seabios-1.7.2.2-7.el7.x86_64
virtio-win-prewhql-74 && virtio-win-1.6.7-2.el7

How reproducible:
100% on my image

Steps to Reproduce:
1.boot win8.1.-32 guest on rhel7 host:
/usr/libexec/qemu-kvm -m 2G -smp 2,cores=2 -cpu Penryn -usb -device usb-tablet -drive file=win8.1-32-140109.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,sndbuf=0,id=hostnet2,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -device e1000,netdev=hostnet2,mac=00:52:54:99:85:94,bus=pci.0,addr=0x6 -uuid d0f8abb1-dd1f-4348-9a4f-d9965d2dbfa3 -rtc-td-hack -no-kvm-pit-reinjection -rtc base=localtime,clock=host,driftfix=slew -chardev socket,id=a11,path=/tmp/monitor-win8.1-32-balloon-74,server,nowait -mon chardev=a11,mode=readline -vnc :1 -vga cirrus -chardev socket,id=channel0,path=/tmp/tt,server,nowait -device virtio-balloon-pci,id=balloon0 -name 8-1-32 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio

2.submit job in HCK2.1

Actual results:
job failed with error:WDTF_TEST : Initilization faied, cannot run any test. Please check any previous failure for more information

Expected results:
job can pass

Additional info:
same job can pass on rhel6 host.

Comment 2 Gal Hammer 2014-01-29 15:09:50 UTC
The virtio-serial driver fails on this test as well.

Comment 3 Gal Hammer 2014-01-30 14:30:55 UTC
It also seem that the problem only exists when running with a RHEL-7 host. I was unable to reproduce this error with a RHEL-6 host, no matter which qemu-kvm version was used (both stock rpm and upstream).

Comment 4 Gal Hammer 2014-03-13 08:17:53 UTC
Which host is running the guest? Is it an AMD or an Intel? (cat /proc/cpuinfo). Thanks.

Comment 5 lijin 2014-03-13 08:27:06 UTC
(In reply to Gal Hammer from comment #4)
> Which host is running the guest? Is it an AMD or an Intel? (cat
> /proc/cpuinfo). Thanks.

it's an Intel host

Comment 6 Gal Hammer 2014-03-13 08:43:05 UTC
Does the job still fails if you remove the "-cpu Penryn" option?

Comment 7 Gal Hammer 2014-03-13 12:51:41 UTC
The test pass if I switch to "-cpu kvm64" so it looks like a kvm issue (missing a sse instruction?).

From the trace:

reason EXIT_ERR rip 0x81c18326 info 0 0

x/10i 0x81c18326-20
0x0000000081c18312:  add    %al,(%eax)
0x0000000081c18314:  add    %cl,-0x7127711d(%esi)
0x0000000081c1831a:  rolb   $0x0,0x80ec(%ecx)
0x0000000081c18321:  and    $0xfffffff0,%esp
0x0000000081c18324:  mov    %esp,%esi
0x0000000081c18326:  movaps %xmm0,(%esi)
0x0000000081c18329:  movaps %xmm1,0x10(%esi)
0x0000000081c1832d:  movaps %xmm2,0x20(%esi)
0x0000000081c18331:  movaps %xmm3,0x30(%esi)
0x0000000081c18335:  movaps %xmm4,0x40(%esi)

Karen, can you please assign this bug to the proper person? Thanks.

Comment 8 Mike Cao 2014-03-13 14:48:29 UTC
lijin ,pls re-test with following tests 
1.-cpu kvm64
2.remove -cpu 
3.-cpu penryn,+sse

Comment 9 lijin 2014-03-14 02:21:42 UTC
(In reply to Mike Cao from comment #8)
> lijin ,pls re-test with following tests 
> 1.-cpu kvm64
> 2.remove -cpu 
> 3.-cpu penryn,+sse

remove "-cpu Penryn",still hit this issue;
“-cpu kvm64”,job can pass
"-cpu penryn,+sse",job can pass

Comment 10 FuXiangChun 2014-03-14 06:56:40 UTC
Boot rhel7.0 guest with "# /usr/libexec/qemu-kvm -m 2G -smp 2,cores=2 -cpu Penryn"

can find sse flag inside guest. so seem this problem don't relate with sse flag(needn't +sse).

cat /proc/cpuinfo inside guest.
flags		: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl pni ssse3 cx16 sse4_1 hypervisor lahf_lm

Comment 11 Mike Cao 2014-03-14 07:01:55 UTC
(In reply to FuXiangChun from comment #10)
> Boot rhel7.0 guest with "# /usr/libexec/qemu-kvm -m 2G -smp 2,cores=2 -cpu
> Penryn"
> 
> can find sse flag inside guest. so seem this problem don't relate with sse
> flag(needn't +sse).
> 
> cat /proc/cpuinfo inside guest.
> flags		: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
> clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl pni
> ssse3 cx16 sse4_1 hypervisor lahf_lm

pls test it w/ windows 8.1-32 guest

Comment 12 lijin 2014-03-14 10:09:29 UTC
Rerun this job on our slot machine,job can pass with the same command line with comment#0 

package info:
kernel-3.10.0-84.el7.x86_64
qemu-kvm-rhev-1.5.3-45.el7.x86_64
seabios-1.7.2.2-11.el7.x86_64
virtio-win-1.6.8-4.el6.noarch

cpu info((job can pass with "-cpu Penryn"):):
[root@dell-me02-pem620-02 ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                24
On-line CPU(s) list:   0-23
Thread(s) per core:    2
Core(s) per socket:    6
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Model name:            Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
Stepping:              7
CPU MHz:               1221.484
BogoMIPS:              4003.70
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              15360K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23

cpu info of the previous machine(job failed with "-cpu Penryn"):
[root@dhcp-11-50 ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 23
Model name:            Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz
Stepping:              10
CPU MHz:               2659.878
BogoMIPS:              5319.75
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              3072K
NUMA node0 CPU(s):     0-3

Comment 13 Igor Mammedov 2014-03-15 20:28:28 UTC
Posted upstream:
  https://lkml.org/lkml/2014/3/15/132

Comment 14 FuXiangChun 2014-03-17 02:23:49 UTC
(In reply to Mike Cao from comment #11)
> (In reply to FuXiangChun from comment #10)
> > Boot rhel7.0 guest with "# /usr/libexec/qemu-kvm -m 2G -smp 2,cores=2 -cpu
> > Penryn"
> > 
> > can find sse flag inside guest. so seem this problem don't relate with sse
> > flag(needn't +sse).
> > 
> > cat /proc/cpuinfo inside guest.
> > flags		: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
> > clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl pni
> > ssse3 cx16 sse4_1 hypervisor lahf_lm
> 
> pls test it w/ windows 8.1-32 guest

Boot windows 8.1-32 with "-cpu Penryn", "sse" flag can be found inside guest. so cpu flag sse does not have an associated with this problem.

Comment 15 Igor Mammedov 2014-03-18 19:19:56 UTC
Created attachment 876074 [details]
[RHEL7 PATCH 1/2] KVM: x86 emulator: emulate MOVAPS

Comment 16 Igor Mammedov 2014-03-18 19:20:31 UTC
Created attachment 876075 [details]
[RHEL7 PATCH 2/2] KVM: x86 emulator: emulate MOVAPD

Comment 18 Paolo Bonzini 2014-03-21 13:42:41 UTC
*** Bug 1079257 has been marked as a duplicate of this bug. ***

Comment 19 Jarod Wilson 2014-03-24 15:36:55 UTC
Patch(es) available on kernel-3.10.0-114.el7

Comment 22 lijin 2014-03-25 02:50:46 UTC
Reproduced this issue on kernel-3.10.0-64.el7.x86_64
Verified this issue on kernel-3.10.0-114.el7.x86_64

steps same as comment #0

Actual Results:
on kernel-3.10.0-64.el7.x86_64,job failed
on kernel-3.10.0-114.el7.x86_64,job can pass with -cpu removed of with "-cpu Penryn" 

Based on above ,this issue has been fixed already .

Comment 23 lijin 2014-03-25 02:52:50 UTC
(In reply to lijin from comment #22)
> Reproduced this issue on kernel-3.10.0-64.el7.x86_64
> Verified this issue on kernel-3.10.0-114.el7.x86_64
> 
> steps same as comment #0
> 
> Actual Results:
> on kernel-3.10.0-64.el7.x86_64,job failed
> on kernel-3.10.0-114.el7.x86_64,job can pass with -cpu removed of with "-cpu
> Penryn" 
  sorry,of ---> or
> Based on above ,this issue has been fixed already .

Comment 24 juzhang 2014-03-25 03:22:54 UTC
According to comment22 and comment23, set this bz as verified.

Comment 25 Ludek Smid 2014-06-13 13:18:08 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.