WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] RE: blue screen in windows balloon driver

To: "MaoXiaoyun" <tinnycloud@xxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2011 23:48:04 +1100
Cc: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Mar 2011 04:49:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01C55ACC@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BLU157-w6407B20CA375D42DAB1348DADC0@xxxxxxx><AEC6C66638C05B468B556EA548C1A77D01C559AC@trantor><BLU157-w56096891695C107FBB1243DADE0@xxxxxxx><BLU157-w3689F78415A43CC5997DD7DADE0@xxxxxxx><BLU157-w7B83FF68CB4CEE8B140C6DADE0@xxxxxxx><AEC6C66638C05B468B556EA548C1A77D01C55A4E@trantor><BLU157-w38E9B522F8710956C4992ADAC10@xxxxxxx>, <BE58E0A1-AE23-4274-9644-24DB8456512D@xxxxxxxxxxxxxxxx><BLU157-w9D31FCDD666C6D7BD73CEDAC10@xxxxxxx>, <AEC6C66638C05B468B556EA548C1A77D01C55AC7@trantor><BLU157-w655070D9CFE092D78C011DDAC10@xxxxxxx>, <AEC6C66638C05B468B556EA548C1A77D01C55ACA@trantor><BLU157-w172C0AC95FCE2C2B836BDBDAC10@xxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01C55ACC@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvYDQkRWlVOpbA4TMagyA3yASC4uwAAAnsgAABFZRA=
Thread-topic: [Xen-devel] RE: blue screen in windows balloon driver
I've pushed a possible fix for the reset code for Windows 2000, XP and
2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet.

I'll see what I can do tomorrow to actually test a scsi reset but I
can't reproduce the problem you are seeing on my system. You'll still
see the reset messages in the logs which I think simply indicates that
your system is too loaded to complete the requests in time and Windows
thinks the scsi bus is hung, but this way it might pick itself up again
afterwards. On the other hand it may be that too many timeouts and
resets will cause windows to throw its hands in the air and give up and
declare the scsi device offline, in which case there might not be much
we can do.

James

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
> Sent: Tuesday, 1 March 2011 23:36
> To: MaoXiaoyun
> Cc: xen devel
> Subject: [Xen-devel] RE: blue screen in windows balloon driver
> 
> Hold off on testing. I'm fixing up the reset code so that it does what
> Windows wants. I'll post something soon if it doesn't take too long.
> 
> James
> 
> > -----Original Message-----
> > From: MaoXiaoyun [mailto:tinnycloud@xxxxxxxxxxx]
> > Sent: Tuesday, 1 March 2011 23:34
> > To: James Harper
> > Cc: xen devel
> > Subject: RE: blue screen in windows balloon driver
> >
> > I will have new driver tested.
> > Attached is the xentop snapshot.
> >
> > thanks.
> >
> > > Subject: RE: blue screen in windows balloon driver
> > > Date: Tue, 1 Mar 2011 23:11:14 +1100
> > > From: james.harper@xxxxxxxxxxxxxxxx
> > > To: tinnycloud@xxxxxxxxxxx
> > >
> > > >
> > > > exe attached, thanks.
> > > >
> > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus*
> event.
> > > > 24 VMS, so
> > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l
> > > >
> > > > machine 25: VM easily got crash, the sum is 200
> > > > machine 23: VM never got crash, the sum is 10
> > > > machine 212: VM never got crash, the sum is 16
> > > >
> > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus
event
> > > > than other two machines.
> > > >
> > > > BTW, when start 24VM concurrently, the starting process is quite
> slow,
> > > takes
> > > > about 20 minutes more to whole started.
> > > >
> > > > I commented line 505 in xenpci_pdo.c to avoid timed out.
> > > >
> > > > 505 //remaining -= thiswait;
> > > >
> > >
> > > It sounds like you are overloading your disk IO bandwidth. With
many
> > > DomU's swapping heavily, Dom0 may simply not be able to keep up
with
> the
> > > IO throughput required resulting in windows thinking that the scsi
> > > device isn't responding. Can you check xentop and see what sort of
> IO
> > > operations per second you are getting?
> > >
> > > I have just pushed a change to dump out the in-flight scsi
requests
> > > (srb) when HwScsiResetBus is called. Please apply the patch and
send
> me
> > > the next crash.
> > >
> > > Thanks
> > >
> > > James
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>