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 21:25:40 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Nov 2008 02:26:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4924FC2A.5030903@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><AEC6C66638C05B468B556EA548C1A77D0154FC46@trantor> <4924FC2A.5030903@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclK1Qt4yzFqvSzNRj+ZIMmoaDxwagAJS+yA
Thread-topic: [Xen-devel] Why I cannot reconnect blk backend
> 
> > 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.
> blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
> assuming native)
> vbd vbd-3-768: 1 mapping ring-ref 335 port 5
> blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
> assuming native)
> vbd vbd-3-768: 1 mapping ring-ref 335 port 5
> blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
> assuming native)
> vbd vbd-3-768: 1 mapping ring-ref 335 port 5
> 
> What's this mean?
> I guess when vbd device resume, I use a mapped ring-ref to initialize
> device. When vbd device resume, I allocate some new memory and call
> SHARED_RING_INIT to init them and then save the ring-ref to xenstore.
> After that, xenstore pops a warning as above. How can I release that
> ring-ref when suspend vbd device, or how to reallocate a new ring-ref
> for vbd device?
> 

Not sure what that means, but that's not the logging I was referring to.
Did you follow the instructions in my previous email?

James

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