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 1018687 - Case "realmode" in kvm unit test gets stuck on RHEL6.5 host
Summary: Case "realmode" in kvm unit test gets stuck on RHEL6.5 host
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 07:53 UTC by Shaolong Hu
Modified: 2014-01-08 12:34 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-15 07:53:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shaolong Hu 2013-10-14 07:53:23 UTC
Description of problem:
--------------------------
I recently run kvm unit test (using run_tests.sh with default unittests.cfg) with upstream qemu on latest RHEL6.5 host, there are 3 cases get stuck, 2 cases fail.

I am not sure whether this is a kvm bug, or kvm unit test problem, or i run kvm unit test wrong, i only modify run_test.sh and x86_run script a little bit to separate log file for each case, and i use upstream qemu for i was told in RHEL6 testdev device in our internal version may not guarantee to work, so feel free to change the component or close if this is notabug.

BTW, the "-display none" command does not exists, i have to remove it from script or it shows all cases pass but don't run them at all.


Version-Release number of selected component (if applicable):
--------------------------------------------------------------
kernel 2.6.32-421.el6.x86_64
qemu: latest upstream
kvm unit test: latest upstream

host:

vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9500  @ 2.83GHz




This bug is to track the "realmode" case, which gets stuck, i have to kill the qemu process, log:

qemu-system-x86_64 -enable-kvm -device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out -serial stdio -kernel x86/realmode.flat -smp 1
VNC server running on `::1:5900'
PASS: null
PASS: shld
PASS: push/pop 1
PASS: push/pop 2
PASS: push/pop 3
PASS: push/pop 4
PASS: push/pop 5
PASS: push/pop 6
PASS: push/pop with high bits set in %esp
PASS: pusha/popa 1
PASS: pusha/popa 1
PASS: mov 1
PASS: mov 2
PASS: mov 3
PASS: mov 4
PASS: mov 5
PASS: cmp 1
PASS: cmp 2
PASS: cmp 3
PASS: add 1
PASS: add 2
PASS: sub 1
PASS: sub 2
PASS: sub 3
PASS: sub 4
PASS: xor 1
PASS: xor 2
PASS: xor 3
PASS: xor 4
PASS: pio 1
PASS: pio 2
PASS: pio 3
PASS: pio 4
PASS: pio 5
PASS: pio 6
PASS: clc 
PASS: stc 
PASS: cli 
PASS: sti 
PASS: cld 
PASS: std 
PASS: jnz short 1
PASS: jnz short 2
PASS: jmp short 1
PASS: jnz near 1
PASS: jnz near 2
PASS: jmp near 1
PASS: call 1
PASS: call near 1
PASS: call near 2
PASS: call far 1
PASS: call far 2
PASS: ret imm 1
PASS: retf imm 1
PASS: jmp far 1
PASS: xchg 1
PASS: xchg 2
PASS: xchg 3
PASS: xchg 4
PASS: xchg 5
PASS: xchg 6
PASS: xchg 7
PASS: xchg 8
PASS: iret 1
PASS: iret 2
PASS: iret 3
PASS: iret 4
PASS: int 1
PASS: imul 1
PASS: imul 2
PASS: imul 3
PASS: imul 4
PASS: imul 5
PASS: imul 6
PASS: mul 1
PASS: mul 2
PASS: mul 3
PASS: div 1
PASS: div 2
PASS: div 3
PASS: idiv 1
PASS: idiv 2
PASS: idiv 3
PASS: LOOPcc short 1
PASS: LOOPcc short 2
PASS: LOOPcc short 3
PASS: cbq 1
PASS: cwde 1
PASS: cwd 1
PASS: cwd 2
PASS: cdq 1
PASS: cdq 2
PASS: DAS
PASS: lds
PASS: les
PASS: lfs
PASS: lgs
PASS: lss
PASS: jcxz short 1
PASS: jcxz short 2
PASS: jcxz short 3
PASS: jecxz short 1
PASS: jecxz short 2
PASS: cpuid
PASS: ss relative addressing (1)
PASS: ss relative addressing (2)
FAIL: sgdt
FAIL: sidt
PASS: lahf
PASS: movsx
PASS: movzx
PASS: movsx ah
PASS: movzx ah
PASS: bswap
PASS: aad
PASS: aam
PASS: xlat
PASS: salc (1)
PASS: salc (2)
PASS: fninit
PASS: nopl
Return value from qemu: 137

Comment 2 Gleb Natapov 2013-10-15 07:53:39 UTC
Same case as with emulator test. sgdt and sidt are not implemented in rhel6


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