Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 22:35:44 +0200 (CEST)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Raul Zighelboim <rzig@verio.net>
Cc:        "'hackers@freebsd.org'" <hackers@FreeBSD.ORG>
Subject:   Re: kmem_map too small
Message-ID:  <Pine.NEB.3.95.980420223004.22421A-100000@korin.warman.org.pl>
In-Reply-To: <A03CD00C69B1D01195AB00A024ECEB167F9DCE@kaori.communique.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Apr 1998, Raul Zighelboim wrote:

> 
> Hello there..... How do you prevent thius from happening under
> 2.2-stable as of yesterday ?
> 
> c: kmem_malloc: kmem_map too small
> 
> syncing disks... panic: kmem_malloc: kmem_map too small
> Automatic reboot in 15 seconds - press a key on the console to abort
> Rebooting...

1. Edit file /sys/i386/include/vmparam.h. Somewhere near the end you'll
   find the #define VM_KMEM_SIZE. Multiply the define by two.
2. Go to /usr/src/release/floppies/boot and make boot floppy (I'm pretty
   sure you'll have to tweak something on a 2.2.x system... :-( )

If nothing comes out of it, grab the file:
	ftp://ftp.freebsd.org/pub/FreeBSD/incoming/cam-boot.tgz

This was prepared to make use of CAM support, but this kernel has
no bounce buffers and increased kmem_map, so you should be ok.

Andrzej Bialecki

--------------------+---------------------------------------------------------
abial@nask.pl       | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") }
Research & Academic | "Be open-minded, but don't let your brains to fall out."
Network in Poland   | All of the above (and more) is just my personal opinion.
--------------------+---------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.980420223004.22421A-100000>