From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUluG-0001ez-RN for qemu-devel@nongnu.org; Tue, 12 Jan 2010 13:55:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUluC-0001Z8-97 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 13:55:56 -0500 Received: from [199.232.76.173] (port=48173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUluB-0001Yl-PQ for qemu-devel@nongnu.org; Tue, 12 Jan 2010 13:55:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12586) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUluB-0007UA-5Q for qemu-devel@nongnu.org; Tue, 12 Jan 2010 13:55:51 -0500 Date: Tue, 12 Jan 2010 20:52:51 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] [PATCHv7 3/3] virtio: add features as qdev properties Message-ID: <20100112185251.GB3170@redhat.com> References: <20100110115253.GD27013@redhat.com> <20100112180927.GA1510@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100112180927.GA1510@lst.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: qemu-devel@nongnu.org, kraxel@redhat.com On Tue, Jan 12, 2010 at 07:09:27PM +0100, Christoph Hellwig wrote: > This patch causes 100% reproducible boot panics in a Linux guest using > virtio. > > My qemu command line is: > > /opt/qemu/bin/qemu-system-x86_64 \ > -m 1500 \ > -enable-kvm \ > -drive file=/dev/vg00/qemu-root,if=virtio,media=disk,cache=none,aio=threads \ > -kernel arch/x86/boot/bzImage \ > -append "root=/dev/vda console=tty0 console=ttyS0,38400n8" \ > -nographic > > and the guest dmesg is: > > [ 2.578083] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI > 10 (level, high) -> IRQ 10 > [ 2.583111] blk_queue_max_segment_size: set to minimum 4096 > [ 2.584651] vda: > [ 2.585075] BUG: unable to handle kernel NULL pointer dereference at (null) Um, I see this too. Debugging. -- MST