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 920950

Summary: qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000000a8000
Product: Red Hat Enterprise Linux 7 Reporter: Chao Yang <chayang>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, alex.williamson, chayang, hhuang, juzhang, michen, qiguo, shuang, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 11:24:33 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:
Attachments:
Description Flags
lspci dump of this assigned PF none

Description Chao Yang 2013-03-13 07:15:02 UTC
Description of problem:
hitting once "qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000000a8000"


CLI:
# qemu-system-x86_64 -M q35 -monitor stdio -drive file=rhel7.0.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,bootindex=1 -vnc :1 -m 2048 -smp 2 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=78:2b:cb:6e:41:22 -balloon none -boot menu=on -device vfio-pci,host=22:00.0,id=pf,rombar=0 -serial unix:/tmp/test,server,nowait
QEMU 1.4.0 monitor - type 'help' for more information
(qemu) 
(qemu) sy
system_powerdown  system_reset      system_wakeup     
(qemu) system_reset 
(qemu) qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000000a8000

EAX=00000002 EBX=000000b2 ECX=000000b2 EDX=000000b2
ESI=00000002 EDI=000000b2 EBP=818e5e78 ESP=818e5e78
EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0
ES =0000 00000000 ffffffff 00000000
CS =a000 000a0000 ffffffff 00000000
SS =0000 00000000 ffffffff 00000000
DS =0000 00000000 ffffffff 00000000
FS =0000 00000000 ffffffff 00000000
GS =0000 00000000 ffffffff 00000000
LDT=0000 00000000 00000000 00008200
TR =0040 7fc11d80 00002087 00008900
GDT=     7fc04000 0000007f
IDT=     81b3b000 00000fff
CR0=00050032 CR2=00000000 CR3=018f0000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
DR6=0000000000000000 DR7=0000000000000400
CCS=00000000 CCD=00005400 CCO=EFLAGS  
EFER=0000000000000000
FCW=037f FSW=2000 [ST=4] FTW=f0 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=a9d4000000000000 400d FPR5=a9dc000000000000 400d
FPR6=a8e8000000000000 400d FPR7=a96a000000000000 400d
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Aborted (core dumped)

Version-Release number of selected component (if applicable):
# qemu-system-x86_64 -version
QEMU emulator version 1.4.0, Copyright (c) 2003-2008 Fabrice Bellard
# uname -r
3.8.0-0.40.el7.x86_64

How reproducible:
only once so far

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chao Yang 2013-03-13 07:16:41 UTC
Created attachment 709362 [details]
lspci dump of this assigned PF

Comment 2 Chao Yang 2013-03-13 07:19:00 UTC
I am trying to narrow this issue by using -vga as Alex's suggestion.

Comment 4 Hai Huang 2013-08-06 12:48:50 UTC
Would it be possible to re-test this failure using a more recent qemu package?

Comment 5 Qian Guo 2013-08-08 03:34:18 UTC
(In reply to Hai Huang from comment #4)
> Would it be possible to re-test this failure using a more recent qemu
> package?

Hi, Hai

I tried the latest qemu and rhel7 kernel :
# rpm -q qemu-kvm
qemu-kvm-1.5.2-2.el7.x86_64

# uname -r
3.10.0-6.el7.x86_64

cli:

# /usr/libexec/qemu-kvm -M q35 -monitor stdio -drive file=/home/RHEL-Server-7.0-64.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,bootindex=1 -vnc :1 -m 2048 -smp 2 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=78:2b:cb:6e:41:22 -balloon none -boot menu=on -device vfio-pci,host=03:00.0,id=pf,rombar=0 -serial unix:/tmp/test,server,nowait

I reboot guest for 10 times under qemu
(qemu) system_reset

Results: No errors and core dump happened, so the issue is fixed by qemu-kvm-1.5.2-2.el7.x86_64 .