From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 13 13:50:19 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C695916A4CF for ; Tue, 13 Jul 2004 13:50:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D63543D41 for ; Tue, 13 Jul 2004 13:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6DDoJki092704 for ; Tue, 13 Jul 2004 13:50:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6DDoJ4W092703; Tue, 13 Jul 2004 13:50:19 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jul 2004 13:50:19 GMT Resent-Message-Id: <200407131350.i6DDoJ4W092703@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, Peter Holm Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F59C16A4CE for ; Tue, 13 Jul 2004 13:44:10 +0000 (GMT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D96F143D58 for ; Tue, 13 Jul 2004 13:44:09 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 58965 invoked from network); 13 Jul 2004 13:44:08 -0000 Received: from 0x50a43fc7.hknxx1.adsl-dhcp.tele.dk (HELO current.osted.lan) (80.164.63.199) by relay.pair.com with SMTP; 13 Jul 2004 13:44:08 -0000 Received: from current.osted.lan (localhost [127.0.0.1]) by current.osted.lan (8.12.11/8.12.11) with ESMTP id i6DDi6TJ000802 for ; Tue, 13 Jul 2004 15:44:06 +0200 (CEST) (envelope-from pho@current.osted.lan) Received: (from pho@localhost) by current.osted.lan (8.12.11/8.12.11/Submit) id i6DDi6g1000801; Tue, 13 Jul 2004 15:44:06 +0200 (CEST) (envelope-from pho) Message-Id: <200407131344.i6DDi6g1000801@current.osted.lan> Date: Tue, 13 Jul 2004 15:44:06 +0200 (CEST) From: Peter Holm To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/68987: panic: kmem_malloc(163840): kmem_map too small X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Holm List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 13:50:19 -0000 >Number: 68987 >Category: kern >Synopsis: panic: kmem_malloc(163840): kmem_map too small >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 13 13:50:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Peter Holm >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD current.osted.lan 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jul 13 11:04:18 CEST 2004 pho@current.osted.lan:/usr/src/sys/i386/compile/PHO i386 >Description: Stress test of core dump via kse_create seems to create the problem, with "define PREEMPTION" removed from sys/i386/include/param.h. With PREEMPTION defined I get lock ups or these problems: http://www.holm.cc/stress/log/cons58.html http://www.holm.cc/stress/log/cons59.html http://www.holm.cc/stress/log/cons60.html Details of the current problem is at http://www.holm.cc/stress/log/cons61.html >How-To-Repeat: kse_create.c: int main(int argc, char **argv) { struct kse_mailbox mbx; int newgroup = 1; int r; int i; bzero(&mbx, sizeof(mbx)); mbx.km_version = 1912; for (i = 0; i < 499; i++) { r = kse_create(&mbx, newgroup); if (r == -1) err(1, "kse_create, %d", i); } return 0; } plus while true;do date ./kse_create& ./kse_create& wait;wait done >Fix: >Release-Note: >Audit-Trail: >Unformatted: