From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: xenbus api Date: Thu, 15 Jun 2006 16:01:51 -0500 Message-ID: <4491CABF.60709@us.ibm.com> References: <1150360202.21177.7.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1150360202.21177.7.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Fabien Hermenier Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org You have to provide more context than that. If you're domain boots at all, XenBus is working. It's likely that you're using the XenBus API (which may block) while holding a lock in the network driver and causing a nasty dead lock of some sort. Regards, Anthony Liguori Fabien Hermenier wrote: > Hello > I have a lot of problem using the xenbus api (in xen-3.0-testing). > > I had to modify the network backend driver (file netback.c), and each > call to a xenbus function in a virtual machine make my machine reboot > (not the virtual, the real machine). > > for example, I 've add this line of code (wich is useless): > printk("%d",xenbus_exists(XBT_NULL,"/local/domain/0/","domid")); > after a network packet reception. > > When I launch my virtual machine, the station reboot after the virtual > machine console log is stopped after this block: > > TCP: Hash tables configured (established 8192 bind 8192) > NET: Registered protocol family 1 > NET: Registered protocol family 17 > > What do I wrong ? Could I use the xenbus API in the backend (I have same > problem in the frontend) ? Any tips/advice would be appreciate > > Regards. > Fabien > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >