Port-xen archive

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

Re: Dom0 PAE panic when starting xend



On Tue, Mar 10, 2009 at 05:51:28PM +0100, Christoph Egger wrote:
> > I just tried with casting to paddr_t. Unfortunately, this doesn't fix
> > the mmu_update failure. xenevtmmap() runs twice before the
> > panic happens.
> 
> xen_start_info.store_mfn has the value 0x10088a.
> 
> That's not large enough that casting to paddr_t has an effect.

Yes, even after a << PAGE_SHIFT

x86_round_page(), x86_trunc_page() and x86_ptob() also need to be changed
from (unsigned long) to paddr_t. The other x86_* macros in the same block
are safe (only used on virtual addresses).

You issue is still likely an integer overflow somewhere; that's not
easy to track ...
What are the other machine addresses of your dom0 ?
the debug printfs in x86_pmap.c may help finding that ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index