Subject: Re: vm/vm.h
To: None <Jan-Uwe.Finck@bigfoot.de>
From: Richard Earnshaw <rearnsha@arm.com>
List: port-arm32
Date: 07/17/2000 17:27:57
> On Mon, Jul 17, 2000 at 10:56:10AM +0200, Ignatios Souvatzis wrote:
> > On Mon, Jul 17, 2000 at 10:49:40AM +0200, Jan-Uwe Finck wrote:
> > > Ahh... Thanks.
> > > So could you just have a look into
> > > /usr/src/sys/arch/arm32/vidc/console/vidcconsole.c ?
> > > 
> > > If I didn't get it completely wrong vm.h is still included in there..
> > 
> > Try to remove that #include line completely or replace it with uvm/uvm.h
> 
> That didn't work as well.
> Both die at cpu_startup with an error message like :
> can't allocate UVM space for buffers
> 
> What a pity. And nobody out there sees the same error ? 
> 

Yep, I know what the problem is, just haven't had time to report it yet.

You need to modify kern/kern_allocsys.c to include uvm/uvm_param.h.  
Without it, the number of nbufs isn't constrained and we then try to map 
more vm space for the buffers than we have available.

R.