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 1019535 - QEMU core dumped when using -drive if=scsi
Summary: QEMU core dumped when using -drive if=scsi
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Ademar Reis
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1019220
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 02:16 UTC by Sibiao Luo
Modified: 2013-12-10 17:04 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1019220
Environment:
Last Closed: 2013-12-10 17:04:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Sibiao Luo 2013-10-16 02:18:19 UTC
host info:
# uname -r && rpm -q qemu-kvm
3.10.0-23.el7.x86_64
qemu-kvm-1.5.3-9.el7.x86_64

# /usr/libexec/qemu-kvm -M pc -S -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection -drive file=/home/win2012-64-virtio.qcow2,if=scsi,id=drive-data-disk,format=qcow2,cache=none,werror=stop -device virtio-scsi-pci,bus=pci.0,addr=0x7,id=scsi0 -device scsi-hd,drive=drive-data-disk,id=data-disk,bus=scsi0.0 -k en-us -boot menu=on -spice disable-ticketing,port=5931 -monitor stdio
Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: Unknown device 'lsi53c895a' for bus 'PCI'
Aborted (core dumped)

(gdb) bt
#0  0x00007ffff32e1999 in raise () from /lib64/libc.so.6
#1  0x00007ffff32e30a8 in abort () from /lib64/libc.so.6
#2  0x000055555563c8f8 in qdev_create (bus=bus@entry=0x555556673720, name=name@entry=0x555555887fb1 "lsi53c895a")
    at hw/core/qdev.c:125
#3  0x0000555555680a15 in pci_create_multifunction (bus=bus@entry=0x555556673720, devfn=devfn@entry=-1, 
    multifunction=multifunction@entry=false, name=name@entry=0x555555887fb1 "lsi53c895a") at hw/pci/pci.c:1768
#4  0x0000555555680d1f in pci_create_simple_multifunction (name=<optimized out>, multifunction=false, devfn=-1, 
    bus=0x555556673720) at hw/pci/pci.c:1778
#5  pci_create_simple (bus=bus@entry=0x555556673720, devfn=devfn@entry=-1, name=name@entry=0x555555887fb1 "lsi53c895a")
    at hw/pci/pci.c:1790
#6  0x0000555555766be7 in pc_pci_device_init (pci_bus=pci_bus@entry=0x555556673720)
    at /usr/src/debug/qemu-1.5.3/hw/i386/pc.c:1247
#7  0x00005555557670d0 in pc_init1 (pci_enabled=1, kvmclock_enabled=1, cpu_model=<optimized out>, 
    initrd_filename=<optimized out>, kernel_cmdline=0x5555558ac2d0 "", kernel_filename=<optimized out>, 
    boot_device=0x555555866946 "cad", ram_size=<optimized out>, system_io=0x5555564ceae0, system_memory=0x5555564ce370)
    at /usr/src/debug/qemu-1.5.3/hw/i386/pc_piix.c:226
#8  pc_init_pci (args=<optimized out>) at /usr/src/debug/qemu-1.5.3/hw/i386/pc_piix.c:242
#9  0x00005555555c3b9d in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4263
(gdb) bt full
#0  0x00007ffff32e1999 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ffff32e30a8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x000055555563c8f8 in qdev_create (bus=bus@entry=0x555556673720, name=name@entry=0x555555887fb1 "lsi53c895a")
    at hw/core/qdev.c:125
        dev = <optimized out>
#3  0x0000555555680a15 in pci_create_multifunction (bus=bus@entry=0x555556673720, devfn=devfn@entry=-1, 
    multifunction=multifunction@entry=false, name=name@entry=0x555555887fb1 "lsi53c895a") at hw/pci/pci.c:1768
        dev = <optimized out>
        __func__ = "pci_create_multifunction"
#4  0x0000555555680d1f in pci_create_simple_multifunction (name=<optimized out>, multifunction=false, devfn=-1, 
    bus=0x555556673720) at hw/pci/pci.c:1778
        dev = <optimized out>
#5  pci_create_simple (bus=bus@entry=0x555556673720, devfn=devfn@entry=-1, name=name@entry=0x555555887fb1 "lsi53c895a")
    at hw/pci/pci.c:1790
No locals.
#6  0x0000555555766be7 in pc_pci_device_init (pci_bus=pci_bus@entry=0x555556673720)
    at /usr/src/debug/qemu-1.5.3/hw/i386/pc.c:1247
        max_bus = 0
        bus = 0
#7  0x00005555557670d0 in pc_init1 (pci_enabled=1, kvmclock_enabled=1, cpu_model=<optimized out>, 
    initrd_filename=<optimized out>, kernel_cmdline=0x5555558ac2d0 "", kernel_filename=<optimized out>, 
    boot_device=0x555555866946 "cad", ram_size=<optimized out>, system_io=0x5555564ceae0, system_memory=0x5555564ce370)
    at /usr/src/debug/qemu-1.5.3/hw/i386/pc_piix.c:226
        isa_bus = 0x55555666f2c0
        hd = {0x0, 0x0, 0x5555564daa20, 0x0}
        above_4g_mem_size = 0
        gsi_state = 0x555556672320
        rom_memory = <optimized out>
        fw_cfg = 0x55555665e880
        below_4g_mem_size = 2147483648
        pci_bus = 0x555556673720
        gsi = 0x555556673080
        rtc_state = 0x555556677780
        ram_memory = 0x555556670fc0
        i = <optimized out>
        piix3_devfn = 8
        cpu_irq = <optimized out>
        smi_irq = <optimized out>
        floppy = 0x5555566d7070
        pci_memory = <optimized out>
        icc_bridge = <optimized out>
        i440fx_state = 0x5555566acd10
        i8259 = <optimized out>
#8  pc_init_pci (args=<optimized out>) at /usr/src/debug/qemu-1.5.3/hw/i386/pc_piix.c:242
        ram_size = <optimized out>
        cpu_model = <optimized out>
        kernel_filename = <optimized out>
        kernel_cmdline = 0x5555558ac2d0 ""
        initrd_filename = <optimized out>
        boot_device = 0x555555866946 "cad"
#9  0x00005555555c3b9d in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4263
        i = <optimized out>
        snapshot = 0
        linux_boot = 0
        icount_option = 0x0
        initrd_filename = 0x0
        kernel_filename = 0x0
        kernel_cmdline = 0x5555558ac2d0 ""
        boot_devices = '\000' <repeats 32 times>
        ds = <optimized out>
        cyls = 0
        heads = 0
        secs = 0
        translation = 0
        hda_opts = <optimized out>
        opts = <optimized out>
        machine_opts = <optimized out>
        olist = <optimized out>
        optind = 24
        optarg = 0x7fffffffe81e "stdio"
        loadvm = 0x0
        machine = 0x555555c312e0 <pc_machine_rhel700>
        cpu_model = 0x0
        vga_model = 0x55555588f55f "cirrus"
        pid_file = 0x0
        incoming = 0x0
        show_vnc_port = 0
        defconfig = <optimized out>
        userconfig = false
        log_mask = 0x0
        log_file = 0x0
        mem_trace = {malloc = 0x555555729860 <malloc_and_trace>, realloc = 0x555555729820 <realloc_and_trace>, 
          free = 0x5555557297e0 <free_and_trace>, calloc = 0x0, try_malloc = 0x0, try_realloc = 0x0}
        trace_events = 0x0
        trace_file = 0x0
        __PRETTY_FUNCTION__ = "main"
        args = {ram_size = 2147483648, boot_device = 0x555555866946 "cad", kernel_filename = 0x0, 
          kernel_cmdline = 0x5555558ac2d0 "", initrd_filename = 0x0, cpu_model = 0x0}
(gdb)

Comment 2 Ademar Reis 2013-12-10 17:04:58 UTC
Direct invocation of qemu-kvm and QMP/HMP usage (outside of libvirt) will not be supported in RHEL7. Closing as wontfix.


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