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] [PATCH] Improve xenbus timeout error message

To: Mark McLoughlin <markmc@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Improve xenbus timeout error message
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 30 Jun 2006 16:44:33 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Jun 2006 08:48:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1151681386.6184.60.camel@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1151681386.6184.60.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Jun 30, 2006 at 04:29:45PM +0100, Mark McLoughlin wrote:

> Hi,
>       With latest fedora, we're seeing:
> 
>   XENBUS: Timeout connecting to devices!
> 
>       Attached is a patch to make it a little bit more useful:
> 
>   XENBUS: Timeout connecting to device: device/vif/0
> 
>       The problem is that the timeout occurs before the xennet module can
> ever be loaded, which is to be expected. Anything that can be done to
> avoid the timeout in this case?

The timeout is there to ensure that the boot does not proceed until all the
devices needed during boot are available.  In this case, since it's a vif, if
you were using an NFS root then your boot would presumably fail.

If you need to improve this, you will have to have some way to tell the tools
"these devices I need for boot, these I don't", and then have the tools put a
flag in the store so that Xenbus knows that it doesn't need to wait for them.

Cheers,

Ewan.


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