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 1096577

Summary: qemu-kvm will core dump when boot two scsi-hd devices with the same "scsi-id and lun"(no specify memory size)
Product: Red Hat Enterprise Linux 6 Reporter: Jun Li <juli>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: acathrow, bsarathy, famz, juzhang, michen, mkenneth, qiguo, qzhang, sluo, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1096575 Environment:
Last Closed: 2014-06-11 06:10:15 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: 1096575, 1096576    
Bug Blocks:    

Comment 1 Jun Li 2014-05-12 05:02:38 UTC
Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.425.el6.x86_64
2.6.32-459.el6.x86_64
seabios-0.6.1.2-28.el6.x86_64

How reproducible:
100%
---
CLI:
# gdb --args /usr/libexec/qemu-kvm -device virtio-scsi-pci,id=scsi0 -drive file=/home/juli/sn1.qcow2,if=none,id=disk1 -device scsi-hd,drive=disk1,id=sys-disk1,scsi-id=0,lun=0,bootindex=0 -boot menu=on -monitor stdio -S -drive file=/home/juli/sn1.qcow2,if=none,id=disk2 -device scsi-hd,drive=disk2,id=sys-disk2,scsi-id=0,lun=0,bootindex=3
(gdb) bt
#0  qdev_get_fw_dev_path_helper (dev=0x7ffff89fe6e0, p=0x7fffffffcdd0 "\001", 
    size=-128) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:901
#1  0x00007ffff7e52f63 in qdev_get_fw_dev_path (dev=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:920
#2  0x00007ffff7dbf105 in get_boot_devices_list (size=0x7fffffffcecc)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:2360
#3  0x00007ffff7f1fbc2 in fw_cfg_machine_ready (n=<value optimized out>, 
    data=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/hw/fw_cfg.c:344
#4  0x00007ffff7e73444 in notifier_list_notify (list=<value optimized out>, 
    data=0x0) at /usr/src/debug/qemu-kvm-0.12.1.2/notify.c:37
#5  0x00007ffff7dc083b in qemu_run_machine_init_done_notifiers (argc=16, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:5127
#6  main (argc=16, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6608

Comment 3 Qunfang Zhang 2014-06-11 05:11:10 UTC
Hi, fam

Is this a duplicate with bug 1096590?

Thanks,
Qunfang

Comment 4 Fam Zheng 2014-06-11 06:10:15 UTC
Yes, by looking at the backtrace.

The patch mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1096576#c4 should fix it.

Closing as duplicated.

Thanks, Qunfang.

Fam

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