xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* recursive error in xen-hotplug-common.sh
@ 2010-12-15 19:30 Olaf Hering
  2010-12-16 10:38 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2010-12-15 19:30 UTC (permalink / raw)
  To: xen-devel


Current xen-unstable does not have backend/vbd/1/768/params for some
reason.  This causes xenstore_read() in xen-hotplug-common.sh to call
fatal().  fatal() calls xenstore_write(). If xenstore-write happens to
fail, fatal() is called once again. Now the block script is busy.

I have added the set -x output, preceded by the env and set output:

SUBSYSTEM=xen-backend
XENBUS_TYPE=vbd
DEVPATH=/devices/xen-backend/vbd-1-768
ACTION=add
PWD=/
UDEV_LOG=3
XENBUS_PATH=backend/vbd/1/768
UDEVD_EVENT=1
XENBUS_BASE_PATH=backend
SHLVL=1
SEQNUM=1478
_=/usr/bin/env

ACTION=add
BASH=/bin/bash
BASH_ARGC=([0]="1")
BASH_ARGV=([0]="add")
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/etc/xen/scripts/block")
BASH_VERSINFO=([0]="3" [1]="2" [2]="51" [3]="1" [4]="release" [5]="x86_64-suse-linux-gnu")
BASH_VERSION='3.2.51(1)-release'
DEVPATH=/devices/xen-backend/vbd-1-768
DIRSTACK=()
EUID=0
GROUPS=()
HOSTNAME=stein-schneider
HOSTTYPE=x86_64
IFS=$' \t\n'
MACHTYPE=x86_64-suse-linux-gnu
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.
PIPESTATUS=([0]="0")
PPID=5717
PS4='+ '
PWD=/
SEQNUM=1478
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SUBSYSTEM=xen-backend
TERM=dumb
UDEVD_EVENT=1
UDEV_LOG=3
UID=0
XENBUS_BASE_PATH=backend
XENBUS_PATH=backend/vbd/1/768
XENBUS_TYPE=vbd
_=echo

++ dirname /etc/xen/scripts/block
+ dir=/etc/xen/scripts
+ . /etc/xen/scripts/block-common.sh
+++ dirname /etc/xen/scripts/block
++ dir=/etc/xen/scripts
++ . /etc/xen/scripts/xen-hotplug-common.sh
++++ dirname /etc/xen/scripts/block
+++ dir=/etc/xen/scripts
+++ . /etc/xen/scripts/hotplugpath.sh
++++ SBINDIR=/usr/sbin
++++ BINDIR=/usr/bin
++++ LIBEXEC=/usr/lib/xen/bin
++++ LIBDIR=/usr/lib64
++++ SHAREDIR=/usr/share
++++ PRIVATE_BINDIR=/usr/lib64/xen/bin
++++ XENFIRMWAREDIR=/usr/lib/xen/boot
++++ XEN_CONFIG_DIR=/etc/xen
++++ XEN_SCRIPT_DIR=/etc/xen/scripts
++++ XEN_LOCK_DIR=/var/lock
+++ . /etc/xen/scripts/logging.sh
+++ . /etc/xen/scripts/xen-script-common.sh
++++ set -e
+++ . /etc/xen/scripts/locking.sh
++++ LOCK_SLEEPTIME=1
++++ LOCK_SPINNING_RETRIES=5
++++ LOCK_RETRIES=100
++++ LOCK_BASEDIR=/var/run/xen-hotplug
+++ export PATH=/usr/bin:/usr/sbin:/usr/lib/xen/bin:/usr/lib64/xen/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.
+++ PATH=/usr/bin:/usr/sbin:/usr/lib/xen/bin:/usr/lib64/xen/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.
+++ export LANG=POSIX
+++ LANG=POSIX
++++ set
++++ grep '^LC_'
++++ cut -d= -f1
+++ unset
+++ trap sigerr ERR
+++ log debug add XENBUS_PATH=backend/vbd/1/768
+++ local level=debug
+++ shift
+++ logger -p daemon.debug -- /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/1/768
++ findCommand add
++ for arg in '"$@"'
++ expr index add =
++ command=add
++ return
++ '[' add '!=' add ']'
++ XENBUS_PATH=backend/vbd/1/768
++ xenstore_read_default backend/vbd/1/768/type MISSING
++ xenstore-read backend/vbd/1/768/type
++ echo MISSING
+ t=MISSING
+ case "$command" in
++ xenstore_read_default backend/vbd/1/768/physical-device MISSING
++ xenstore-read backend/vbd/1/768/physical-device
++ echo MISSING
+ phys=MISSING
+ '[' MISSING '!=' MISSING ']'
+ '[' -n MISSING ']'
++ xenstore_read backend/vbd/1/768/params
+++ xenstore-read backend/vbd/1/768/params
xenstore-read: couldn't read path backend/vbd/1/768/params
+++ true
++ local v=
++ '[' '' '!=' '' ']'
++ fatal 'xenstore-read backend/vbd/1/768/params failed.'
++ xenstore_write backend/vbd/1/768/hotplug-error 'xenstore-read backend/vbd/1/768/params failed.' backend/vbd/1/768/hotplug-status error
++ log debug 'Writing backend/vbd/1/768/hotplug-error' 'xenstore-read backend/vbd/1/768/params failed.' backend/vbd/1/768/hotplug-status 'error to xenstore.'
++ local level=debug
++ shift
++ logger -p daemon.debug -- /etc/xen/scripts/block: 'Writing backend/vbd/1/768/hotplug-error' 'xenstore-read backend/vbd/1/768/params failed.' backend/vbd/1/768/hotplug-status 'error to xenstore.'
++ xenstore-write backend/vbd/1/768/hotplug-error 'xenstore-read backend/vbd/1/768/params failed.' backend/vbd/1/768/hotplug-status error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
++ fatal 'Writing backend/vbd/1/768/hotplug-error' 'xenstore-read backend/vbd/1/768/params failed.' backend/vbd/1/768/hotplug-status 'error to xenstore failed.'
++ xenstore_write backend/vbd/1/768/hotplug-error 'Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status error
++ log debug 'Writing backend/vbd/1/768/hotplug-error' 'Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status 'error to xenstore.'
++ local level=debug
++ shift
++ logger -p daemon.debug -- /etc/xen/scripts/block: 'Writing backend/vbd/1/768/hotplug-error' 'Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status 'error to xenstore.'
++ xenstore-write backend/vbd/1/768/hotplug-error 'Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
++ fatal 'Writing backend/vbd/1/768/hotplug-error' 'Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status 'error to xenstore failed.'
++ xenstore_write backend/vbd/1/768/hotplug-error 'Writing backend/vbd/1/768/hotplug-error Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status error
++ log debug 'Writing backend/vbd/1/768/hotplug-error' 'Writing backend/vbd/1/768/hotplug-error Writing backend/vbd/1/768/hotplug-error xenstore-read backend/vbd/1/768/params failed. backend/vbd/1/768/hotplug-status error to xenstore failed. backend/vbd/1/768/hotplug-status error to xenstore failed.' backend/vbd/1/768/hotplug-status 'error to xenstore.'
++ local level=debug
....



Olaf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: recursive error in xen-hotplug-common.sh
  2010-12-15 19:30 recursive error in xen-hotplug-common.sh Olaf Hering
@ 2010-12-16 10:38 ` Ian Campbell
  2010-12-16 11:17   ` Olaf Hering
  2010-12-16 17:58   ` Ian Jackson
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Campbell @ 2010-12-16 10:38 UTC (permalink / raw)
  To: Olaf Hering; +Cc: xen-devel@lists.xensource.com

On Wed, 2010-12-15 at 19:30 +0000, Olaf Hering wrote:
> Current xen-unstable does not have backend/vbd/1/768/params for some
> reason.  This causes xenstore_read() in xen-hotplug-common.sh to call
> fatal().  fatal() calls xenstore_write(). If xenstore-write happens to
> fail, fatal() is called once again. Now the block script is busy.
> 
> I have added the set -x output, preceded by the env and set output:


Presumably something like this helps?

diff -r 0236d8adb081 tools/hotplug/Linux/xen-hotplug-common.sh
--- a/tools/hotplug/Linux/xen-hotplug-common.sh	Thu Dec 16 09:33:54 2010 +0000
+++ b/tools/hotplug/Linux/xen-hotplug-common.sh	Thu Dec 16 10:06:38 2010 +0000
@@ -29,8 +29,8 @@ unset $(set | grep ^LC_ | cut -d= -f1)
 unset $(set | grep ^LC_ | cut -d= -f1)
 
 fatal() {
-  xenstore_write "$XENBUS_PATH/hotplug-error" "$*" \
-                 "$XENBUS_PATH/hotplug-status" error
+  _xenstore_write "$XENBUS_PATH/hotplug-error" "$*" \
+                  "$XENBUS_PATH/hotplug-status" error
   log err "$@"
   exit 1
 }
@@ -80,15 +80,23 @@ xenstore_read_default() {
 
 
 ##
+# _xenstore_write (<path> <value>)+
+#
+# Write each of the key/value pairs to the store.
+#
+_xenstore_write() {
+  log debug "Writing $@ to xenstore."
+  xenstore-write "$@"
+}
+
+##
 # xenstore_write (<path> <value>)+
 #
 # Write each of the key/value pairs to the store, and exit this script if any
 # such writing fails.
 #
 xenstore_write() {
-  log debug "Writing $@ to xenstore."
-  xenstore-write "$@" || fatal "Writing $@ to xenstore failed."
+  _xenstore_write "$@" || fatal "Writing $@ to xenstore failed."
 }
 
-
 log debug "$@" "XENBUS_PATH=$XENBUS_PATH"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: recursive error in xen-hotplug-common.sh
  2010-12-16 10:38 ` Ian Campbell
@ 2010-12-16 11:17   ` Olaf Hering
  2010-12-16 17:58   ` Ian Jackson
  1 sibling, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2010-12-16 11:17 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 2568 bytes --]

On Thu, Dec 16, Ian Campbell wrote:

> On Wed, 2010-12-15 at 19:30 +0000, Olaf Hering wrote:
> > Current xen-unstable does not have backend/vbd/1/768/params for some
> > reason.  This causes xenstore_read() in xen-hotplug-common.sh to call
> > fatal().  fatal() calls xenstore_write(). If xenstore-write happens to
> > fail, fatal() is called once again. Now the block script is busy.
> > 
> > I have added the set -x output, preceded by the env and set output:
> 
> 
> Presumably something like this helps?

Yes, this helps for the very long lines.
Thanks.

There is still some loop, I will debug it after lunch.
The xenstore-ls output is attached for reference.

Olaf


...

xenstore-read: xenstore-read: couldn't read path backend/vbd/1/832/params
xenstore-read: couldn't read path backend/vbd/1/5632/params
couldn't read path backend/vbd/1/768/params
RTNETLINK answers: Operation not supported
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: xenstore-write: could not write path backend/vbd/1/5632/hotplug-errorcould not write path backend/vbd/1/768/hotplug-error

xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
could not write path backend/vbd/1/768/hotplug-error
xenstore-write: could not write path backend/vbd/1/832/hotplug-error
xenstore-write: could not write path backend/vbd/1/5632/hotplug-error
xenstore-write: could not write path backend/vbd/1/768/hotplug-error

....

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 10801 bytes --]

tool = ""
 xenstored = ""
vm = ""
 00000000-0000-0000-0000-000000000000 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel ) (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
  memory = "2957"
 00000000-0000-0000-0000-000000000000-1 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
  memory = "2997"
 00000000-0000-0000-0000-000000000000-2 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
  memory = "2997"
 00000000-0000-0000-0000-000000000000-3 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
  memory = "2997"
 00000000-0000-0000-0000-000000000000-4 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
 00000000-0000-0000-0000-000000000000-5 = ""
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "0"
  uuid = "00000000-0000-0000-0000-000000000000"
  on_reboot = "restart"
  image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))"
   ostype = "linux"
   kernel = ""
   cmdline = ""
   ramdisk = ""
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "restart"
  xend = ""
   restart_count = "0"
  vcpus = "8"
  vcpu_avail = "255"
  bootloader = ""
  name = "Domain-0"
  memory = "2997"
 62ba4b92-ec90-dbd7-a346-c3d96402847c = ""
  image = "(hvm (kernel '') (superpages 0) (videoram 4) (hpet 0) (stdvga 0) \..."
   ostype = "hvm"
   kernel = ""
   cmdline = ""
   ramdisk = ""
   dmargs = "-domain-name sles11_1 -videoram 4 -k de -vnc 127.0.0.1:0 -vncun\..."
   device-model = "/usr/lib/xen/bin/qemu-dm"
   display = "localhost:10.0"
  rtc = ""
   timeoffset = "0"
  device = ""
   vfb = ""
    0 = ""
     frontend = "/local/domain/1/device/vfb/0"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/vfb/1/0"
   vbd = ""
    768 = ""
     frontend = "/local/domain/1/device/vbd/768"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/vbd/1/768"
    832 = ""
     frontend = "/local/domain/1/device/vbd/832"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/vbd/1/832"
    5632 = ""
     frontend = "/local/domain/1/device/vbd/5632"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/vbd/1/5632"
   vif = ""
    0 = ""
     frontend = "/local/domain/1/device/vif/0"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/vif/1/0"
   console = ""
    0 = ""
     frontend = "/local/domain/1/device/console/0"
     frontend-id = "1"
     backend-id = "0"
     backend = "/local/domain/0/backend/console/1/0"
  on_xend_stop = "ignore"
  pool_name = "Pool-0"
  shadow_memory = "9"
  uuid = "62ba4b92-ec90-dbd7-a346-c3d96402847c"
  on_reboot = "restart"
  start_time = "1292497722.07"
  on_poweroff = "destroy"
  bootloader_args = ""
  on_xend_start = "ignore"
  on_crash = "coredump-destroy"
  xend = ""
   restart_count = "0"
  vcpus = "1"
  vcpu_avail = "1"
  bootloader = ""
  name = "sles11_1"
local = ""
 domain = ""
  0 = ""
   vm = "/vm/00000000-0000-0000-0000-000000000000-5"
   device = ""
   control = ""
    platform-feature-multiprocessor-suspend = "1"
   error = ""
   memory = ""
    target = "3068928"
   guest = ""
   hvmpv = ""
   data = ""
   cpu = ""
    1 = ""
     availability = "online"
    3 = ""
     availability = "online"
    2 = ""
     availability = "online"
    7 = ""
     availability = "online"
    0 = ""
     availability = "online"
    5 = ""
     availability = "online"
    6 = ""
     availability = "online"
    4 = ""
     availability = "online"
   description = ""
   console = ""
    limit = "1048576"
    type = "xenconsoled"
   domid = "0"
   name = "Domain-0"
   xenpaging = ""
    Domain-0 = ""
     xenpaging_delay = "0.0"
     xenpaging_delay_inc = "0.1"
     xenpaging_delay_use = "5"
     xenpaging_delay_used = "0"
    sles11_1 = ""
     xenpaging_delay = "0.000000"
     xenpaging_delay_inc = "0.1"
     xenpaging_delay_use = "5"
     xenpaging_delay_used = "1"
   device-model = ""
    1 = ""
     disable_pf = "0"
     state = "running"
   backend = ""
    vfb = ""
     1 = ""
      0 = ""
       vncunused = "1"
       domain = "sles11_1"
       vnc = "1"
       uuid = "ad03a5f0-61a8-1746-7e25-792e61df6b9f"
       frontend = "/local/domain/1/device/vfb/0"
       state = "1"
       keymap = "de"
       online = "1"
       frontend-id = "1"
       location = "127.0.0.1:5900"
    vbd = ""
     1 = ""
      768 = ""
       domain = "sles11_1"
       frontend = "/local/domain/1/device/vbd/768"
       uuid = "532d47ed-b7a0-c581-37a4-c88288259100"
       bootable = "1"
       dev = "hda"
       state = "2"
       params = "/olaf_xenimages/vdisk-sles11_1-disk0"
       mode = "w"
       online = "1"
       frontend-id = "1"
       type = "file"
      832 = ""
       domain = "sles11_1"
       frontend = "/local/domain/1/device/vbd/832"
       uuid = "2970dae7-9db5-7c67-7442-da9d219b3185"
       bootable = "0"
       dev = "hdb"
       state = "2"
       params = "/olaf_xenimages/vdisk-sles11_1-disk1"
       mode = "w"
       online = "1"
       frontend-id = "1"
       type = "file"
      5632 = ""
       domain = "sles11_1"
       frontend = "/local/domain/1/device/vbd/5632"
       uuid = "5651678d-26ed-d585-0955-b18bd973976a"
       bootable = "0"
       dev = "hdc"
       state = "2"
       params = "/olaf_xenimages/bootiso-xenpaging-sles11_1.iso"
       mode = "r"
       online = "1"
       frontend-id = "1"
       type = "file"
    vif = ""
     1 = ""
      0 = ""
       bridge = "br0"
       domain = "sles11_1"
       handle = "0"
       uuid = "907a1c0c-0818-1221-5b28-8f2ec01f1510"
       script = "/etc/xen/scripts/vif-bridge"
       state = "6"
       frontend = "/local/domain/1/device/vif/0"
       mac = "00:e0:f4:08:15:01"
       online = "0"
       frontend-id = "1"
       model = "rtl8139"
       type = "netfront"
       feature-sg = "1"
       feature-gso-tcpv4 = "1"
       feature-rx-copy = "1"
       feature-rx-flip = "0"
    console = ""
     1 = ""
      0 = ""
       domain = "sles11_1"
       protocol = "vt100"
       uuid = "ed7e3af4-6f63-45b8-c203-41908237f409"
       frontend = "/local/domain/1/device/console/0"
       state = "2"
       location = "3"
       online = "1"
       frontend-id = "1"
       hotplug-status = "connected"
  1 = ""
   vm = "/vm/62ba4b92-ec90-dbd7-a346-c3d96402847c"
   device = ""
    vfb = ""
     0 = ""
      state = "1"
      backend-id = "0"
      backend = "/local/domain/0/backend/vfb/1/0"
    vbd = ""
     768 = ""
      backend-id = "0"
      virtual-device = "768"
      device-type = "disk"
      state = "3"
      backend = "/local/domain/0/backend/vbd/1/768"
      ring-ref = "8"
      event-channel = "6"
      protocol = "x86_64-abi"
     832 = ""
      backend-id = "0"
      virtual-device = "832"
      device-type = "disk"
      state = "3"
      backend = "/local/domain/0/backend/vbd/1/832"
      ring-ref = "9"
      event-channel = "7"
      protocol = "x86_64-abi"
     5632 = ""
      backend-id = "0"
      virtual-device = "5632"
      device-type = "cdrom"
      state = "3"
      backend = "/local/domain/0/backend/vbd/1/5632"
      ring-ref = "10"
      event-channel = "8"
      protocol = "x86_64-abi"
    vif = ""
     0 = ""
      backend-id = "0"
      mac = "00:e0:f4:08:15:01"
      handle = "0"
      state = "6"
      backend = "/local/domain/0/backend/vif/1/0"
      tx-ring-ref = "768"
      rx-ring-ref = "769"
      event-channel = "9"
      request-rx-copy = "1"
      feature-rx-notify = "1"
      feature-no-csum-offload = "0"
      feature-sg = "1"
      feature-gso-tcpv4 = "1"
    console = ""
     0 = ""
      state = "1"
      backend-id = "0"
      backend = "/local/domain/0/backend/console/1/0"
    suspend = ""
     event-channel = "5"
   control = ""
    platform-feature-multiprocessor-suspend = "1"
   error = ""
   memory = ""
    target = "1048576"
   guest = ""
   hvmpv = ""
   data = ""
   device-misc = ""
    vif = ""
     nextDeviceID = "1"
    console = ""
     nextDeviceID = "1"
   image = ""
    device-model-fifo = "/var/run/xend/dm-1-1292497721.fifo"
    device-model-pid = "5402"
    suspend-cancel = "1"
   console = ""
    port = "3"
    limit = "1048576"
    type = "ioemu"
    tty = "/dev/pts/3"
    vnc-port = "5900"
   description = "None"
   domid = "1"
   cpu = ""
    0 = ""
     availability = "online"
   store = ""
    ring-ref = "1044476"
    port = "2"
   name = "sles11_1"
   serial = ""
    0 = ""
     tty = "/dev/pts/2"
 pool = ""
  0 = ""
   other_config = ""
   description = "Pool-0"
   uuid = "2fd43a56-ab01-d280-1886-435ff3312a6f"
   name = "Pool-0"

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: recursive error in xen-hotplug-common.sh
  2010-12-16 10:38 ` Ian Campbell
  2010-12-16 11:17   ` Olaf Hering
@ 2010-12-16 17:58   ` Ian Jackson
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Jackson @ 2010-12-16 17:58 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Olaf Hering, xen-devel@lists.xensource.com

Ian Campbell writes ("Re: [Xen-devel] recursive error in xen-hotplug-common.sh"):
> Presumably something like this helps?

This looked good so I applied it.  Thanks to both of you.

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-16 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 19:30 recursive error in xen-hotplug-common.sh Olaf Hering
2010-12-16 10:38 ` Ian Campbell
2010-12-16 11:17   ` Olaf Hering
2010-12-16 17:58   ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).