Date: Fri, 22 Nov 1996 21:54:24 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: mrcpu@cdsnet.net (Jaye Mathisen) Cc: current@freebsd.org Subject: Re: AIIIIIEEEEEEEEEEEe redux. Problem found, but solution? Message-ID: <199611221124.VAA18895@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.NEB.3.95.961122005101.9350B-100000@mail.cdsnet.net> from Jaye Mathisen at "Nov 22, 96 00:53:09 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Jaye Mathisen stands accused of saying:
>
>
> OK, through the process of 8 kazillion kernel builds, I've narrowed it
> down to the following kernel config line:
>
> #options "NMBCLUSTERS='4096'"
I would suggest removing the quotes.
lovely:/sys/compile/LOVELY>grep NMBCLUSTERS *.[ch]
param.c:#ifndef NMBCLUSTERS
param.c:#define NMBCLUSTERS (512 + MAXUSERS * 16)
param.c:int nmbclusters = NMBCLUSTERS;
param.c:int nmbufs = NMBCLUSTERS * (MCLBYTES / MSIZE);
...
lovely:/tmp>cat foo.c
#include <stdio.h>
void main(void)
{
int foo = '4096';
printf("foo is %d\n",foo);
}
lovely:/tmp>gcc -o foo foo.c
foo.c: In function `main':
foo.c:5: warning: multi-character character constant
lovely:/tmp>./foo
foo is 875575606
No idea how your BSD/OS box dealt with that...
--
]] Mike Smith, Software Engineer msmith@gsoft.com.au [[
]] Genesis Software genesis@gsoft.com.au [[
]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[
]] realtime instrument control. (ph) +61-8-8267-3493 [[
]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611221124.VAA18895>
