Subject: Re: XEN0 and RAID (What I really wanted)
To: Tonnerre LOMBARD <tonnerre@bsdprojects.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/09/2006 21:01:36
On Thu, Mar 09, 2006 at 08:42:00PM +0100, Manuel Bouyer wrote:
> On Thu, Mar 09, 2006 at 12:58:22PM +0100, Tonnerre LOMBARD wrote:
> > Salut,
> > 
> > On Thu, Mar 09, 2006 at 10:51:31AM +0100, Manuel Bouyer wrote:
> > > There should be a 1s delay between
> > > aac0: interrupting at irq 26, event channel 4
> > > and
> > > aac0: error establishing init structure
> > > 
> > > is it what you see, or is the delay between the 2 lines much shorter ?
> > 
> > It is about 30 seconds.
> 
> Ha, this is right, I don't know where I got the idea that
> AAC_IMMEDIATE_TIMEOUT is 1. It's really 30 :)
> 
> So something in the device mappings may not be right. I suspect
> bus_dmamem_alloc() isn't returning really contigous memory in some
> case, but this would need to be verified (other devices require
> contigous memory and works fine).

On second though I don't think this can be the issue. This happens
at boot in domain0, and we should not have swapped pages with the
hypervisor yet. When domain0 is started physical RAM is contigous,
and there's just an offset between physical and machine addresses.

Still, it would be good to check that we really get contigous memory.

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