home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 14131 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.7 KB  |  48 lines

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