From owner-freebsd-stable@FreeBSD.ORG Fri Jan 26 23:14:06 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD62A16A400 for ; Fri, 26 Jan 2007 23:14:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 7F70A13C481 for ; Fri, 26 Jan 2007 23:14:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l0QMsujH049398; Fri, 26 Jan 2007 15:55:01 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45BA86B6.3090609@samsco.org> Date: Fri, 26 Jan 2007 15:54:46 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Pekka Savola References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Fri, 26 Jan 2007 15:55:01 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: panic: kmem_malloc boot error w/ 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 23:14:06 -0000 Pekka Savola wrote: > Hello, > > (Not subscribed, let's hope this gets through..) > > I saw the strangest case I've yet seen today when upgrading a dual-P3 > system using sources (buildworld etc.) from FreeBSD 5.5 to RELENG_6 > (6.2). The system paniced at boot with a message like: > > panic: kmem_malloc(-1059844096): kmem_map too small: 2990080 total > allocated > > This seemed to be just before one would mount the root filesystem. > > GENERIC kernel on 6.2-RELEASE boot CD worked though. FreeSBIE 2.0 > kernel (6.2-RELEASE) panicked in the same way, as well as another Rescue > CD based on FreeBSD 6.1. > > I did a fair bit of bisecting (about 10 compiles) to find out which > feature in GENERIC removes this panic, and came to a suprising conclusion: > > makeoptions DEBUG=-g > > .. when I added this, boot works fine. When removing it, you get the > panic. > > Strange, huh? :-/ > > > Below is a snippet of the boot log: Please compile KDB and DDB into your kernel so we can see exactly where the panic is happening. Scott