All of lore.kernel.org
 help / color / mirror / Atom feed
From: philip tricca <flihp@twobit.us>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: no udev events in netback domU driver domain 2.6.32.14
Date: Wed, 14 Jul 2010 17:16:27 -0400	[thread overview]
Message-ID: <4C3E292B.4040209@twobit.us> (raw)
In-Reply-To: <20100712151322.GE5358@phenom.dumpdata.com>

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.

  reply	other threads:[~2010-07-14 21:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07  2:04 no udev events in netback domU driver domain 2.6.32.14 philip tricca
2010-07-07 13:45 ` Konrad Rzeszutek Wilk
2010-07-08 21:34   ` philip tricca
2010-07-12 15:13     ` Konrad Rzeszutek Wilk
2010-07-14 21:16       ` philip tricca [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-07-09 19:27 no udev events in netback domU driver domain, 2.6.32.14 Steven Harp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3E292B.4040209@twobit.us \
    --to=flihp@twobit.us \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.