[Bug 653788] New: Error restoring saved x86 domU images on x86-64 dom0
https://bugzilla.novell.com/show_bug.cgi?id=653788 https://bugzilla.novell.com/show_bug.cgi?id=653788#c0 Summary: Error restoring saved x86 domU images on x86-64 dom0 Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: carlos@keysoft.pt QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (Windows NT 6.1; U; en-GB) Presto/2.6.37 Version/10.70 Dom-0 has XENDOMAINS_RESTORE=true and on shutdown the three domU's (windows2008, suse11.3 x64 and suse-11.2 x86) are saved to /var/lib/xen/save. For some time now (I think since the upgrade of dom0 from 11.2 to 11.3), the suse-11.2 x86 domU always fails to restore on reboot. Manual restore with "xm restore" also fails for this domU. Last week I created a new suse-11.3 x86 domU and today rebooted the dom0. Result: both x86 domU's failed to restore on reboot. xm start works ok for both x86 domU's that fail to restore. uname -a: dom0: Linux zeus 2.6.34.7-0.5-xen #1 SMP 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux suse-11.2 x86 domU: Linux mail 2.6.31.14-0.4-xen #1 SMP 2010-10-25 08:45:30 +0200 i686 i686 i386 GNU/Linux suse-11.3 x86 domU: Linux ksdev 2.6.34.7-0.5-xen #1 SMP 2010-10-25 08:40:12 +0200 i686 i686 i386 GNU/Linux suse-11.3 x64 domU: Linux suse112 2.6.34.7-0.5-xen #1 SMP 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux short resume of the error on xend.log for a 'xm restore saved-image' for the suse-11.3 x86 domU: [2010-11-15 22:07:18 4161] DEBUG (balloon:191) Balloon: tmem relinquished -1 KiB of 507328 KiB requested. [2010-11-15 22:07:18 4161] DEBUG (balloon:245) Balloon: 16960 KiB free; 0 to scrub; need 524288; retries: 20. [2010-11-15 22:07:18 4161] DEBUG (balloon:259) Balloon: setting dom0 target to 2709 MiB. [2010-11-15 22:07:18 4161] DEBUG (XendDomainInfo:1512) Setting memory target of domain Domain-0 (0) to 2709 Mi B. [2010-11-15 22:07:18 4161] DEBUG (balloon:245) Balloon: 221760 KiB free; 0 to scrub; need 524288; retries: 20. [2010-11-15 22:07:18 4161] DEBUG (balloon:259) Balloon: setting dom0 target to 2705 MiB. [2010-11-15 22:07:18 4161] DEBUG (XendDomainInfo:1512) Setting memory target of domain Domain-0 (0) to 2705 MiB. [2010-11-15 22:07:18 4161] DEBUG (XendCheckpoint:380) [xc_restore]: /usr/lib64/xen/bin/xc_restore 28 6 1 2 0 0 0 0 [2010-11-15 22:07:18 4161] INFO (XendCheckpoint:482) xc_domain_restore start: p2m_size = 20800 [2010-11-15 22:07:18 4161] INFO (XendCheckpoint:482) Reloading memory pages: 0% [2010-11-15 22:07:40 4161] INFO (XendCheckpoint:482) ERROR Internal error: Error when reading batch size [2010-11-15 22:07:40 4161] INFO (XendCheckpoint:482) ERROR Internal error: error when buffering batch, finishing [2010-11-15 22:07:40 4161] INFO (XendCheckpoint:482) [2010-11-15 22:07:40 4161] INFO (XendCheckpoint:4100% [2010-11-15 22:07:40 4161] INFO (XendCheckpoint:482) Memory reloaded (0 pages) [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:3115) XendDomainInfo.destroy: domid=6 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2455) No device model [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2457) Releasing devices [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2463) Removing vif/0 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2463) Removing vkbd/0 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = vkbd, devic e = vkbd/0 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2463) Removing tap/51712 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = tap, device = tap/51712 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:2463) Removing tap/51728 [2010-11-15 22:07:40 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = tap, device = tap/51728 [2010-11-15 22:07:41 4161] DEBUG (XendDomainInfo:2463) Removing console/0 [2010-11-15 22:07:41 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = console, de vice = console/0 [2010-11-15 22:07:41 4161] DEBUG (XendDomainInfo:2463) Removing vfb/0 [2010-11-15 22:07:41 4161] DEBUG (XendDomainInfo:1293) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2010-11-15 22:07:41 4161] ERROR (XendCheckpoint:416) /usr/lib64/xen/bin/xc_restore 28 6 1 2 0 0 0 0 failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 384, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 470, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_restore 28 6 1 2 0 0 0 0 failed [2010-11-15 22:07:41 4161] ERROR (XendDomain:1188) Restore failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 1172, in domain_restore_fd dominfo = XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating) File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 417, in restore raise exn XendError: /usr/lib64/xen/bin/xc_restore 28 6 1 2 0 0 0 0 failed No qemu-dm-xxx.log file is generated when the domU fails to restore. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c1
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c2
Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c3
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c4
Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c5
--- Comment #5 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c9
--- Comment #9 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c10
--- Comment #10 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c11
--- Comment #11 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c12
--- Comment #12 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c13
--- Comment #13 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c14
--- Comment #14 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c15
--- Comment #15 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c16
--- Comment #16 from Chunyan Liu
Also, I've removed the few installed things in the domU and can now upload both the domU disk and the xm save file somewhere for your testing. disk0.raw.bz2: 584M (1.8G sparse, 20G size), save.bz2: 26M
Just say where the files can be uploaded to.
Well, those files are really too large. I think you can put it to a network place (for example, dropbox) and give me the address. Then I can get it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c17
--- Comment #17 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c18
--- Comment #18 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c19
--- Comment #19 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c20
--- Comment #20 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c21
--- Comment #21 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c22
--- Comment #22 from Chunyan Liu
From the log, the restore process seems to be normal till last line. Could you attach the whole xend.log?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c23
--- Comment #23 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c24
--- Comment #24 from Chunyan Liu
Ah, I assumed those 'batch' error lines meant something, but looking at successful restores of the other domU's the lines are there also. That error lines are just expected which indicates no more pages to load and will goto finish part.
Looking more carefully at the log, I don't see differences between a failed restore and a successfull one (for the other domU's)... Cannot see any problem from xend.log. Is that issue reproducible?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c25
--- Comment #25 from Carlos Costa e Silva
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c26
--- Comment #26 from Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c27
--- Comment #27 from Chunyan Liu
https://bugzilla.novell.com/show_bug.cgi?id=653788
https://bugzilla.novell.com/show_bug.cgi?id=653788#c28
James Fehlig
participants (1)
-
bugzilla_noreply@novell.com