[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen_blk timeout connecting to device


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Chris Bainbridge <chris.bainbridge@xxxxxxxxx>
  • Date: Wed, 5 Oct 2005 19:50:02 +0100
  • Delivery-date: Wed, 05 Oct 2005 18:47:34 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EqHKgKMYrLB9SnI7eI3WIHHwXa1oeTHiNNJW9FT07BXbISW4y0Oon34fM4MtKmnJhRD47Vg6SM7ZIaNlg9s/N475HYqyehfNZkc5wqUxp543rDRWewX/aZRjZivpPVNTadLP05rdRPJJP1Yv/PKb8lI8PNsY4vd3seBmQwuL32w=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.