[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] domU kernel from source capable of live migration



On Wed, 2011-03-23 at 17:44 +0200, Pasi KÃrkkÃinen wrote:
> On Thu, Feb 24, 2011 at 06:07:44PM -0500, William L. Thomson Jr. wrote:
> > On Mon, 2011-02-21 at 12:50 -0500, William L. Thomson Jr. wrote:

snip...

> > > On 2.6.36 I get the following for PMU
> > > AMD PMU driver.
> > > ... version:                0
> > > ... bit width:              48
> > > ... generic registers:      4
> > > ... value mask:             0000ffffffffffff
> > > ... max period:             00007fffffffffff
> > > ... fixed-purpose events:   0
> > > ... event mask:             000000000000000f
> > > 
> > > I use the same config from 2.6.36, but in 2.6.37 and now get
> > > 
> > > Broken PMU hardware detected, software events only.
> > 
> > Not sure if this is xen related or not, but I am getting the same with
> > 2.6.38-rc6

snip... 

> > My missing PMU or it being detected as broken I am pretty sure is
> > preventing my domU from being able to get networking up and running.
> > Might be something else, not sure. Thats the only difference I can see
> > in dmesg between a working 2.6.36 kernel and the non-working 2.6.37 and
> > 2.6.38-rc6 kernels.

snip...

> Hey,
> 
> Did you get this stuff working? 

Well I had given up for some time, but after the inquiry I tried again
yesterday with the released 2.6.38 sources. Not sure what was up with
the -rc versions, but I can finally boot a kernel > 2.6.36. Its pretty
odd since I just copied a config from 2.6.37 which would not boot. Ran
make old config, compiled the kernel and it booted :)

Now I am still getting broken PMU, and missing the stuff above, but I
guess thats moot. Still not able to save or live migrate. This is what I
get in xend.log when I try to save. The save file does seem to grow and
be a decent size. But the vm freezes even when using xm save -c. I was
also unable to restore the vm after destroying the frozen one I saved.

Here is what I get in xend.log. Aside from the error with the evtchn
port, looks like it did save the vm and even restored after I destroyed
it. Not sure if the first failure (second line below) is whats causing
the problem. Or its something relating to using a nfsroot.

[2011-03-26 01:02:38 728] DEBUG (XendCheckpoint:124) [xc_save]: 
/usr/lib/xen/bin/xc_save 38 3 0 0 0
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) xc_save: failed to get the 
suspend evtchn port
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423)
[2011-03-26 01:02:38 728] DEBUG (XendCheckpoint:394) suspend
[2011-03-26 01:02:38 728] DEBUG (XendCheckpoint:127) In saveInputHandler suspend
[2011-03-26 01:02:38 728] DEBUG (XendCheckpoint:129) Suspending 3 ...
[2011-03-26 01:02:38 728] DEBUG (XendDomainInfo:519) 
XendDomainInfo.shutdown(suspend)
[2011-03-26 01:02:38 728] DEBUG (XendDomainInfo:1891) 
XendDomainInfo.handleShutdownWatch
[2011-03-26 01:02:38 728] DEBUG (XendDomainInfo:1891) 
XendDomainInfo.handleShutdownWatch
[2011-03-26 01:02:38 728] INFO (XendDomainInfo:2088) Domain has shutdown: 
name=migrating-testvm id=3 reason=suspend.
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:135) Domain 3 suspended.
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) Had 0 unexplained entries 
in p2m table
[2011-03-26 01:02:38 728] DEBUG (XendCheckpoint:144) Written done
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) Saving memory pages: iter 1 
  0%^H^H^H^H  5%outbuf_write: 4194304 > 4161520@12615696
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 11%^H^H^H^H 
17%outbuf_write: 4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 23%outbuf_write: 
4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 29%^H^H^H^H 
35%outbuf_write: 4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 41%outbuf_write: 
4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 47%^H^H^H^H 
52%outbuf_write: 4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 58%outbuf_write: 
4194304 > 4169716@12607500
[2011-03-26 01:02:38 728] INFO (XendCheckpoint:423) ^H^H^H^H 64%^H^H^H^H 
70%outbuf_write: 4194304 > 4169716@12607500
[2011-03-26 01:02:46 728] INFO (XendCheckpoint:423) ^H^H^H^H 76%outbuf_write: 
4194304 > 4169716@12607500
[2011-03-26 01:02:46 728] INFO (XendCheckpoint:423) ^H^H^H^H 82%^H^H^H^H 
88%outbuf_write: 163840 > 139252@16637964
[2011-03-26 01:02:46 728] INFO (XendCheckpoint:423) ^H^H^H^H 94%^M 1: sent 
32768, skipped 0, delta 8791ms, dom0 9%, target 0%, sent 122Mb/s, dirtied 
122Mb/s 32767 pages
[2011-03-26 01:02:46 728] INFO (XendCheckpoint:423) Total pages sent= 32768 
(0.94x)
[2011-03-26 01:02:46 728] INFO (XendCheckpoint:423) (of which 0 were fixups)
[2011-03-26 01:02:47 728] INFO (XendCheckpoint:423) All memory is saved
[2011-03-26 01:02:50 728] INFO (XendCheckpoint:423) Save exit rc=0
[2011-03-26 01:02:50 728] DEBUG (XendDomainInfo:3117) 
XendDomainInfo.resumeDomain(3)
[2011-03-26 01:02:50 728] DEBUG (XendDomainInfo:3158) 
XendDomainInfo.resumeDomain: completed
[2011-03-26 01:03:15 728] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: 
domid=3

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.