WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Hotplug scripts not working... xen/ia64 domU stoppedwork

To: "Dave Thompson (davetho)" <davetho@xxxxxxxxx>
Subject: Re: [Xen-devel] Hotplug scripts not working... xen/ia64 domU stoppedworking
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 15:15:41 +0000
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Dec 2005 15:16:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5440A5A36B8CED4B9F54524343CB6B68F5FE4E@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5440A5A36B8CED4B9F54524343CB6B68F5FE4E@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Dec 06, 2005 at 09:51:24AM -0500, Dave Thompson (davetho) wrote:

> UEVENT[1133877953] add@/devices/xen-backend/vbd-4-2049
> UEVENT[1133877953] add@/devices/xen-backend/vif-4-0
> UEVENT[1133877953] add@/class/net/vif4.0
> UEVENT[1133877953] online@/devices/xen-backend/vif-4-0
> UDEV  [1133877956] add@/devices/xen-backend/vbd-4-2049
> 
> Here is the output when the vbd failed:
> 
> UEVENT[1133880108] add@/devices/xen-backend/vbd-5-2049
> UEVENT[1133880108] add@/devices/xen-backend/vif-5-0
> UEVENT[1133880108] add@/class/net/vif5.0
> UEVENT[1133880108] online@/devices/xen-backend/vif-5-0
> UDEV  [1133880111] add@/devices/xen-backend/vif-5-0
> UDEV  [1133880111] online@/devices/xen-backend/vif-5-0
> UDEV  [1133880116] add@/class/net/vif5.0

Well this suggests that udevd is simply throwing away the vbd event!  I don't
suppose there's any indication in your syslog as to why it might be doing
this?  That is a bit strange.  Our driver triggers the event correctly, as you
can see from the first line, but udev then simply doesn't pass it on.

Could you try udevmonitor --env and we'll see if there's anything odd in the
environment that might be doing this.  Otherwise, the only other configurable
part is the udev rules.  Perhaps there's something odd about them that it
doesn't like, though it works some of the time, so that would surprise me.

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel