Subject: Re: NetBSD-current panics (fixed)
To: Tsubai Masanari <tsubai@iri.co.jp>
From: Mike Bush <mike@ieaccess.com>
List: port-macppc
Date: 03/08/2001 14:51:12
Neat! It worked... you rock! ;P

I put a patched GENERIC kernel (1.5S) at
http://www.the-ether.net/netbsd.GENERIC.tar.gz if anyone wants it for some
reason. I'm guessing not many people have had this problem.

Mike

----- Original Message -----
From: "Tsubai Masanari" <tsubai@iri.co.jp>
To: "Mike Bush" <mike@ieaccess.com>
Cc: <port-macppc@netbsd.org>
Sent: Wednesday, March 07, 2001 12:35 PM
Subject: Re: NetBSD-current panics


> >[something like this]
> >panic: ubc_init: unable to allocate ubc_object
>
> Try this patch.
>
> *** vmparam.h~ Thu Mar  8 05:34:06 2001
> --- vmparam.h Thu Mar  8 05:34:23 2001
> ***************
> *** 91,103 ****
>
>   /* XXX max. amount of KVM to be used by buffers. */
>   #ifndef VM_MAX_KERNEL_BUF
> ! #define VM_MAX_KERNEL_BUF (SEGMENT_LENGTH * 7 / 10)
>   #endif
> -
> - /*
> -  * Override the default pager_map size, there's not enough KVA.
> -  */
> - #define PAGER_MAP_SIZE (4 * 1024 * 1024)
>
>   #define VM_PHYS_SIZE (USRIOSIZE * NBPG)
>
> --- 91,98 ----
>
>   /* XXX max. amount of KVM to be used by buffers. */
>   #ifndef VM_MAX_KERNEL_BUF
> ! #define VM_MAX_KERNEL_BUF (SEGMENT_LENGTH * 6 / 10)
>   #endif
>
>   #define VM_PHYS_SIZE (USRIOSIZE * NBPG)
>
>