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 1078775

Summary: During query cpuinfo during guest boot from ipxe repeatedly in AMD hosts, vm repeatedly reboot.
Product: Red Hat Enterprise Linux 7 Reporter: Qian Guo <qiguo>
Component: kernelAssignee: Paolo Bonzini <pbonzini>
kernel sub component: KVM QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: urgent CC: hhuang, juzhang, knoel, lersek, michen, pbonzini, rbalakri, virt-maint
Version: 7.0Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-3.10.0-143.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 11:43:03 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:
Bug Depends On: 1088784, 1116936    
Bug Blocks:    

Description Qian Guo 2014-03-20 10:11:23 UTC
Description of problem:
Start qemu and in meantime query cpuinfo repeatedly, when qemu try to boot from ipxe, vm then reboot repeatedly

Version-Release number of selected component (if applicable):
# uname -r
3.10.0-111.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-53.el7.x86_64
# rpm -q seabios
seabios-1.7.2.2-12.el7.x86_64
# rpm -qa |grep pxe
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Launch qemu and before vm boots, query cpuinfo repeatedly
# while true; do echo "info cpus" |nc -U /tmp/m1 ; done

# /usr/libexec/qemu-kvm -cpu Opteron_G3 -m 4G -smp 4 -M pc -enable-kvm -name testovs  -nodefaults -nodefconfig -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -qmp unix:/tmp/q1,server,nowait -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:11:23:a1  -monitor unix:/tmp/m1,server,nowait

2.
3.

Actual results:
vm try to boot from ipxe, but then reboot immediately and repeatedly.

Expected results:
Vm can successfully access the ipxe installation.

Additional info:

Comment 8 Jarod Wilson 2014-08-07 20:54:36 UTC
Patch(es) available on kernel-3.10.0-143.el7

Comment 11 Qian Guo 2014-11-05 09:15:08 UTC
Reproduced this bug with kernel-3.10.0-142.el7.x86_64

steps:
1.Boot guest in amd host:
# /usr/libexec/qemu-kvm -cpu Opteron_G3 -m 4G -smp 4 -M pc -enable-kvm -name pxe  -nodefaults -nodefconfig -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -qmp unix:/tmp/q1,server,nowait -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:11:23:a1  -monitor unix:/tmp/m1,server,nowait   -S

2.query vcpus repeatedly 
# while true; do echo "info cpus" |nc -U /tmp/m1 ; done

3.Start qemu.

Result: vm try to boot from ipxe, but then reboot immediately and repeatedly.

So this bug is reproduced.


Verify this bug with kernel-3.10.0-197.el7.x86_64 combined with qemu-kvm-1.5.3-77.el7.x86_64 and also with qemu-kvm-rhev-2.1.2-6.el7.x86_64

Steps as above, result: guest can continue to boot but not repeatedly reboot from ipxe.


So this bug is verified.

Comment 13 errata-xmlrpc 2015-03-05 11:43:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0290.html