[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 04:30:13PM +0100, Jean-Yves Migeon wrote:
> Reading xsd_kva code around its mmap routine (xenevtmmap() in
> arch/xen/xen/xenevt.c), it is using x86_btop which casts away to
> unsigned long, which could be wrong with PAE (paddr_t being unsigned
> long long).
Good catch; x86_btop() needs to be fixed as it could break other
things. For the problem to show up you need to have 4G or more RAM though
(which might also explain why it doesn't cause problems for some).
The problem is that x86_btop() is used for both physical and virtual addresses,
which doesn't fit very well PAE. Maybe just casting to paddr_t would be good
Manuel Bouyer, LIP6, Universite Paris VI.
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |