All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Morrissey <jwm@horde.net>
To: Ryan Harper <ryanh@us.ibm.com>
Cc: kvm@vger.kernel.org
Subject: Re: BUG() with SCSI-interfaced disk images
Date: Thu, 8 Jan 2009 13:15:17 -0500	[thread overview]
Message-ID: <20090108181517.GA29360@boost.horde.net> (raw)
In-Reply-To: <20090108140102.GF13481@us.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

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/    __(_)/_(_)________/    \_______(_) /_(_)__

[-- Attachment #2: scsi.xml --]
[-- Type: application/xml, Size: 1150 bytes --]

  reply	other threads:[~2009-01-08 18:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-26 21:00 BUG() with SCSI-interfaced disk images John Morrissey
2009-01-07 20:19 ` John Morrissey
2009-01-07 22:34   ` Ryan Harper
2009-01-08  2:13     ` John Morrissey
2009-01-08 14:01       ` Ryan Harper
2009-01-08 18:15         ` John Morrissey [this message]
2009-01-08 19:24 ` qcow2 corruption? John Morrissey
2009-01-08 20:10   ` Ryan Harper
2009-01-08 20:16     ` John Morrissey
2009-01-08 20:33   ` Anthony Liguori
2009-01-09  3:42     ` John Morrissey
2009-01-09 13:34       ` Ryan Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090108181517.GA29360@boost.horde.net \
    --to=jwm@horde.net \
    --cc=kvm@vger.kernel.org \
    --cc=ryanh@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.