xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: recursive error in xen-hotplug-common.sh
Date: Thu, 16 Dec 2010 12:17:03 +0100	[thread overview]
Message-ID: <20101216111703.GA22663@aepfle.de> (raw)
In-Reply-To: <1292495903.32368.7217.camel@zakaz.uk.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

  reply	other threads:[~2010-12-16 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-12-16 17:58   ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101216111703.GA22663@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).