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

[Xen-bugs] [Bug 1378] New: [stubdom] cannot restore domain if the domain

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1378] New: [stubdom] cannot restore domain if the domain is created with stubdom on.
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sat, 25 Oct 2008 23:46:09 -0700
Delivery-date: Sat, 25 Oct 2008 23:46:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1378

           Summary: [stubdom] cannot restore domain if the domain is created
                    with stubdom on.
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: haicheng.li@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): 
Guest Arch (ia32/ia32e/IA64): 
Guest OS Type (Linux/Windows):
Change Set: 18533
Hardware: SantaRosa/HP Desktop computer dc7700p


Bug detailed description:
--------------------------
with stubdom on, xm save <Domain> can be successful; but xm restore <Domain> is
failed.


Reproduce steps:
----------------
#
# "xm restore" has different behavior on SantaRosa and HP Desktop computer.


on SantaRosa:
1. [root@vt-sa3 shuang]# xm li
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   670     2     r-----    629.3
hvmachine                                   12   256     2     -b----     24.5
hvmachine-dm                                13    32     1     -b----      2.2
2. [root@vt-sa3 shuang]# xm save hvmachine ./hvmachine.xm.save
3. [root@vt-sa3 shuang]# ls ./hvmachine.xm.save -lh
-rwxr-xr-x 1 root root 257M Oct 17 18:26 ./hvmachine.xm.save
4. [root@vt-sa3 shuang]# xm li
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   670     2     r-----    634.6
5. [root@vt-sa3 shuang]# xm restore hvmachine.xm.save
6. [root@vt-sa3 shuang]# xm li
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   670     2     r-----    652.5
hvmachine                                   14   256     2     -b----      8.9
hvmachine-dm                                15    32     1     -b----      0.2
7. In fact, the guest is not restored properly, it shows error messages in the
domains' screen, see attached picture.

1.[root@localhost simon]# xm save rhel4u1 ./rhel4u1.xm.save

2.[root@localhost simon]# ls ./rhel4u1.xm.save -lh
-rwxr-xr-x 1 root root 257M Oct 17 15:29 ./rhel4u1.xm.save

3.[root@localhost simon]# xm restore ./rhel4u1.xm.save 
Error: invalid device model signature read

Current result:
----------------
"xm restore" is failed to restore the stubdom based guest .


Basic root-causing log:
----------------------
bellow is the guest's config file:
[root@vt-sa3 shuang]# cat hvmachine.hvm
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory =  256
name = "hvmachine"
vcpus=2
vif = [ 'ip=127.0.1.1,mac=aa:00:00:12:23:34' ]
device_model = '/usr/lib/xen/bin/stubdom-dm'
boot="c"
sdl=0
opengl=0
vnc=0
vncpasswd=''
stdvga=0
pae=1

[root@vt-sa3 shuang]# cat /etc/xen/hvmachine-dm
kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
vif = [ '', 'ip=127.0.1.1,mac=aa:00:00:12:23:34' ]
disk = [ 'file:/home/shuang/ia32e_fc6.img,hda,w' ]
vfb = [ 'type=sdl' ]


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>