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] no udev events in netback domU driver domain 2.6.32.14

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] no udev events in netback domU driver domain 2.6.32.14
From: philip tricca <flihp@xxxxxxxxx>
Date: Wed, 14 Jul 2010 17:16:27 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Jul 2010 14:26:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100712151322.GE5358@xxxxxxxxxxxxxxxxxxx>
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: <4C33E093.7090301@xxxxxxxxx> <20100707134505.GC4823@xxxxxxxxxxxxxxxxxxx> <4C36445C.3040907@xxxxxxxxx> <20100712151322.GE5358@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)
Konrad Rzeszutek Wilk wrote:
it to return status information to dom0:
/local/domain/X/backend/vif/Y/Z/hotplug-status
The xenstore is completely inaccessible from my driver domain
however. I've installed the xenstored daemon in the driver domain
which requires running it with the --no-domain-init option to keep
it from trying to execute privileged operations (it's not dom0).

You should be able to read it? At least for your domain entry?
Even with the xenstored daemon running though I (and the networking
scripts) still can't access then xenstore.

Well, you can't access all of it b/c there is an ownership of the
/local/domain/0 being under Dom0. Not under DomU. AFAICT the backends
use those entries (for example, netback detects via watches that
somebody wrote in /local/domain/0/backend/vif and calls its .probe
function), they will interogate the XenStore and then create udev events
which are fired off to userspace.

The problem I was having (past tense since I've figured it out) was a number of small things going wrong at the same time. The udev events weren't the problem it was figuring out what tools needed to be installed in the driver domain, what modules needed to be loaded, as well as some debugging in the vif scripts.

Thanks for your input Konrad. I'll be adding a few notes to the xen wiki page for driver domains.

Cheers,
- Philip

--
Ruin is the destination toward which all men rush,
each pursuing his own best interest.

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

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