[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen_blk timeout connecting to device
On 05/10/05, Tim Durack <tdurack@xxxxxxxxx> wrote: > I have hotplug and udev installed, but am seeing the same problem. "cat /proc/sys/kernel/hotplug". /sbin/hotplug seems to work for everyone (?). /sbin/udevsend needs udev rules. The backward compatible udev rules should work, but don't. Some notes on debugging this stuff, in case anyone else has problems in /etc/udev/udev.conf add: udev_log="info" In /etc/hotplug.d/default/default.hotplug: DEBUG=yes export DEBUG In /etc/hotplug/xen-backend.agent: add "set -x" as 2nd line. You should now get debug info in either /var/log/messages or /var/log/udev (depends on syslog setup). I gave up with the hotplug stuff, and used the udev rules I posted a few days ago. If you go that route comment out this line from /etc/udev/rules.d/50-udev.rules: ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd" That will disable the backward compatible hotplug stuff which seems to be broken with respect to xen. You will now be able to see the udev events and rules in your log file, and exactly what is going on in the scripts you execute (echo to stdout will be syslogged by udev). After that it's just a matter of tying together the unhandled events with actions. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |