PV domain save/restore break
I encounter PV domain restore failure on r14770. Are you guys aware of this?
========================================================================
[2007-04-10 09:57:24 4664] DEBUG (balloon:113) Balloon: 754076 KiB free; need
65536; done.
[2007-04-10 09:57:24 4664] DEBUG (XendCheckpoint:220) [xc_restore]: /usr/lib/xen/bin/xc_restore 24 4 1 2 0 0 0 [2007-04-10 09:57:24 4664] INFO (XendCheckpoint:336) xc_domain_restore start: p2m_size = 4800
[2007-04-10 09:57:24 4664] INFO (XendCheckpoint:336) Reloading memory pages: 0%
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Failed allocation for dom 4: 125 extents of order 0 [2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) ERROR Internal error: Failed to allocate memory for batch.! [2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336)
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) PT L1 race on pfn=000003ec mfn=0002e475 [2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Failed allocation for dom 4: 49 extents of order 0 [2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) ERROR Internal error: Failed to allocate memory for batch.! [2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336)
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Restore exit with rc=1
[2007-04-10 09:57:25 4664] DEBUG (XendDomainInfo:1652) XendDomainInfo.destroy: domid=4 [2007-04-10 09:57:25 4664] DEBUG (XendDomainInfo:1669) XendDomainInfo.destroyDomain(4) [2007-04-10 09:57:25 4664] ERROR (XendDomainInfo:1681) XendDomainInfo.destroy: xc.domain_destroy failed. Traceback (most recent call last):
File "/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 1675, in destroyDomain
Error: (3, 'No such process')
[2007-04-10 09:57:25 4664] ERROR (XendDomain:1086) Restore failed
Traceback (most recent call last):
File "/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 1081, in domain_restore_fd File "/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 224, in restore File "/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 324, in forkHelper
XendError: /usr/lib/xen/bin/xc_restore 24 4 1 2 0 0 0 failed
Signature · 2 lines
best rgds, edwin
Our regression tests ran fine on r14773, and our tests include lots of PV save/restores.
-- Keir
Quoted 49 lines · Edwin
I encounter PV domain restore failure on r14770. Are you guys aware of this?
========================================================================
[2007-04-10 09:57:24 4664] DEBUG (balloon:113) Balloon: 754076 KiB free; need 65536; done.
[2007-04-10 09:57:24 4664] DEBUG (XendCheckpoint:220) [xc_restore]:/usr/lib/xen/bin/xc_restore24 4 1 2 0 0 0
[2007-04-10 09:57:24 4664] INFO (XendCheckpoint:336)xc_domain_restorestart:p2m_size= 4800
[2007-04-10 09:57:24 4664] INFO (XendCheckpoint:336) Reloading memory pages:
0%
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Failed allocation for dom 4: 125 extents of order 0
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) ERROR Internal error:
Failed to allocate memory for batch.!
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336)
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) PT L1 race on pfn=000003ec mfn=0002e475
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Failed allocation for dom 4: 49 extents of order 0
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) ERROR Internal error:
Failed to allocate memory for batch.!
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336)
[2007-04-10 09:57:25 4664] INFO (XendCheckpoint:336) Restore exit with rc=1 [2007-04-10 09:57:25 4664] DEBUG (XendDomainInfo:1652) XendDomainInfo.destroy:
domid=4
[2007-04-10 09:57:25 4664] DEBUG (XendDomainInfo:1669)XendDomainInfo.destroyDomain(4)
[2007-04-10 09:57:25 4664] ERROR (XendDomainInfo:1681) XendDomainInfo.destroy:
xc.domain_destroy failed.
Traceback (most recent call last):
File
"/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 1675, in destroyDomain
Error: (3, 'No such process')
[2007-04-10 09:57:25 4664] ERROR (XendDomain:1086) Restore failed Traceback (most recent call last):
File
"/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 1081, indomain_restore_fd
File
"/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 224, in restore
File
"/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 324, in forkHelper
XendError:/usr/lib/xen/bin/xc_restore24 4 1 2 0 0 0 failed
Quoted 2 lines · On Tue, 10 Apr 2007 10:13:14 +0100 Keir Fraser <[email protected]> wrote:
Our regression tests ran fine on r14773, and our tests include lots of PV save/restores.
I have the same problem running r14774. The output of "xm log" is very similar to the one from Edwin. Additionally "xm dmesg" gives me the following messages:
(XEN) page_alloc.c:770:d0 Over-allocation for domain 3: 16385 > 16384 (XEN) memory.c:124:d0 Could not allocate order=0 extent: id=3 memflags=0 (439 of 694)
(XEN) page_alloc.c:770:d0 Over-allocation for domain 3: 16385 > 16384 (XEN) memory.c:124:d0 Could not allocate order=0 extent: id=3 memflags=0 (0 of 44)
"xm log":
[2007-04-10 11:19:07 3648] DEBUG (__init__:1072) restore:shadow=0x0, _static_max=0x4000000, _static_min=0x0, [2007-04-10 11:19:07 3648] DEBUG (__init__:1072) Balloon: 66172 KiB free; need 65536; done. [2007-04-10 11:19:07 3648] DEBUG (__init__:1072) [xc_restore]: /usr/lib/xen/bin/xc_restore 28 3 1 2 0 0 0 [2007-04-10 11:19:07 3648] INFO (__init__:1072) xc_domain_restore start: p2m_size = 4800
[2007-04-10 11:19:07 3648] INFO (__init__:1072) Reloading memory pages: 0%
[2007-04-10 11:19:07 3648] INFO (__init__:1072) Failed allocation for dom 3: 694 extents of order 0 [2007-04-10 11:19:07 3648] INFO (__init__:1072) ERROR Internal error: Failed to allocate memory for batch.! [2007-04-10 11:19:07 3648] INFO (__init__:1072)
[2007-04-10 11:19:07 3648] INFO (__init__:1072) PT L1 race on pfn=0000077a mfn=00001403 [2007-04-10 11:19:07 3648] INFO (__init__:1072) Failed allocation for dom 3: 44 extents of order 0 [2007-04-10 11:19:07 3648] INFO (__init__:1072) ERROR Internal error: Failed to allocate memory for batch.! [2007-04-10 11:19:07 3648] INFO (__init__:1072)
[2007-04-10 11:19:08 3648] INFO (__init__:1072) Restore exit with rc=1
[2007-04-10 11:19:08 3648] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=3 [2007-04-10 11:19:08 3648] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(3) [2007-04-10 11:19:08 3648] ERROR (__init__:1072) XendDomainInfo.destroy: xc.domain_destroy failed. Traceback (most recent call last):
File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1675, in destroyDomain
xc.domain_destroy(self.domid)
Error: (3, \047No such process\047)
[2007-04-10 11:19:08 3648] ERROR (__init__:1072) Restore failed
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/XendDomain.py", line 1081, in domain_restore_fd
return XendCheckpoint.restore(self, fd, paused=paused)
File "//usr/lib/python/xen/xend/XendCheckpoint.py", line 224, in restore
forkHelper(cmd, fd, handler.handler, True)
File "//usr/lib/python/xen/xend/XendCheckpoint.py", line 324, in forkHelper
raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen/bin/xc_restore 28 3 1 2 0 0 0 failed
Stephan
Is this a 64MB domain? Have you used the balloon driver in the domain (or xm mem-set) to change the domain's memory usage after it has been created?
-- Keir
Quoted 10 lines · Stephan Creutz
I have the same problem running r14774. The output of "xm log" is very similar to the one from Edwin. Additionally "xm dmesg" gives me the following messages:
(XEN) page_alloc.c:770:d0 Over-allocation for domain 3: 16385 > 16384 (XEN) memory.c:124:d0 Could not allocate order=0 extent: id=3 memflags=0 (439 of 694)
(XEN) page_alloc.c:770:d0 Over-allocation for domain 3: 16385 > 16384 (XEN) memory.c:124:d0 Could not allocate order=0 extent: id=3 memflags=0 (0 of 44)
Quoted 3 lines · On Tue, 10 Apr 2007 10:48:18 +0100 Keir Fraser <[email protected]> wrote:
Is this a 64MB domain? Have you used the balloon driver in the domain (or xm mem-set) to change the domain's memory usage after it has been created?
Yes, this is a 64MB domain and I haven't changed the size of memory after creating it.
Stephan
Quoted 9 lines · Stephan Creutz
Quoted 3 lines · On Tue, 10 Apr 2007 10:48:18 +0100 Keir Fraser <[email protected]> wrote:
Is this a 64MB domain? Have you used the balloon driver in the domain (or xm mem-set) to change the domain's memory usage after it has been created?
Yes, this is a 64MB domain and I haven't changed the size of memory after creating it.
I can repro this on unstable tip. I'll look into it.
-- Keir
Quoted 8 lines · Keir Fraser
Quoted 6 lines
Quoted 3 lines
Is this a 64MB domain? Have you used the balloon driver in the domain (or xm mem-set) to change the domain's memory usage after it has been created?
Yes, this is a 64MB domain and I haven't changed the size of memory after creating it.
I can repro this on unstable tip. I'll look into it.
Fixed by changeset 14781:099593da38cb.
-- Keir
Quoted 1 line · On Tue, 10 Apr 2007 13:46:48 +0100 Keir Fraser <[email protected]> wrote:
Fixed by changeset 14781:099593da38cb.
This morning your patch appeared in xen-unstable and it works for me. Thank you very much Keir.
Stephan