Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 02:26:38 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        current@freebsd.org
Subject:   Re: -CURRENT kernel panic
Message-ID:  <20040305022435.M8264-100000@oahu.WURLDLINK.NET>
In-Reply-To: <20040304084600.I8264-100000@oahu.WURLDLINK.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040305022435.M8264-100000>