From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Paterson-Jones Subject: Re: [Xen-users] Re: tap:qcow causes dom-U to hang in 3.0.3 Date: Thu, 09 Nov 2006 15:34:16 +0200 Message-ID: <45532E58.8070100@rolandpj.com> References: <4551EEC3.3010308@rolandpj.com> <20061108151133.GE3507@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061108151133.GE3507@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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"