xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* no udev events in netback domU driver domain 2.6.32.14
@ 2010-07-07  2:04 philip tricca
  2010-07-07 13:45 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 6+ messages in thread
From: philip tricca @ 2010-07-07  2:04 UTC (permalink / raw)
  To: xen-devel

I've spent a bit trying to configure and unprivileged network driver 
domain using the current 2.6.32.14 pvops kernel (haven't up'd to .15 due 
to incompatibility with 4.0.0 release).  I've been partially successful 
but am failing in what I'd think would be the last step: getting udev 
rules to fire when attaching network devices using xen-netback & 
xen-netfront drivers.  From my reading of the pvops wiki page there's a 
possibility that the wiring between the drivers and the udev events may 
not have been forward ported completely.  In fact, using 'udevadm 
monitor' I don't see any events at all when the vif is created in the 
driver domain and when eth0 is created in the client (both are created 
when xm network-attach is run).

Is anyone familiar enough with these portions of the driver to comment 
on this?  If this "should" be working I can post the details of my setup 
and debug information if necessary but I don't want to flood the list 
with a huge email if it isn't necessary.

TIA,
- Philip

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: no udev events in netback domU driver domain, 2.6.32.14
@ 2010-07-09 19:27 Steven Harp
  0 siblings, 0 replies; 6+ messages in thread
From: Steven Harp @ 2010-07-09 19:27 UTC (permalink / raw)
  To: flihp; +Cc: xen-devel

> I am now getting the right udev events (the same ones Konrad shows) in 
> both my driver domain and in the client.  The problem I am still having 
> is related to the xenstore.
> 
> The network scripts run by udev access data in the xen store and use 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).
> 
> Even with the xenstored daemon running though I (and the networking 
> scripts) still can't access then xenstore.
> 
> I'm making progress but I could use a hint if someone's got one.

Possibly not related, but I have seen it hang in a similar place.
It turned out that my driver domain had failed to prepare a /var/log/xen
(where the scripts want to log errors).

Adding this did the trick here.

// Steve Harp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-14 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).