home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!col.hp.com!fc.hp.com!mckee
- From: mckee@fc.hp.com (Bret Mckee)
- Subject: Re: Building HP Kernals
- Sender: news@fc.hp.com (news daemon)
- Message-ID: <BzD1H9.E58@fc.hp.com>
- Date: Wed, 16 Dec 1992 16:22:20 GMT
- References: <1992Dec16.015005.1043@nb.rockwell.com>
- Organization: Hewlett-Packard Fort Collins Site
- X-Newsreader: TIN [version 1.1.3 PL6]
- Lines: 35
-
- Lloyd C. Cha (lccha@nb.rockwell.com) wrote:
- : 1) make the changes in the #define statements of the conf.c file
- : in /etc/conf
- :
- : so I have: #define NPROC (20+8*MAXUSERS+(NGCSP))*3
- : #define MAXFILES 256
- :
- : 2) execute make -f config.mk in the same directory.
-
- The best way to do this is to modify the parameters from SAM and
- let it rebuild the kernel for you.
-
- Assuming that for whatever reason you don't want to use SAM to modify
- the paramaters and build a kernel, you should be modifying the file
- /etc/conf/dfile, which contains the tunables. Then (from /etc/conf)
- execute "/etc/config dfile", which will create a conf.c from the dfile.
- Then execute "make -f config.mk", and then "mv hp-ux /"
-
-
- In dfile, the lines you add will be
-
- nproc (20+8*MAXUSERS+(NGCSP))*3
- maxfiles 256
-
- : The conf.o file gets rebuilt, as does the hp-ux kernal. However, when I
- : examine the kernal using SAM after rebooting, I find that the nproc value
- : still has the incorrect value. I was not able to locate the MAXFILES parameter
- : within SAM (does anyone have a way of checking the value of this by reading
- : the kernal?), but I think that also was not set.
-
- I expect that the parameters might have actually been changed, but that the
- way SAM gets them from the kernel was fooled by how you rebuilt the kernel.
-
-
- Bret
-