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

Re: [Xen-devel] Re: Xen-unstable save error

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen-unstable save error
From: Michal Novotny <minovotn@xxxxxxxxxx>
Date: Mon, 21 Jun 2010 14:38:40 +0200
Cc:
Delivery-date: Mon, 21 Jun 2010 05:39:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C845140D.180CD%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C845140D.180CD%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4
On 06/21/2010 02:05 PM, Keir Fraser wrote:
On 21/06/2010 12:15, "Michal Novotny"<minovotn@xxxxxxxxxx>  wrote:

Hi,
I'm trying to run Xen-unstable but I have a problem for save
functionality, apparently some symbol is missing there:
I don't think it's a msising symbol. Looks like popen threw an error.
Perhaps xc_save binary couldn't be found, or something like that?

  -- Keir


Well, Keir, it does exist:

# ls -al /usr/lib64/xen/bin/xc_save
-rwxr-xr-x 1 root root 25245 Jun 18 21:37 /usr/lib64/xen/bin/xc_save
# /usr/lib64/xen/bin/xc_save
xc_save: usage: /usr/lib64/xen/bin/xc_save iofd domid maxit maxf flags

Also, when I try to run it manually with the domain running and testing the save it returns:

# /usr/lib64/xen/bin/xc_save 56 1 0 0 4
/usr/lib64/xen/bin/xc_save: symbol lookup error: undefined symbol: 
xs_suspend_evtchn_port


When I try it to domain that is not running (or the iofd is not opened yet) it returns segmentation fault:

#  /usr/lib64/xen/bin/xc_save 56 1 0 0 4
Segmentation fault
# gdb -arg /usr/lib64/xen/bin/xc_save 56 1 0 0 4
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/lib64/xen/bin/xc_save 56 1 0 0 4
[Thread debugging using libthread_db enabled]
[New Thread 0x7feb772b46e0 (LWP 6411)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1 0x00000000004014f5 in main (argc=<value optimized out>, argv=0x7fff6a1f9868) at xc_save.c:192
(gdb) disassemble
No function contains program counter for selected frame.
(gdb)

line 192 of xc_save is closing the xc_interface by "xc_interface_close(xc_fd);".

Any ideas?

Michal

[2010-06-21 13:02:14 4333] DEBUG (XendCheckpoint:124) [xc_save]:
/usr/lib64/xen/bin/xc_save 56 1 0 0 4
[2010-06-21 13:02:14 4333] INFO (XendCheckpoint:408)
/usr/lib64/xen/bin/xc_save: symbol lookup error:
/usr/lib64/xen/bin/xc_save: undefined symbol: xs_suspend_evtchn_port
[2010-06-21 13:02:14 4333] ERROR (XendCheckpoint:178) Save failed on
domain rhel5-32fv-stubdom (1) - resuming.
Traceback (most recent call last):
    File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 146, in save
      forkHelper(cmd, fd, saveInputHandler, False)
    File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 394, in forkHelper
      raise XendError("%s failed: popen failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 56 1 0 0 4 failed: popen failed
[2010-06-21 13:02:14 4333] DEBUG (XendDomainInfo:3131)
XendDomainInfo.resumeDomain(1)

Any ideas?

Michal


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


--
Michal Novotny<minovotn@xxxxxxxxxx>, RHCE
Virtualization Team (xen userspace), Red Hat


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