Andreas Jellinghaus
2006-Mar-22 20:02 UTC
[Xen-users] xen not generating hotplug/udev events?
I''m using kubuntu dapper, so /proc/sys/kernel/hotplug is disabled, and instead udevd is running to get events from kernel and do what is necessary. in my first steps with xen (unstable), I get this error: root@nandemonai:~# xm create myxm Using config file "/etc/xen/myxm". Error: Device 2049 (vbd) could not be connected. Hotplug scripts not working. root@nandemonai:~# udevmonitor does not show any event happening, so I guess there are none. is some special kernel option needed? CONFIG_KOBJECTS_UEVENT does no longer exist in linux kernel, so I guess it is compiled in always. any idea what is wrong? the kernel is compiled with CONFIG_HOTPLUG of course (both xen0 and xenU). what else is missing? Thanks, Andreas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Kröger
2006-Mar-22 22:43 UTC
Re: [Xen-users] xen not generating hotplug/udev events?
Hi Andreas,> udevmonitor does not show any event happening, so I guess > there are none. is some special kernel option needed? > CONFIG_KOBJECTS_UEVENT does no longer exist in linux kernel, so I > guess it is compiled in always. >I had problems with hotplug/udev either. One reason was that the file xen-backendagent.rules was not copied to /etc/udev/rules.d. The installation script/Makefile didn''t copied it. So just copy it manually. A second reason was the main network interface had the name "eth1", but the XEN scripts in /etc/xen/scripts are bound to "eth0". Gruß boris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Jellinghaus
2006-Mar-23 08:20 UTC
[Xen-users] Re: xen not generating hotplug/udev events?
Boris Kröger wrote:> I had problems with hotplug/udev either. > One reason was that the file xen-backendagent.rules was not copied to > /etc/udev/rules.d.found it. it was linked into rules.d/, but the order is important. if it is named "xen-backendagent.rules" it does not work. but if I rename the link to "92-xen-backendagent.rules", it does. also my own network custom scripts did not work. switching to the route version it works fine. Andreas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe Matching Threads
- intermittent domU issue: related to udev?
- RE: Hotplug scripts not working... xen/ia64 domU stoppedworking
- Device 0 (vif) could not be connected. Hotplug scripts not working.
- Xen 3.1 Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
- Advice Partner PRPC650 - no serial device