From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Morrissey Subject: Re: BUG() with SCSI-interfaced disk images Date: Thu, 8 Jan 2009 13:15:17 -0500 Message-ID: <20090108181517.GA29360@boost.horde.net> References: <20081226210028.GA25127@boost.horde.net> <20090107201918.GA12071@boost.horde.net> <20090107223450.GE13481@us.ibm.com> <20090108021351.GA12570@boost.horde.net> <20090108140102.GF13481@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd" Cc: kvm@vger.kernel.org To: Ryan Harper Return-path: Received: from boost.horde.net ([69.55.65.181]:34167 "EHLO boost.horde.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754463AbZAHSPT (ORCPT ); Thu, 8 Jan 2009 13:15:19 -0500 Content-Disposition: inline In-Reply-To: <20090108140102.GF13481@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 08, 2009 at 08:01:03AM -0600, Ryan Harper wrote: > I don't need the vmdk, but if there is some other repeatable process > that can trigger this for you, getting that will allow me to recreate > the issue myself. For example, installing Debian into a vmdk, reboot, > and then fsck'ing from inside the vm would trigger it. Finding some > sort of repeatable process that can trip the bug but without using any > of your specific data would be the best way to move forward with the > bug. I can reproduce this when installing Debian lenny i386 (using the lenny rc1 install images from http://www.debian.org/devel/debian-installer/). The installer will complain of I/O problems when trying to mkfs(8) the filesystem and will prompt you to retry/ignore. Shortly thereafter, the domain kernel panics. Attached is the libvirt configuration; it's pretty straightforward and translates into this kvm(1) invocation: /usr/bin/kvm -S -M pc -m 512 -smp 1 -name scsi -monitor pty -boot n \ -drive file=/var/lib/libvirt/images/scsi.qcow,if=scsi,index=0 \ -net nic,macaddr=02:00:00:4d:58:13,vlan=0,model=e1000 \ -net tap,fd=11,script=,vlan=0,ifname=vnet0 \ -net nic,macaddr=02:00:00:23:7f:3d,vlan=1,model=e1000 \ -net tap,fd=13,script=,vlan=1,ifname=vnet1 \ -serial pty -parallel none -usb -vnc 0.0.0.0:0 john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__ --vkogqOf2sHV7VnPd Content-Type: application/xml Content-Disposition: attachment; filename="scsi.xml" Content-Transfer-Encoding: quoted-printable =0A scsi=0A =0A 524288=0A 524288=0A 1=0A =0A hvm=0A =0A =0A <= features>=0A =0A =0A =0A destroy=0A restart=0A r= estart=0A =0A /usr/bin/kvm=0A =0A =0A =0A =0A <= interface type=3D'bridge'>=0A =0A =0A =0A =0A <= interface type=3D'bridge'>=0A =0A =0A =0A =0A <= serial type=3D'pty'>=0A =0A =0A =0A =0A <= source path=3D'/dev/pts/10'/>=0A =0A =0A = =0A =0A =0A=0A --vkogqOf2sHV7VnPd--