public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 217516] FAIL: TSC reference precision test when do hyperv_clock test of kvm unit test
Date: Mon, 05 Jun 2023 03:17:33 +0000	[thread overview]
Message-ID: <bug-217516-28872-fnn14gtqch@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-217516-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=217516

--- Comment #3 from Ethan Xie (zjuysxie@hotmail.com) ---
(In reply to Bagas Sanjaya from comment #2)
> (In reply to Ethan Xie from comment #0)
> > # cat /etc/redhat-release
> > CentOS Linux release 8.5.2111
> > 
> > # uname -r
> > 4.18.0-348.7.1.el8_5.x86_64
> > 
> 
> CentOS 8 has been EOLed in 2021. Can you test with Rocky Linux 9 instead
> (and preferably latest mainline kernel)?

I change the OS to Rocky Linux 9 with mainline linux kernel, it also can
reproduce this problem:

# timeout -k 1s --foreground 90s /usr/libexec/qemu-kvm --no-reboot -nodefaults
-device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none
-serial stdio -device pci-testdev -machine accel=kvm -kernel
x86/hyperv_clock.flat -cpu host,hv_time # -initrd /tmp/tmp.kFgWZZHuFw
qemu-kvm: warning: Machine type 'pc-i440fx-rhel7.6.0' is deprecated: machine
types for previous major releases are deprecated
enabling apic
smp: waiting for 0 APs
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
PASS: MSR value after enabling
scale: 10624dd2e147ae1 offset: -18011
refcnt 257287, TSC 41a33e4, TSC reference 257293
refcnt 20257287 (delta 20000000), TSC 12e2025fc, TSC reference 20257293 (delta
20000000)
suspecting drift on CPU 0? delta = 103, acceptable [0, 52)
FAIL: TSC reference precision test
iterations/sec:  47953642
PASS: MSR value after disabling

# uname -r
6.4.0-rc5

# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.0 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.0"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.0 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.0"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.0"

# cat /etc/redhat-release
Rocky Linux release 9.0 (Blue Onyx)

# rpm -qa | grep qemu-kvm
qemu-kvm-docs-7.2.0-14.el9_2.x86_64
qemu-kvm-common-7.2.0-14.el9_2.x86_64
qemu-kvm-device-display-virtio-gpu-7.2.0-14.el9_2.x86_64
qemu-kvm-device-display-virtio-gpu-pci-7.2.0-14.el9_2.x86_64
qemu-kvm-device-usb-host-7.2.0-14.el9_2.x86_64
qemu-kvm-device-display-virtio-vga-7.2.0-14.el9_2.x86_64
qemu-kvm-block-rbd-7.2.0-14.el9_2.x86_64
qemu-kvm-tools-7.2.0-14.el9_2.x86_64
qemu-kvm-device-usb-redirect-7.2.0-14.el9_2.x86_64
qemu-kvm-audio-pa-7.2.0-14.el9_2.x86_64
qemu-kvm-core-7.2.0-14.el9_2.x86_64
qemu-kvm-ui-opengl-7.2.0-14.el9_2.x86_64
qemu-kvm-ui-egl-headless-7.2.0-14.el9_2.x86_64
qemu-kvm-7.2.0-14.el9_2.x86_64


linux from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master branch with commit:
commit 9561de3a55bed6bdd44a12820ba81ec416e705a7 (HEAD -> master, tag: v6.4-rc5,
origin/master, origin/HEAD)
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sun Jun 4 14:04:27 2023 -0400

    Linux 6.4-rc5

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2023-06-05  3:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-01 12:04 [Bug 217516] New: FAIL: TSC reference precision test when do hyperv_clock test of kvm unit test bugzilla-daemon
2023-06-01 12:10 ` [Bug 217516] " bugzilla-daemon
2023-06-02 12:13 ` bugzilla-daemon
2023-06-05  3:17 ` bugzilla-daemon [this message]
2023-06-12  9:20 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-217516-28872-fnn14gtqch@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox