From nobody  Thu Sep  3 13:17:23 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA12067;
          Thu, 3 Sep 1998 13:17:23 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199809032017.NAA12067@hub.freebsd.org>
Date: Thu, 3 Sep 1998 13:17:23 -0700 (PDT)
From: bifrost@dis.org
To: freebsd-gnats-submit@freebsd.org
Subject: Machine Reboots without reason
X-Send-Pr-Version: www-1.0

>Number:         7822
>Category:       kern
>Synopsis:       Machine Reboots without reason
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  3 13:20:00 PDT 1998
>Closed-Date:    Sun Nov 21 09:34:03 PST 1999
>Last-Modified:  Sun Nov 21 09:35:11 PST 1999
>Originator:     Thomas Sparks
>Release:        2.2.7-RELEASE
>Organization:
The DOC
>Environment:
FreeBSD bifrost.dis.org 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Thu Aug 20 16:20:14 PDT 1998     root@BIFROST.DIS.ORG:/usr/src/sys/compile/ME-FREEBSD  i386
>Description:
This machine is a 400MHZ PII
The Motherboard is an Intel 100mhz bus board.
Using an Adaptec 2940U and an IBM SCSI Drive, there is an onboard NCR SCSI controller that is disabled.
This machine has 1GB of ram.
When the /etc/weekly script runs, the machine reboots.
This does not appear to be a hardware problem.
>How-To-Repeat:
run the /etc/weekly script.
>Fix:
none
>Release-Note:
>Audit-Trail:

From: bifrost@dis.org
To: freebsd-gnats-submit@freebsd.org, bifrost@dis.org
Cc:  Subject: Re:kern/7822:MachineRebootswithoutreason
Date: Sun, 6 Sep 1998 20:44:57 -0700 (PDT)

 I finally got a console on the machine, and I got an error message out
 of it...
 
 (copied by hand)
 panic : kmem_malloc : kmem_map too small
 then it drops me into the debugger
 
 still no signs of if this is a HW problem
 

From: Andreas Klemm <andreas@klemm.gtn.com>
To: freebsd-gnats-submit@freebsd.org, bifrost@dis.org
Cc:  Subject: Re: kern/7822: Machine Reboots without reason
Date: Sun, 04 Oct 1998 13:24:22 +0200

 Could you please describe your envirenment more precisely ?
 I would expect at least a copy of your kernel configuration file or do
 you still run a GENERIC kernel ?
 Maybe you have to increase things like maxusers variable or NMBCLUSTERS.
 
 In the kernel sources I found:
 
 vm/vm_kern.c around line 288:
 
          * Locate sufficient space in the map.  This will give us the
 final
          * virtual address for the new memory, and thus will tell us the
 
          * offset within the kernel map.
          */
         vm_map_lock(map);
         if (vm_map_findspace(map, vm_map_min(map), size, &addr)) {
                 vm_map_unlock(map);
                 if (map == mb_map) {
                         mb_map_full = TRUE;
                         printf("Out of mbuf clusters - adjust
 NMBCLUSTERS or inc
 rease maxusers!\n");
                         return (0);
                 }
                 if (waitflag == M_WAITOK)
                         panic("kmem_malloc(%d): kmem_map too small: %d
 total all
 ocated",
                                 size, map->size);
                 return (0);
         }
 
 Since you have an enormous amount of main memory perhaps some kernel
 settings
 badly need finetuning. Am not sure but perhaps some kernel parameters
 are adjusted
 by memory size and some not, so that there is a demand of increasing
 some values
 to fit the others ? Just a vague guess ....
 
 --
 Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
      What gives you 90% more speed, for example, in kernel compilation ?
           http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
              "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: n_hibma 
State-Changed-When: Tue Jul 20 02:58:55 PDT 1999 
State-Changed-Why:  
Andreas Klemm posted a possible solution to the problem. 


Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Tue Jul 20 02:58:55 PDT 1999 
Responsible-Changed-Why:  
Make sure I close this report in a few weeks time. 2.2.x is no longer 
supported. 

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org, bifrost@dis.org
Cc:  
Subject: Re: kern/7822: Machine Reboots without reason
Date: Tue, 20 Jul 1999 12:00:49 +0200

 Did fine tuning the kernel settings solve your problem?
 
 If not, could you post the dmesg of your machine plus the kernel
 configuration file (or GENERIC if you did not customise your settings?
 
 Did you upgrade your machine to 3.x-STABLE in the meantime? Or 2.2.8?
 Did that solve your problem?
 
 Nick
 -- 
 Paranoid:
    perl -e 'use strict;' -e ...
 
 ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
 

From: Alexander Langer <alex@cichlids.com>
To: freebsd-gnats-submit@freebsd.org, bifrost@dis.org
Cc:  
Subject: Re: kern/7822: Machine Reboots without reason
Date: Sun, 21 Nov 1999 15:05:19 +0100 (CET)

 The the last change - you wanted to close it.
 Please do.
 
 Thank you :)
 
 Alex
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: n_hibma 
State-Changed-When: Sun Nov 21 09:34:03 PST 1999 
State-Changed-Why:  
2.2.8 is old. 
>Unformatted:
