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 698546 - Randomly writing /dev/port caused guest terminate: Guest moved used index from 0 to 1824
Summary: Randomly writing /dev/port caused guest terminate: Guest moved used index fro...
Keywords:
Status: CLOSED DUPLICATE of bug 691532
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Michael S. Tsirkin
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 710017
TreeView+ depends on / blocked
 
Reported: 2011-04-21 08:07 UTC by Amos Kong
Modified: 2015-05-25 00:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 710017 (view as bug list)
Environment:
Last Closed: 2011-06-08 21:16:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Amos Kong 2011-04-21 08:07:28 UTC
Description of problem:

Executing iofuzz test in Autotest framework, it's easy to cause guest exit with this kind of error: Guest moved used index from 0 to *

It's same as https://partner-bugzilla.redhat.com/show_bug.cgi?id=594654#c0
https://github.com/autotest/autotest/blob/master/client/tests/kvm/tests/iofuzz.py


eg.1
| outb(0xc068, 0x35)
| Sending command: echo -e '\065' | dd of=/dev/port seek=49256 bs=1 count=1
| Sending command: echo $?
| outb(0xc05c, 0x63)
| Sending command: echo -e '\0143' | dd of=/dev/port seek=49244 bs=1 count=1
| Sending command: echo $?
| (qemu) Guest moved used index from 0 to 1824
| (qemu) (Process terminated with status 1)

eg.2
| outb(0xc062, 0x65)
| Sending command: echo -e '\0145' | dd of=/dev/port seek=49250 bs=1 count=1
| Sending command: echo $?
| outb(0xc052, 0xc)
| Sending command: echo -e '\014' | dd of=/dev/port seek=49234 bs=1 count=1
| (qemu) Guest moved used index from 0 to 50791
| (qemu) (Process terminated with status 1)


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.158.el6.x86_64
host kernel: 2.6.32-131.0.1.el6.x86_64
guest kernel: 2.6.32-71.18.2.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. execute autotest.iofuzz test
https://github.com/autotest/autotest/blob/master/client/tests/kvm/tests/iofuzz.py
  
Actual results:
Guest terminated

Expected results:
qemu process is normal or hung.

Additional info:
# qemu-kvm -name 'vm1' -monitor unix:'/tmp/monitor-humanmonitor1-20110418-172111-gzcY',server,nowait -serial unix:'/tmp/serial-20110418-172111-gzcY',server,nowait -drive file='/tmp/kvm_autotest_root/images/rhel6-64-virtio.qcow2',index=0,if=virtio,cache=none -device virtio-net-pci,netdev=idzEpvwU,mac='9a:8a:ec:e1:08:72',id='idTlommU' -netdev tap,id=idzEpvwU,vhost=on,ifname='t0-172111-gzcY',script='/etc/qemu-ifup-vbr0',downscript='no' -m 2048 -smp 2 -vnc :0

Comment 2 Michael S. Tsirkin 2011-06-08 21:16:51 UTC

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


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