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

[Xen-users] xm list doesn't work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm list doesn't work
From: CHERAMY Guillaume <guillaume.cheramy@xxxxxxxxx>
Date: Thu, 19 Jun 2008 09:56:43 +0200
Delivery-date: Thu, 19 Jun 2008 00:57:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4LWvuhgYZm8p8L0KcQ5GcKpJiHpxWtHuEPAwrnSAPuI=; b=alGlfFA8Vpv0nrN3zIJh8NVE15Lc8ydqB7hD2wU4yTr/gFg5iDSnd5EwGbBaTg3bQH xOxoH4vKAu5mCFw1ZGAWiqsiDxCDI7exTJxGk0+BC8XNAz87Pj6jTzf8FL7gtiS0tAh8 tStxMugKY4URMnt6+rz0Ea7dGaP77FTDROm30=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LxzZ7urz2DYcU4VVkI3KTbhEq7iUyxe+tsjTZ3l14aF/V2S6Ay6SZDc/YBaoNui0yb MQPuMN0xCfLui2AjPRB5VOx46N14DN7cFCQaKQxrJS16OH7VPvUGLxcIg9YnyIxIvJCE k/7uV4rTVrhlH02+RZk+4BawK5v+Iih6tTG8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080502)
Good morning,

This morning I cannot use xm commands likes :
    xm list
    xm destroy
    xm shutdown


I think I have got a ghost domain, when I dump the tdb xenstore I have
got such informations :

/local/domain/95/vm=/vm/8c8fa467-b26f-2621-aa35-604e4a050efb
/local/domain/95/device/vfb/0/state=1
/local/domain/95/device/vfb/0/backend-id=0
/local/domain/95/device/vfb/0/backend=/local/domain/0/backend/vfb/95/0
/local/domain/95/device/vbd/768/backend-id=0
/local/domain/95/device/vbd/768/virtual-device=768
/local/domain/95/device/vbd/768/device-type=disk
/local/domain/95/device/vbd/768/state=1
/local/domain/95/device/vbd/768/backend=/local/domain/0/backend/vbd/95/768
/local/domain/95/device/vif/0/state=1
/local/domain/95/device/vif/0/backend-id=0
/local/domain/95/device/vif/0/backend=/local/domain/0/backend/vif/95/0
/local/domain/95/device/console/0/state=1
/local/domain/95/device/console/0/backend-id=0
/local/domain/95/device/console/0/backend=/local/domain/0/backend/console/95/0
/local/domain/95/device-misc/vif/nextDeviceID=1
/local/domain/95/device-misc/console/nextDeviceID=1
/local/domain/95/image/device-model-pid=25302
/local/domain/95/image/suspend-cancel=1
/local/domain/95/console/vnc-port=5912
/local/domain/95/console/tty=/dev/pts/20
/local/domain/95/console/port=3
/local/domain/95/console/limit=1048576
/local/domain/95/serial/0/tty=/dev/pts/20
/local/domain/95/control/platform-feature-multiprocessor-suspend=1
/local/domain/95/control/shutdown=poweroff
/local/domain/95/name=xp2
/local/domain/95/domid=95
/local/domain/95/cpu/0/availability=online
/local/domain/95/memory/target=524288
/local/domain/95/store/ring-ref=131070
/local/domain/95/store/port=2
/local/domain/95/xend/shutdown_start_time=1213835402.093376

but the domain 95 doesn't run (xm top works).

The xend.log :
[2008-06-19 02:30:22 6027] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'xp1'], ['memory', 512],
['shadow_memory', 100], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['localtime', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'],
['fda', ''], ['fdb', ''], ['localtime', 1], ['serial', 'pty'],
['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc',
1], ['vncdisplay', 11], ['vncunused', 0], ['sdl', 0], ['xauthority',
'/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi',
1], ['apic', 1], ['usb', 1], ['usbdevice', 'tablet'], ['keymap', 'fr'],
['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname',
'phy:/dev/xen_disk/xp1'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr5'], ['mac', '00:16:3e:ff:fe:07'], ['type',
'ioemu']]]])
[2008-06-19 02:30:23 6027] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'xp2'], ['memory', 512],
['shadow_memory', 100], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['localtime', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'],
['fda', ''], ['fdb', ''], ['localtime', 1], ['serial', 'pty'],
['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc',
1], ['vncdisplay', 12], ['vncunused', 0], ['sdl', 0], ['xauthority',
'/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi',
1], ['apic', 1], ['usb', 1], ['usbdevice', 'tablet'], ['keymap', 'fr'],
['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname',
'phy:/dev/xen_disk/xp2'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr5'], ['mac', '00:16:3e:ff:fe:08'], ['type',
'ioemu']]]])
[2008-06-19 02:30:31 6027] INFO (__init__:1072) Domain shutdown timeout
expired: name=xp1 id=94
[2008-06-19 02:30:31 6027] DEBUG (__init__:1072) XendDomainInfo.destroy:
domid=94
[2008-06-19 02:30:31 6027] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(94)
[2008-06-19 02:30:32 6027] INFO (__init__:1072) Domain shutdown timeout
expired: name=xp2 id=95
[2008-06-19 02:30:32 6027] DEBUG (__init__:1072) XendDomainInfo.destroy:
domid=95
[2008-06-19 02:30:32 6027] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(95)


My domains works on lvm backends, and when I wants to remove the xp2 lvm
I have got this error :
# lvremove /dev/xen_disk/xp2
  Can't remove open logical volume "xp2"

Thanks for your help, I cannot reboot the server.

Slts

-- 
                         ''~``
                        ( o o )
+------------------.oooO--(_)--Oooo.---------------------+
| Guillaume Chéramy - Guidtz                             |
| E-Mail : guillaume.cheramy@xxxxxxxxx                   |
|                    (   )                               |
+---------------------\ (----(   )-----------------------+
                       \_)    ) /
                             (_/


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xm list doesn't work, CHERAMY Guillaume <=