From: Roland Paterson-Jones <roland@rolandpj.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: [Xen-users] Re: tap:qcow causes dom-U to hang in 3.0.3
Date: Thu, 09 Nov 2006 09:58:05 +0200 [thread overview]
Message-ID: <4552DF8D.6060600@rolandpj.com> (raw)
In-Reply-To: <20061108151133.GE3507@leeni.uk.xensource.com>
[-- Attachment #1: Type: text/plain, Size: 8616 bytes --]
Ewan Mellor wrote:
>On Wed, Nov 08, 2006 at 04:50:43PM +0200, Roland Paterson-Jones wrote:
>
>
>>
>>[root@dom0]# xm list
>>Error: Device 2050 not connected
>>Usage: xm list [options] [Domain, ...]
>>
>>Curiously, it seems that device 2050 was a secondary block device
>>exposed using phy:.
>>
>>So, any advice on how to debug this?
>>
>>
>
>Could we see your /var/log/xen/* and the output of xenstore-ls?
>
>
Logs attached. xenstore-ls below.
I had two domains running. One with root-fs using
tap:aio:/mnt/instance_image_store_1/3811, and a second dom-U on
tap:qcow:/mnt/instance_image_store_0/3811.qcow, which was set up as a
COW overlay of image file /mnt/instance_image_store_0/3811 (not the same
as the tap:aio: image for the first domU - the directories differ in
their last digit).
Then both dom-U's also had/have a swap partition (vbd phy:) on
/dev/VolGroupDomU/instance_swap_store_1/0 and a second vbd phy: on
/dev/VolGroupDomU/instance_ephemeral_store_1/0.
The 'xenstore-ls' also shows qcow:/mnt/instance_image_store_2/3811.qcow
which I don't think should be there at all (maybe from a previous failed
attempt).
Could this be related to tap:qcow: mounts not umounting? I previously
set up a test tap:qcow: device in dom0 using 'block-attach 0 ...', then
mounted it, which seemed to work OK. However 'umount ...' then hung
(seemingly in the kernel - I had to reboot to get rid of it).
Thx Roland
-----------------------------------------
[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-0000ec291715 = ""
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-0000ec291715"
on_reboot = "restart"
start_time = "1162994682.56"
on_poweroff = "destroy"
name = "dom_91715"
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_91715"
frontend = "/local/domain/1/device/vbd/2049"
dev = "sda1"
state = "4"
params = "aio:/mnt/instance_image_store_1/3811"
mode = "w"
online = "1"
frontend-id = "1"
type = "tap"
sectors = "3123200"
sector-size = "512"
info = "0"
hotplug-status = "connected"
2 = ""
2049 = ""
domain = "dom_91721"
frontend = "/local/domain/2/device/vbd/2049"
dev = "sda1"
state = "4"
params = "qcow:/mnt/instance_image_store_0/3811.qcow"
mode = "w"
online = "1"
frontend-id = "2"
type = "tap"
sectors = "3123200"
sector-size = "512"
info = "0"
hotplug-status = "connected"
3 = ""
2049 = ""
domain = "dom_91723"
frontend = "/local/domain/3/device/vbd/2049"
dev = "sda1"
state = "1"
params = "qcow:/mnt/instance_image_store_2/3811.qcow"
mode = "w"
online = "1"
frontend-id = "3"
type = "tap"
sectors = "3123200"
sector-size = "512"
info = "0"
vbd = ""
1 = ""
2050 = ""
domain = "dom_91715"
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_91715"
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"
2 = ""
2050 = ""
domain = "dom_91721"
frontend = "/local/domain/2/device/vbd/2050"
dev = "sda2"
state = "4"
params = "/dev/VolGroupDomU/instance_ephemeral_store_0"
mode = "w"
online = "1"
frontend-id = "2"
type = "phy"
physical-device = "fd:3"
hotplug-status = "connected"
sectors = "312737792"
info = "0"
sector-size = "512"
2051 = ""
domain = "dom_91721"
frontend = "/local/domain/2/device/vbd/2051"
dev = "sda3"
state = "4"
params = "/dev/VolGroupDomU/instance_swap_store_0"
mode = "w"
online = "1"
frontend-id = "2"
type = "phy"
physical-device = "fd:4"
hotplug-status = "connected"
sectors = "1835008"
info = "0"
sector-size = "512"
3 = ""
2050 = ""
domain = "dom_91723"
frontend = "/local/domain/3/device/vbd/2050"
dev = "sda2"
state = "1"
params = "/dev/VolGroupDomU/instance_ephemeral_store_2"
mode = "w"
online = "1"
frontend-id = "3"
type = "phy"
2051 = ""
domain = "dom_91723"
frontend = "/local/domain/3/device/vbd/2051"
dev = "sda3"
state = "1"
params = "/dev/VolGroupDomU/instance_swap_store_2"
mode = "w"
online = "1"
frontend-id = "3"
type = "phy"
vif = ""
1 = ""
0 = ""
domain = "dom_91715"
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"
3 = ""
0 = ""
domain = "dom_91723"
handle = "0"
script = "/etc/xen/scripts/vif-aes"
state = "5"
frontend = "/local/domain/3/device/vif/0"
mac = "12:31:34:00:03:8D"
online = "0"
frontend-id = "3"
error = ""
backend = ""
tap = ""
1 = ""
2049 = ""
error = "2 getting info"
2 = ""
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 = "995310"
port = "2"
limit = "1048576"
tty = "/dev/pts/2"
name = "dom_91715"
vm = "/vm/00000000-0000-0000-0000-0000ec291715"
domid = "1"
cpu = ""
0 = ""
availability = "online"
memory = ""
target = "1740800"
store = ""
ring-ref = "995311"
port = "1"
>Thanks,
>
>Ewan.
>
>_______________________________________________
>Xen-users mailing list
>Xen-users@lists.xensource.com
>http://lists.xensource.com/xen-users
>
>
>
>
[-- Attachment #2: xen-logs.tgz --]
[-- Type: application/x-compressed-tar, Size: 6908 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-11-09 7:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 14:50 tap:qcow causes dom-U to hang in 3.0.3 Roland Paterson-Jones
2006-11-08 15:11 ` [Xen-devel] " Ewan Mellor
2006-11-09 7:58 ` Roland Paterson-Jones [this message]
2006-11-10 10:15 ` [Xen-users] " Julian Chesterfield
2006-11-10 14:00 ` Re: [Xen-devel] " Roland Paterson-Jones
2006-11-13 12:26 ` [Xen-users] " Julian Chesterfield
2006-11-14 10:10 ` Roland Paterson-Jones
2006-11-14 10:50 ` Re: [Xen-devel] " Roland Paterson-Jones
2006-12-15 5:24 ` tap:qcow causes dom-U to hang in 3.0.4-rc1 Hiromichi Itou
2006-12-19 22:32 ` Julian Chesterfield
2006-12-20 9:57 ` Hiromichi Itou
2006-11-10 14:17 ` Re: [Xen-devel] tap:qcow causes dom-U to hang in 3.0.3 Roland Paterson-Jones
2006-11-09 9:30 ` [Xen-users] " Roland Paterson-Jones
2006-11-09 13:34 ` Roland Paterson-Jones
2006-11-09 13:58 ` Re: [Xen-devel] " Ewan Mellor
2006-11-10 8:49 ` Wolfgang Schnerring
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=4552DF8D.6060600@rolandpj.com \
--to=roland@rolandpj.com \
--cc=ewan@xensource.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.