From owner-freebsd-current@FreeBSD.ORG Fri Mar 5 04:27:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2853416A4CE for ; Fri, 5 Mar 2004 04:27:17 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA13543D5D for ; Fri, 5 Mar 2004 04:27:16 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id i25CQcqQ030632; Fri, 5 Mar 2004 02:26:38 -1000 (HST) Received: from localhost (vince@localhost)i25CQcfM030629; Fri, 5 Mar 2004 02:26:38 -1000 (HST) Date: Fri, 5 Mar 2004 02:26:38 -1000 (HST) From: Vincent Poy To: Andrew Gallatin In-Reply-To: <20040304084600.I8264-100000@oahu.WURLDLINK.NET> Message-ID: <20040305022435.M8264-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: -CURRENT kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 12:27:17 -0000 On Thu, 4 Mar 2004, Vincent Poy wrote: > On Thu, 4 Mar 2004, Andrew Gallatin wrote: > > > Vincent Poy writes: > > > > > > options VM_KMEM_SIZE_MAX=(768*1048576) > > > options VM_KMEM_SIZE_SCALE=2 > > > > > > to the kernel config file to fix this. Is this eventually going to be > > > fixed? I looked at the coverstation between Terry Lambert and David but > > When I did the above, the kernel panic right after this > immediately so that didn't work either: > > Copyright (c) 1992-2004 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.2-CURRENT #0: Thu Mar 4 06:00:43 PST 2004 > vince@bigbang.DNALOGIC.NET:/usr/obj/usr/src/sys/BIGBANG > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a13000. > Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a131cc. > Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a13278. > Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc0a13324. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a1336c. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.60GHz (2592.37-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > > Features=0xbfebf9ff AT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > real memory = 2147360768 (2047 MB) > avail memory = 2095669248 (1998 MB) > > > Just add vm.kmem_size=VALUE to /boot/loader.conf. That way you don't > > need to rebuild a kernel. I run with vm.kmem_size=429391872 Just tried what you mentioned and the kernel panics at the same spot above on vm_kern.c. I'm glad I cloned my drives on a nightly basis so I booted with the 2nd drive to fix the /boot/loader.conf by removing the line before rebooting. > > Even after bumping the limits, I'm seeing a repeatable panic when > > allocating a large amount of kernel memory ("panic: pmap_enter: > > attempted pmap_enter on 4MB page"). See yesterday's message > > with that subject for details.. Doesn't work for me because is this actually a kernel bug as there were no panics with the same system/kernel config with the September 23, 2003 -current. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin