From owner-freebsd-hackers Mon Apr 20 13:33:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09442 for freebsd-hackers-outgoing; Mon, 20 Apr 1998 13:33:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA09326 for ; Mon, 20 Apr 1998 20:32:50 GMT (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id WAA25015; Mon, 20 Apr 1998 22:35:45 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Mon, 20 Apr 1998 22:35:44 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Raul Zighelboim cc: "'hackers@freebsd.org'" Subject: Re: kmem_map too small In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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