Port-xen archive

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

Re: panic: iomem allocation failure



On Mon, Nov 02, 2009 at 11:07:26AM -0500, Thor Lancelot Simon wrote:
> On Mon, Nov 02, 2009 at 03:56:33PM +0100, Manuel Bouyer wrote:
> > 
> > If would be interesting to print what's happening in these functions between
> > bge_attach and extent_alloc_region. AFAIK, memory-mapped IO can't be
> > above 4Gb on x86, even on 64bit systems (or at last NetBSD doesn't support 
> > it
> > in the native case).
> 
> It should work on amd64 -- the pci code has functions to handle 64-bit DMA,
> doesn't it?

it has, but from what I understood we're not talking about DMA addresses
here, but memory-mapped registers addresses.

> -- the negotation of dual address cycle on parallel pci is
> supposed to be magically handled behind the OS's back, I thought, and the
> addresses just get wider, no?

This is what I understood too

> 
> It might be a lot more complicated with PAE, I don't know.

not really, the same bus_dma backed is used and paddr_t is 64bit in
this case.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index