From: Michael Holzt Subject: Another one with "Hotplug scripts not working" Date: Fri, 25 Nov 2005 01:01:16 +0100 Message-ID: <20051125000116.GA21385@fqdn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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