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.
Description of problem:
On AMD host, the job "Profile Interrupt Test" failed during ws2016 svvp test
Version-Release number of selected component (if applicable):
kernel-2.6.32-683.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.501.el6.x86_64
seabios-0.6.1.2-30.el6.x86_64
virtio-win-1.8.0-1.el6.noarch
How reproducible:
100%
Steps to Reproduce:
1. On rhel6.9 amd host, executed:
#vi /etc/modprobe.d/dist.conf
Add:
options kvm min_timer_period_us=100
Unload kvm_amd and kvm
#rmmod kvm_amd
#rmmod kvm
Reload again:
#modprobe kvm_amd
#modprobe kvm
Check that the parameter is set:
# cat /sys/module/kvm/parameters/min_timer_period_us
100
2. boot a guest:
/usr/libexec/qemu-kvm -boot menu=on --nodefaults --nodefconfig -m 256G -smp 32 -cpu Westmere -uuid f05f8492-4ed5-4dcd-9b85-6f2ffdef5009 -smbios type=1,manufacturer='Red Hat',product='Red Hat Enterprise Linux Version 6.9',version=6Server-0.1,serial='44454C4C-5700-1058-804B-B7 C04 F483258_00:21:9b:58:2d:67',uuid=f0458492-4ed5-4dcd-9b85-6f2ff99f5019 -usb -device usb-tablet,id=tablet0 \
-drive file=win2016-amd.raw,if=none,id=drive-virtio0-0-0,format=raw,werror=stop,rerror=stop,cache=none,serial=number -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virti0-0-0,bootindex=1 \
-netdev tap,id=hostnet0,script=/etc/qemu-ifup1 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:e2:52:28:66:a6,addr=0x04 -uuid 0f9dce8a-2c81-4a48-91b3-880bc6b68512 -monitor stdio -vnc :0 -vga std -name win2016-AMD-MAX -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -cdrom en_windows_server_2016_x64_dvd_9327751.iso \
-fda /usr/share/virtio-win/virtio-win-1.8.0_amd64.vfd -boot menu=on -device usb-ehci,id=ehci0 -drive file=usb-storage-amd-max-2.raw,if=none,id=drive-usb-2-0,media=disk,format=raw,cache=none,werror=stop,rerror=stop,aio=threads -device usb-storage,bus=ehci0.0,drive=drive-usb-2-0,id=usb-2-0,removable=on -rtc base=localtime,clock=host,driftfix=none -chardev socket,id=b111a,path=/tmp/monitor-win2016-amd-max-2,server,nowait -mon chardev=b111a,mode=readline
3. submit the job "Profile Interrupt Test" in HLK.
Actual results:
job failed with following error:
No data returned from kernel mode! Profile interrupt hook may have failed or no profile timer is allocated!
WexTraceInfo ThreadId=3228 ProcessId=2988 TimeStamp=1563801683 LogSessionId=1
Expected results:
Pass
Additional info:
1. With the similar setting on Intel host, the job can be passed.
2. With the same setting on rhel7.3 amd host, the job can be passed.
Errors all look like this:
================================================================================
Set profile interval to 1221 (100ns). Waiting 50 ms before sampling profile
interrupt rate.
Total Timestamps = 0
No data returned from kernel mode! Profile interrupt hook may have
failed or no profile timer is allocated!
Is there any way to get more verbose output, for example by running the test executable directly from the command line?
BTW, if you can run the test from the command line, it would be very useful to grab a trace (http://www.linux-kvm.org/page/Tracing) from the host around the execution of the test, on both AMD and Intel.
(In reply to Paolo Bonzini from comment #6)
> And also, is this a regression? Or was the test never run on 6.8 because we
> used an older HLK?
Hi Paolo,
We never run this job on rhel6.8, because we tested win2012-R2 svvp test and used a HCK.
Best Regards~
Peixiu
Hi all,
I tried follow workarounds test for this bug:
1. Changed to "-m 2G -smp 2" with driftfix=slew/none, reproduced this bug.
2. Changed cpu model to "Opteron_G4", with "-rtc base=localhost,clock=host, and with driftfix=slew/none,reproduced this bug.
3. Changed cpu model to "Opteron_G5", with "-rtc base=localhost,clock=vm, and with driftfix=slew/none,reproduced this bug.
4. Reinstall the kernel to kernel-2.6.32-694.el6, the case can be passed.
Best Regards~
Peixiu