Subject: "failed to map ubc_object" panic on CATS (Re: IDE Breakage in 1.5:
To: None <port-arm32@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-arm32
Date: 02/09/2001 22:30:29
(moved to port-arm32)
In <200102081910.f18JA0i29279@trigati.home.net>
mpumford@black-star.demon.co.uk wrote:
> > My CATS uses the M5229 pciide chipset and I also got UDMA errors.
> > I have made some patches but -current CATS kernel cannot boot because of
> > "panic: ubc_init: failed to map ubc_object." Sigh..
> >
> You are running out of VM space in the kernel. You have two choices.
>
> * figure out how to rearrange memory mappings for the CATS to allow
> KERNEL_VM_SIZE to be bigger.
>
> * Change PMAP_STATIC_L1S in your kernel config to a smaller value (or reduce
> maxproc)
I reduce PMAP_STATIC_L1S=64 from 128, but the kernel still
does not boot. How many value is recommended?
(My CATS has 96MB RAM)
> If the comment in vmparam.h is to be believed there is no reason why
> KERNEL_VM_SIZE could not be increased on the CATS anyway. There are some
> patches which resolve the issue for the Risc PC/A7000 in PR12119.
I see the problem is lack of kernel VM space,
but what is proper solution? Increase KERNEL_VM_SIZE?
Reduce VM_MAX_KERNEL_BUF or PAGER_MAP_SIZE?
or something other?
I heard mips had the similar problem and it was caused
by lack of number of PTE.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp