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-users

Re: [Xen-users] Re: [Xen-devel] tap:qcow causes dom-U to hang in 3.0.3

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] tap:qcow causes dom-U to hang in 3.0.3
From: Roland Paterson-Jones <roland@xxxxxxxxxxxx>
Date: Thu, 09 Nov 2006 15:34:16 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 09 Nov 2006 05:34:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061108151133.GE3507@xxxxxxxxxxxxxxxxxxxxxx>
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: <4551EEC3.3010308@xxxxxxxxxxxx> <20061108151133.GE3507@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
Ewan Mellor wrote:

Could we see your /var/log/xen/*  and the output of xenstore-ls?
I suspect this part of the xenstore-ls may be significant:

  error = ""
   backend = ""
    tap = ""
     1 = ""
      2049 = ""
       error = "2 getting info"

Is there somewhere I can get more info on the cause of the error? Also, given that the error seems 'sticky', in that 'xm shutdown' and 'xm destroy' don't appear to be able to get rid of the tap device, how do I identify where the tapdisk (or whatever) process is stuck?

Thanks for any advice
Regards
Roland

Here's the full xenstore-ls after the dom-U hangs and before I've done anything to try to shut it down:

[root@dom0 ~]# xenstore-ls
tool = ""
xenstored = ""
vm = ""
00000000-0000-0000-0000-000000000000 = ""
 shadow_memory = "0"
 uuid = "00000000-0000-0000-0000-000000000000"
 on_reboot = "restart"
 on_poweroff = "destroy"
 name = "Domain-0"
 xend = ""
  restart_count = "0"
 vcpus = "2"
 vcpu_avail = "3"
 memory = "1023"
 on_crash = "restart"
 maxmem = "1023"
00000000-0000-0000-0000-0000ec292018 = ""
image = "(linux (kernel /boot/vmlinuz-2.6.16.29-xen) (ramdisk /boot/initrd-2.6.16.29-xen.img) (..."
  ostype = "linux"
  kernel = "/boot/vmlinuz-2.6.16.29-xen"
  cmdline = " root=/dev/sda1 ro 4"
  ramdisk = "/boot/initrd-2.6.16.29-xen.img"
 shadow_memory = "0"
 uuid = "00000000-0000-0000-0000-0000ec292018"
 on_reboot = "restart"
 start_time = "1163078366.42"
 on_poweroff = "destroy"
 name = "dom_92018"
 xend = ""
  restart_count = "0"
 vcpus = "1"
 vcpu_avail = "1"
 memory = "1700"
 on_crash = "restart"
 maxmem = "1700"
local = ""
domain = ""
 0 = ""
  cpu = ""
   0 = ""
    availability = "online"
   1 = ""
    availability = "online"
  memory = ""
   target = "1047552"
  name = "Domain-0"
  console = ""
   limit = "1048576"
  vm = "/vm/00000000-0000-0000-0000-000000000000"
  domid = "0"
  backend = ""
   tap = ""
    1 = ""
     2049 = ""
      domain = "dom_92018"
      frontend = "/local/domain/1/device/vbd/2049"
      dev = "sda1"
      state = "4"
      params = "qcow:/mnt/instance_image_store_1/3811.qcow"
      mode = "w"
      online = "1"
      frontend-id = "1"
      type = "tap"
      sectors = "3123200"
      sector-size = "512"
      info = "0"
      hotplug-status = "connected"
   vbd = ""
    1 = ""
     2050 = ""
      domain = "dom_92018"
      frontend = "/local/domain/1/device/vbd/2050"
      dev = "sda2"
      state = "4"
      params = "/dev/VolGroupDomU/instance_ephemeral_store_1"
      mode = "w"
      online = "1"
      frontend-id = "1"
      type = "phy"
      physical-device = "fd:6"
      hotplug-status = "connected"
      sectors = "312737792"
      info = "0"
      sector-size = "512"
     2051 = ""
      domain = "dom_92018"
      frontend = "/local/domain/1/device/vbd/2051"
      dev = "sda3"
      state = "4"
      params = "/dev/VolGroupDomU/instance_swap_store_1"
      mode = "w"
      online = "1"
      frontend-id = "1"
      type = "phy"
      physical-device = "fd:7"
      hotplug-status = "connected"
      sectors = "1835008"
      info = "0"
      sector-size = "512"
   vif = ""
    1 = ""
     0 = ""
      domain = "dom_92018"
      handle = "0"
      script = "/etc/xen/scripts/vif-aes"
      state = "4"
      frontend = "/local/domain/1/device/vif/0"
      mac = "12:31:34:00:03:8F"
      online = "1"
      frontend-id = "1"
      feature-sg = "1"
      feature-gso-tcpv4 = "1"
      feature-rx-copy = "1"
      hotplug-status = "connected"
  error = ""
   backend = ""
    tap = ""
     1 = ""
      2049 = ""
       error = "2 getting info"
 1 = ""
  device = ""
   vbd = ""
    2049 = ""
     backend-id = "0"
     virtual-device = "2049"
     device-type = "disk"
     state = "4"
     backend = "/local/domain/0/backend/tap/1/2049"
     ring-ref = "8"
     event-channel = "6"
    2050 = ""
     backend-id = "0"
     virtual-device = "2050"
     device-type = "disk"
     state = "4"
     backend = "/local/domain/0/backend/vbd/1/2050"
     ring-ref = "9"
     event-channel = "7"
    2051 = ""
     backend-id = "0"
     virtual-device = "2051"
     device-type = "disk"
     state = "4"
     backend = "/local/domain/0/backend/vbd/1/2051"
     ring-ref = "10"
     event-channel = "8"
   vif = ""
    0 = ""
     backend-id = "0"
     mac = "12:31:34:00:03:8F"
     handle = "0"
     state = "4"
     backend = "/local/domain/0/backend/vif/1/0"
     tx-ring-ref = "523"
     rx-ring-ref = "524"
     event-channel = "9"
     request-rx-copy = "0"
     feature-rx-notify = "1"
     feature-sg = "1"
     feature-gso-tcpv4 = "1"
  device-misc = ""
   vif = ""
    nextDeviceID = "1"
  console = ""
   ring-ref = "786743"
   port = "2"
   limit = "1048576"
   tty = "/dev/pts/2"
  name = "dom_92018"
  vm = "/vm/00000000-0000-0000-0000-0000ec292018"
  domid = "1"
  cpu = ""
   0 = ""
    availability = "online"
  memory = ""
   target = "1740800"
  store = ""
   ring-ref = "786744"
   port = "1"


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