From owner-freebsd-current@FreeBSD.ORG Mon Jul 21 23:33:13 2003 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 91E9037B401 for ; Mon, 21 Jul 2003 23:33:13 -0700 (PDT) Received: from hotmail.com (law10-oe12.law10.hotmail.com [64.4.14.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA3043FB1 for ; Mon, 21 Jul 2003 23:33:12 -0700 (PDT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Jul 2003 23:33:12 -0700 Received: from 142.173.139.189 by law10-oe12.law10.hotmail.com with DAV; Tue, 22 Jul 2003 06:33:12 +0000 X-Originating-IP: [142.173.139.189] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: References: Date: Tue, 22 Jul 2003 00:33:03 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 22 Jul 2003 06:33:12.0811 (UTC) FILETIME=[200603B0:01C3501B] Subject: Re: FreeBSD 5.1-R 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: Tue, 22 Jul 2003 06:33:14 -0000 Hi Thanks for your response, I do not have PAE enabled... I've been hesitant of turning it on, I'm not sure if it's too stable, I noticed that the asr driver is in the nodriver list in the PAE kernel config file and I use the asr driver for my Adaptec 2015S raid card. If you think its safe to enable PAE with my current setup, please let me know, I do have 2 more gig's of ram in this particular box that I'd like to enable if it doesn't compromise system stability. I will re-compile the kernel with the kern_malloc.c as you suggested, however I see that 1.126 fixes a PAE issue, so I'm not sure if that's going to help me out much. Where can I get information on how to get my kernel to provide a stack trace? I have done little of this type of troubleshooting, but would like to provide as much info before I'm forced to revert to 4.8-R in hopes to return stability to our system. If the new kernel with the updated kern_malloc.c doesn't help, I'll look at increasing the values you suggested. Thanks for the info, and I'll keep you posted with what I find. Thanks again, Stephane Raimbault ----- Original Message ----- From: "Bosko Milekic" Newsgroups: mailing.freebsd.current Sent: Monday, July 21, 2003 16:36 Subject: Re: FreeBSD 5.1-R kernel panic > > On Mon, Jul 21, 2003 at 03:01:24PM -0600, Stephane Raimbault wrote: > > I'm running FreeBSD 5.1-RELEASE with the SMP kernel and ran across the > > following kernel panic. > > > > panic: kmem_malloc(4096): kmem_map too small: 275251200 total allocated > > > > I'm trying to figure out what could be causing this, what kind of > > information that I could provide to this group (or other group?) to see if > > this is a bug in FreeBSD that needs to be looked into? > > > > The box is basically a busy apache server... the kernel panic seemed to > > occur during the periodic daily was running. It seems to complete the > > 440.status-mailq part of periodic daily , but doesn't do > > 450.status-security. > > > > This isn't the first time the box has crashed at aprox. 3:01 am (when daily > > runs)... however this is the first time I've seend the kernel panic message > > quoted above in the /var/run/dmesg.boot file. > > > > I have attached the entire /var/run/dmesg.boot file to this message. > > > > What can I do to assist in identifiying and resolving this problem? > > > > Thanks, > > Stephane Raimbault. > > Just a few things: > > 1) Do you have PAE enabled? > > 2) Can you upgrade to src/sys/kern/kern_malloc.c version 1.126 or > upgrade to HEAD? > > If you have PAE enabled and (2) does not fix your problem, then please > post a stack trace that resulted in the panic. You also have a lot of > RAM so if (2) above does not fix your problem, try setting the > kern.vm.kmem.size bootable to approximately 350,000,000 or so (even > 400,000,000 is OK as long as NMBCLUSTERS is not too-too high). > > -- > Bosko Milekic * bmilekic@technokratis.com * bmilekic@FreeBSD.org > TECHNOkRATIS Consulting Services * http://www.technokratis.com/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"