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 491296 - Segmentation fault when start guest with pcidevice
Summary: Segmentation fault when start guest with pcidevice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Chris Wright
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-20 09:41 UTC by Yolkfull Chow
Modified: 2016-04-26 14:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-28 05:52:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
trace message from dmesg (1.68 KB, text/plain)
2009-04-13 05:34 UTC, Yolkfull Chow
no flags Details

Description Yolkfull Chow 2009-03-20 09:41:33 UTC
Description of problem:
Found following segmentation fault in demsg when using command : #qemu-kvm r53c32nfs.img -m 512 -smp 2 -pcidevice host=00:1d.0 to start the guest:

qemu-kvm[8516]: segfault at 0000000000000018 rip 00000000004a8a82 rsp 00007fffa5c5c870 error 4

Version-Release number of selected component (if applicable):
83-20
kernel :  2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
cpu: Intel(R) Core(TM)2 Duo CPU     E6550

How reproducible:
twice


Steps to Reproduce:
1. #qemu-kvm r53c32nfs.img -m 512 -smp 2 -pcidevice host=00:1d.0
2.
3.
  
Actual results:
Found segmentation fault error in dmesg

Expected results:
No segmentation fault error.

Additional info:

Comment 1 Yaniv Kaul 2009-03-20 10:39:07 UTC
Yingfu,

If it's reproducible, why not attach gdb to the process and see where it fails? Add kvm-debuginfo package, and you've made the developer's life much easier.

Comment 2 Yolkfull Chow 2009-04-13 05:34:24 UTC
Created attachment 339277 [details]
trace message from dmesg

Yaniv, attachment is the trace message from dmesg on host, sorry for attach it a little late. :)

There is no backtrace in gdb since it did not crash the guest,which means although we can find the trace message in dmesg on host, the guest is running well.

The command I used:
#qemu-kvm /tmp/kvm_autotest_root/images/RHEL-Server-5.3-64.qcow2 -smp 4 -pcidevice host=00:1c.0 -m 1000

Tested kvm pkg: 83-28

Comment 3 Dor Laor 2009-04-16 07:51:41 UTC
pci passthrough is not supported for rhev (only for rhel 5.4)
btw: there is no kvm rpm ver.
Can you close the bug?

Comment 4 RHEL Program Management 2009-04-16 08:05:18 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 5 Lawrence Lim 2009-04-16 18:36:40 UTC
RE: comment #3, 

llim->yzhou, please create the bug against RHEL5.4

Comment 6 Yolkfull Chow 2009-04-17 03:19:21 UTC
(In reply to comment #3)
> pci passthrough is not supported for rhev (only for rhel 5.4)
> btw: there is no kvm rpm ver.
> Can you close the bug?  

Hi Dor, I had added kvm rpm version when the bug was opened:

--------
Version-Release number of selected component (if applicable):
83-20   <<<<<<<<<<< version is here

kernel :  2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64
x86_64 GNU/Linux
cpu: Intel(R) Core(TM)2 Duo CPU     E6550
--------

Ok, Lawrence, I will create it against 5.4. Thank you! :)

Comment 7 jason wang 2009-04-17 05:28:58 UTC
Dor:
   Does the configuration flags needed by PCI-passthrough (such as CONFIG_DMAR) is turned on in RHEL5.4 or there is some others flags used to do this? I could not found any flags related to passthrough in current kernel of RHEL 5.4(2.6.18.138.el5).

Comment 8 Lawrence Lim 2009-04-17 11:17:34 UTC
Support for PCI pass through is a feature for Version 2.0 so this is a bug which has to be fixed. Reopen bug n adjust flag.

Comment 9 RHEL Program Management 2009-06-22 18:47:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 10 Eduardo Habkost 2010-01-20 11:51:50 UTC
On RHEL-6, the KVM userspace package is named "qemu-kvm". Moving bug to the right component.

Comment 12 Qunfang Zhang 2010-04-09 09:40:23 UTC
This issue is not found in qemu-kvm-0.12.1.2-2.36.el6.x86_64, so setting status to verified.


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