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

[Xen-devel] Another one with "Hotplug scripts not working"

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Another one with "Hotplug scripts not working"
From: Michael Holzt <kju-xen@xxxxxxxx>
Date: Fri, 25 Nov 2005 01:01:16 +0100
Delivery-date: Fri, 25 Nov 2005 00:01:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Searching the archives and web i've learned that this error has occured for
other users as well. I already did quite a bit of debugging but can't figure
out what the problem might be.

I'm running Xen unstable (changeset 8002) on an AMD64 server (rented from
1&1). I've patched the 2.6.12.6 kernel with a custom patch to get network
and disk adapter running, but i'm certain that this is not the source of
the problem.

Domain 0 is running Debian AMD64 unstable. Hotplug and udev are installed
and running. I can not get any DomU running, as i always get the famous
"Error: Device 0 (vif) could not be connected. Hotplug scripts not working".

I verified that the hotplug scripts are called by inserting a line
'logger "xen-backend xenbus_type:$XENBUS_TYPE script:$script action:$ACTION"'
to the beginning of /etc/hotplug/xen-backend.agent.

Here are the relevant logfile excerpts:

1. syslog:
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: add 
XENBUS_PATH=backend/vbd/8/2049
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: Writing 
backend/vbd/8/2049/physical-device 0xfd00 backend/vbd/8/2049/node 
/dev/vg/fast.fqdn.org.root to xenstore.
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: Writing 
backend/vbd/8/2049/hotplug-status connected to xenstore.
Nov 25 00:51:39 nereus logger: xen-backend xenbus_type:vif script: action:add
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/vif-route: online 
XENBUS_PATH=backend/vif/8/0
Nov 25 00:51:39 nereus logger: xen-backend xenbus_type:vbd script: action:add
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: add 
XENBUS_PATH=backend/vbd/8/2049
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: Writing 
backend/vbd/8/2049/physical-device 0xfd00 backend/vbd/8/2049/node 
/dev/vg/fast.fqdn.org.root to xenstore.
Nov 25 00:51:39 nereus logger: /etc/xen/scripts/block: Writing 
backend/vbd/8/2049/hotplug-status connected to xenstore. 
Nov 25 00:51:44 nereus logger: xen-backend xenbus_type:vif 
script:/etc/xen/scripts/vif-route action:online
Nov 25 00:51:44 nereus logger: /etc/xen/scripts/vif-route: online 
XENBUS_PATH=backend/vif/8/0

2. xend.log:
[2005-11-25 00:51:39 xend] DEBUG (DevController:88) Waiting for devices vif.
[2005-11-25 00:51:39 xend] DEBUG (DevController:94) Waiting for 0.
[2005-11-25 00:51:39 xend] DEBUG (DevController:361) hotplugStatusCallback 
/local/domain/0/backend/vif/8/0/hotplug-status.
[2005-11-25 00:51:44 xend] ERROR (SrvBase:87) Request wait_for_devices failed.

Any help appreciated. I'm a developer with Debian, so i can also do some
more debugging if you point me to locations to check. Thank you.

Regards
Michael

-- 
      It's an insane world, but i'm proud to be a part of it. -- Bill Hicks

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Another one with "Hotplug scripts not working", Michael Holzt <=