Received: from eggs.gnu.org ([2001:4830:134:3::10]:49970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpEA2-0006mW-5z for qemu-devel@nongnu.org; Wed, 19 Jun 2013 04:54:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpEA0-0005jT-LW for qemu-devel@nongnu.org; Wed, 19 Jun 2013 04:54:38 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:55230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpEA0-0005jH-E7 for qemu-devel@nongnu.org; Wed, 19 Jun 2013 04:54:36 -0400 Received: by mail-we0-f175.google.com with SMTP id t59so4193118wes.20 for ; Wed, 19 Jun 2013 01:54:35 -0700 (PDT) Date: Wed, 19 Jun 2013 10:54:32 +0200 From: Stefan Hajnoczi Message-ID: <20130619085432.GA24023@stefanha-thinkpad.muc.redhat.com> References: <20130616234827.23764.98763.malonedeb@wampee.canonical.com> <20130618180122.22327.47349.malone@gac.canonical.com> <51C0B6D8.5090900@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Bug 1191606] Re: qemu crashes with iscsi initiator (libiscsi) when using virtio List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronnie sahlberg Cc: Bug 1191606 <1191606@bugs.launchpad.net>, Laszlo Ersek , qemu-devel On Tue, Jun 18, 2013 at 09:34:39PM -0700, ronnie sahlberg wrote: > I can reproduce with current QEMU. > > Ubuntu 13 crashes with if=virtio but if=ide is fine. > > > But it seems dependent on the guest/kernel. > > For example Fedora-18-x86_64-Live-Desktop.iso installs and runs just > fine, even with virtio > But both ubuntu-12.04-desktop-amd64.iso or > ubuntu-13.04-desktop-amd64.iso crash with if=virtio > > > Stack backtrace I got is The issue is not obvious to me yet but here some comments on the stack trace: > #0 0x00007f7a9e22d037 in __GI_raise (sig=sig@entry=6) > at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > #1 0x00007f7a9e230698 in __GI_abort () at abort.c:90 > #2 0x00007f7aa0a93ec8 in qemu_ram_addr_from_host_nofail ( > ptr=ptr@entry=0x2020202024008000) at /DATA/SRC/qemu-kvm/qemu/exec.c:1399 > #3 0x00007f7aa0a94a50 in address_space_unmap (as=, > buffer=0x2020202024008000, len=, is_write=, Junk buffer address. > access_len=1) at /DATA/SRC/qemu-kvm/qemu/exec.c:2155 > #4 0x00007f7aa0a94bef in cpu_physical_memory_unmap (buffer=, > len=, is_write=, access_len=) > at /DATA/SRC/qemu-kvm/qemu/exec.c:2189 > #5 0x00007f7aa0ad7867 in virtqueue_fill (vq=vq@entry=0x7f7aa34277f0, > elem=elem@entry=0x7f7aa37ca328, len=1, idx=idx@entry=0) > at /DATA/SRC/qemu-kvm/qemu/hw/virtio/virtio.c:243 Unmapping req->elem.in_sg[0] (serial number buffer). > #6 0x00007f7aa0ad79cf in virtqueue_push (vq=0x7f7aa34277f0, > elem=elem@entry=0x7f7aa37ca328, len=) > at /DATA/SRC/qemu-kvm/qemu/hw/virtio/virtio.c:279 > #7 0x00007f7aa0aa9989 in virtio_blk_req_complete ( > req=req@entry=0x7f7aa37ca320, status=status@entry=0) > at /DATA/SRC/qemu-kvm/qemu/hw/block/virtio-blk.c:49 > #8 0x00007f7aa0aa9ffb in virtio_blk_handle_request ( > req=req@entry=0x7f7aa37ca320, mrb=mrb@entry=0x7fff7a7b2060) > at /DATA/SRC/qemu-kvm/qemu/hw/block/virtio-blk.c:376 VIRTIO_BLK_T_GET_ID - the guest is querying the device's serial number. Stefan