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] Why I cannot reconnect blk backend

To: "Wayne Gong" <wayne.gong@xxxxxxxxxx>
Subject: RE: [Xen-devel] Why I cannot reconnect blk backend
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 09:27:51 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Nov 2008 14:28:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49242404.7020005@xxxxxxxxxx>
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: <4923DF31.5010703@xxxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D0154FC39@trantor> <49242404.7020005@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclKVEEr0w/EnduSRaqplXs+7YsA8wAQbMbw
Thread-topic: [Xen-devel] Why I cannot reconnect blk backend
> And I from your code in xenpci_pdo.c as follow:
> 
>     if (XenPci_ChangeFrontendState(xppdd, XenbusStateConnected,
> XenbusStateConnected, 30000) != STATUS_SUCCESS)
>     {
>       // this is definitely an unrecoverable situation...
>       KdPrint((__DRIVER_NAME "     Failed to change frontend state to
> connected\n"));
>       FUNCTION_ERROR_EXIT();
>       return STATUS_UNSUCCESSFUL;
>     }
> 
> I think I got this situation. How did you avoid that?
> 

Wayne,

All I can suggest is that your turn on the logging in xenstore and watch
what happens - looking for differences between what happens then xenvbd
first starts up and when it resumes.

James

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