From owner-freebsd-questions Tue Feb 6 5:23:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id A023237B4EC for ; Tue, 6 Feb 2001 05:22:49 -0800 (PST) Received: from ocsinternet.com (localhost.upan.org [127.0.0.1]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f16DMkn53368; Tue, 6 Feb 2001 08:22:46 -0500 (EST) (envelope-from mikel@ocsinternet.com) Message-ID: <3A7FFAA6.1C825C28@ocsinternet.com> Date: Tue, 06 Feb 2001 08:22:46 -0500 From: Mikel King Organization: OCS Internet X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: jun chen Cc: freebsd-questions@FreeBSD.ORG, majordomo@cn.FreeBSD.org Subject: Re: some questions References: <3A7FC77E.714454B9@hefei.cngb.com> Content-Type: multipart/alternative; boundary="------------60790AEB3D57411F20284E16" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------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 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message