Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 08:22:46 -0500
From:      Mikel King <mikel@ocsinternet.com>
To:        jun chen <chenjun@hefei.cngb.com>
Cc:        freebsd-questions@FreeBSD.ORG, majordomo@cn.FreeBSD.org
Subject:   Re: some questions
Message-ID:  <3A7FFAA6.1C825C28@ocsinternet.com>
References:  <3A7FC77E.714454B9@hefei.cngb.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--------------60790AEB3D57411F20284E16
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Did you read the LINT text? It clearly states that:

#
# NB: You probably don't want to try running a kernel built from this
# file.  Instead, you should start from GENERIC, and add options from
# this file as required.
#

Recommend you 'cp GENERIC WINKIE ' or whatever name you like and add
your 5 lines as LINT will not actually run on most systems because there
are bits that conflict with each other.


Cheers,
Mikel

jun chen wrote:

> Hi,Administrator:
>
>    We'r compiling the kernel of the FreeBSD 4.2 releases,steps like
> this:
> 1.copy /usr/src/sys/i386/conf/LINT to mykernel
>
> 2.edit and modify some parameters in the file of mykernel,such as:
>
> maxusers  256
> options         "MAXMEM=(512*1024)"
> options         "MAXDSIZ=(512*1024*1024)"
> options         "DFLDSIZ=(512*1024*1024)"
> options         NMBCLUSTERS=4096
>
> 3.then compile successfully and replace new kernel to the kernel file
> in the root directory.
>
> We think it's ok,when it is rebooted,the server can't load the new
> kernel and reboot again.
>
>
> Why it is,we need your answers.
>
>
> Thanks.
>
> Regards,
> Jack
>
>
>

--------------60790AEB3D57411F20284E16
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Did you read the LINT text? It clearly states that:
<p>#
<br># NB: You probably don't want to try running a kernel built from this
<br># file.&nbsp; Instead, you should start from GENERIC, and add options
from
<br># this file as required.
<br>#
<p>Recommend you 'cp GENERIC WINKIE ' or whatever name you like and add
your 5 lines as LINT&nbsp;will not actually run on most systems because
there are bits that conflict with each other.
<br>&nbsp;
<p>Cheers,
<br>Mikel
<p>jun chen wrote:
<blockquote TYPE=CITE><font size=+1>Hi,Administrator:</font>
<p><font size=+1>&nbsp;&nbsp; We'r compiling the kernel of the FreeBSD
4.2 releases,steps like this:</font>
<br><font size=+1>1.copy /usr/src/sys/i386/conf/LINT to mykernel</font>
<p><font size=+1>2.edit and modify some parameters in the file of mykernel,such
as:</font>
<p><font size=+1>maxusers&nbsp; 256</font>
<br><font size=+1>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"MAXMEM=(512*1024)"</font>
<br><font size=+1>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"MAXDSIZ=(512*1024*1024)"</font>
<br><font size=+1>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"DFLDSIZ=(512*1024*1024)"</font>
<br><font size=+1>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
NMBCLUSTERS=4096</font>
<p><font size=+1>3.then compile successfully and replace new kernel to
the kernel file in the root directory.</font>
<p><font size=+1>We think it's ok,when it is rebooted,the server can't
load the new kernel and reboot again.</font>
<br>&nbsp;
<p><font size=+1>Why it is,we need your answers.</font>
<br>&nbsp;
<p><font size=+1>Thanks.</font>
<p><font size=+1>Regards,</font>
<br><font size=+1>Jack</font>
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</blockquote>
</html>

--------------60790AEB3D57411F20284E16--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7FFAA6.1C825C28>