| Summary: | QEMU core dumped when using -drive if=scsi | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> |
| Component: | qemu-kvm | Assignee: | Ademar Reis <areis> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | acathrow, bsarathy, chayang, famz, hhuang, juzhang, michen, mkenneth, pbonzini, qzhang, virt-maint, xfu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1019220 | Environment: | |
| Last Closed: | 2013-12-10 17:04:58 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: | |
| Bug Depends On: | 1019220 | ||
| Bug Blocks: | |||
Direct invocation of qemu-kvm and QMP/HMP usage (outside of libvirt) will not be supported in RHEL7. Closing as wontfix. |
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)