From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: 2.0-testing.bk Date: Tue, 25 Jan 2005 16:01:47 -0800 (PST) Message-ID: <20050125155558.N89060@demos.bsdclusters.com> References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > Probably some structure not set up correctly -- my guess might be the > phys-to-machine mapping info that is supposed to get poked into the > shared_info page by the unprivileged guest. It is a list of the page > frames that make up the guest's p2m table. If you haven't init'ed it > then the xm_save tool will probably try to map NULL and hence the > error (Xen has low 1MB of memory marked as being an I/O page). Thanks. I added the following: HYPERVISOR_shared_info->arch.pfn_to_mfn_frame_list = (unsigned long)xen_phys_machine; HYPERVISOR_shared_info->arch.mfn_to_pfn_start = (unsigned long)xen_machine_phys; xen_phys_machine is start_info->mfn_list an xen_machine_phys is (1008 << 22) I'm now seeing: (XEN) (file=/t/niners/users/xen/xen-2.0-testing.bk/xen/include/asm/mm.h, line=157) Error pfn 00073000: ed=fc5f8040, sd=00000000, caf=00000000, taf=0000000a I know that comes from this: if ( unlikely((x & PGC_count_mask) == 0) || /* Not allocated? */ unlikely((nx & PGC_count_mask) == 0) || /* Count overflow? */ unlikely(d != domain) ) /* Wrong owner? */ { DPRINTK("Error pfn %08lx: ed=%p, sd=%p, caf=%08x, taf=%08x\n", page_to_pfn(page), domain, d, x, page->u.inuse.type_info); return 0; } But maybe you'll know off the top of your head what is wrong? -Kip > > > I tried 'xm save 0 foo' - which I'm not sure should be allowed - and > > saw the following: > > There should be a safety catch on this. DOM0 is definitely not > saveable! > > -- Keir > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl