From: Anssi Kolehmainen Subject: Re: lsi_scsi: error: Bad Status move errors with kvm-79 Date: Thu, 4 Dec 2008 18:08:35 +0200 Message-ID: <20081204160835.GB11469@aketzu.net> References: <20081204143842.GA11469@aketzu.net> <20081204152635.GG13481@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Ryan Harper Return-path: Received: from kelvin.aketzu.net ([81.22.244.161]:52564 "EHLO kelvin.aketzu.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbYLDQIh (ORCPT ); Thu, 4 Dec 2008 11:08:37 -0500 Content-Disposition: inline In-Reply-To: <20081204152635.GG13481@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 04, 2008 at 09:26:35AM -0600, Ryan Harper wrote: > * Anssi Kolehmainen [2008-12-04 08:51]: > > Hi, > > > > I have kvm environment with linux-2.6.28-rc7 x86_64 (Xeon), kvm-79 host > > and bunch of Win2K3 guests. Sometimes I get 'lsi_scsi: error: Bad Status > > move' from kvm (qemu) and in Windows event log "The device, > > \Device\Scsi\sym_hi1, did not respond within the timeout period." These > > errors come somewhat at random, usually with 10-30 second intervals when > > there is enough disk usage in the guest (seems that installing Bea > > Weblogic or Oracle database is pretty nice for causing these errors). > > > > Usually windows is able to recover from these but sometimes (=too often) > > I get random delays and hangups. Also I have gotten BSOD 0x77 (0x02, > > 0x00, 0x00, 0x5f4000) about once a day. > > > > Any ideas how to debug / fix this problem? > > Current KVM userspace has a bogus line in the scsi code relating to the > DBC register which looks like is what is tripping up the Bad Status, or > could be anyhow. Try out with this patch applied to your qemu dir: > > http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00043.html That line is not in kvm-79... And with that line added Windows doesn't even seem to start. > You can also enable debugging in qemu/hw/lsi53c895a.c and in > qemu/hw/scsi-disk.c Sending that output here would be helpful if we're > still tracking it. Nice 160mb log from just starting windows and running the installer until BSOD. Only 1.7mb with bzip2 compression: http://kelvin.aketzu.net/kvm-qemu.log.bz2 (The "error:" line isn't there since it went to stderr. This time Windows crashed so the error should be somewhere in the end.) > If you can recreate with the patch applied or on an older KVM that > doesn't have that line in there, I'll try to reproduce. kvm-79 doesn't seem to have it. > Are there free/downloadable copies of Bae or Oracle that I can use to > recreate? Yeah, they are both available for free. You can get the Bea (now Oracle) Weblogic (application server) from: http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html The version we used is "Oracle WebLogic Server 10.0 MP1" (I guess any big application which uncompresses to HD / installs lots of files might work.) -- Anssi Kolehmainen anssi.kolehmainen@iki.fi 040-5085390