From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 19 15:50:21 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36ED216A406 for ; Fri, 19 Jan 2007 15:50:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E2BB013C44C for ; Fri, 19 Jan 2007 15:50:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0JFoK2h057903 for ; Fri, 19 Jan 2007 15:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0JFoKbx057902; Fri, 19 Jan 2007 15:50:20 GMT (envelope-from gnats) Resent-Date: Fri, 19 Jan 2007 15:50:20 GMT Resent-Message-Id: <200701191550.l0JFoKbx057902@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bill Moran Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4520716A402 for ; Fri, 19 Jan 2007 15:48:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3634413C441 for ; Fri, 19 Jan 2007 15:48:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0JFmbFZ087934 for ; Fri, 19 Jan 2007 15:48:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0JFmal4087933; Fri, 19 Jan 2007 15:48:36 GMT (envelope-from nobody) Message-Id: <200701191548.l0JFmal4087933@www.freebsd.org> Date: Fri, 19 Jan 2007 15:48:36 GMT From: Bill Moran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/108121: pmap.c panic message references a sysctl that doesn't exist X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 15:50:21 -0000 >Number: 108121 >Category: kern >Synopsis: pmap.c panic message references a sysctl that doesn't exist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 19 15:50:20 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Bill Moran >Release: Tested on both 6.1 and 6.2 >Organization: Collaborative Fusion Inc. >Environment: FreeBSD db00.lab00 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Thu Jan 18 17:19:48 EST 2007 root@db00.lab00:/usr/obj/usr/src/sys/DB-2850-amd64 amd64 >Description: See the following thread on -questions@ for some information: http://lists.freebsd.org/pipermail/freebsd-questions/2007-January/140286.html It appears as if pmap.c contains an error message suggesting the user increase a sysctl that doesn't exist: panic("no pv entries: increase vm.pmap.shpgperproc"); This panic string exists in the alpha, amd64, i386, and ia64 versions of pmap.c. It does not exist in the arm version. `sysctl -a | grep pmap` does not list any sysctls. The usual answer to this is to rebuild a kernel with PMAP_SHPGPERPROC set to a higher value. Not sure why the sysctl isn't available. >How-To-Repeat: Not sure how to reliably create the panic situation, but I don't believe that's the real issue. grepping the sysctl and the source should provide the rest of the information. >Fix: My preference would be to actually make the value tunable via sysctl, but I have no idea how difficult that would be. If it can no be made available via sysctl, the message should probably be changed to recommend rebuilding the kernel, as is done in sys/vm/vm_pageout.c >Release-Note: >Audit-Trail: >Unformatted: