From andrew@house.key.net.au  Sun Apr 27 18:19:45 1997
Received: from house.key.net.au (root@[203.35.4.2])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA10381
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Apr 1997 18:19:42 -0700 (PDT)
Received: (from andrew@localhost)
	by house.key.net.au (8.8.5/8.8.5) id LAA06707;
	Mon, 28 Apr 1997 11:19:39 +1000 (EST)
Message-Id: <199704280119.LAA06707@house.key.net.au>
Date: Mon, 28 Apr 1997 11:19:39 +1000 (EST)
From: Andrew <andrew@house.key.net.au>
Reply-To: andrew@ugh.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: MAXMEM uses maths in LINT
X-Send-Pr-Version: 3.2

>Number:         3400
>Category:       docs
>Synopsis:       MAXMEM uses maths in LINT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 18:20:01 PDT 1997
>Closed-Date:    Wed May 27 03:43:59 PDT 1998
>Last-Modified:  Wed May 27 03:47:30 PDT 1998
>Originator:     Andrew
>Release:        FreeBSD 2.1.7-RELEASE i386
>Organization:
>Environment:

	

>Description:

	/usr/src/sys/i386/conf/LINT contains the line:

	options         "MAXMEM=(128*1024)"

	yet this will make a kernel compile fail.

>How-To-Repeat:

	

>Fix:
	
Change the line in /usr/src/sys/i386/conf/LINT that says:

options         "MAXMEM=(128*1024)"

to read:

options         "MAXMEM=(131072)"

A patch (just 'cause this is one of the few bug sI know how to fix :-) would be:

*** LINT        Sun Nov 10 22:21:15 1996
--- LINT.new    Mon Apr 28 11:16:32 1997
***************
*** 431,437 ****
options               "AUTO_EOI_1"
#options      "AUTO_EOI_2"
options               BOUNCE_BUFFERS
! options               "MAXMEM=(128*1024)"
options      DUMMY_NOPS
#options        "TUNE_1542"
#options      "BROKEN_KEYBOARD_RESET"
--- 431,437 ----
options               "AUTO_EOI_1"
#options      "AUTO_EOI_2"
options               BOUNCE_BUFFERS
! options               "MAXMEM=(131072)"
#options      DUMMY_NOPS
#options        "TUNE_1542"
#options      "BROKEN_KEYBOARD_RESET"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Wed May 27 03:43:59 PDT 1998 
State-Changed-Why:  
config(8) is now well behaved in -current and -stable.   
>Unformatted:
