home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / hp / 14388 < prev    next >
Encoding:
Text File  |  1992-12-28  |  3.2 KB  |  85 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!iem!andrew
  3. From: andrew@iem.com (Andrew Patterson)
  4. Subject: Re: Building HP Kernals
  5. Message-ID: <BzzJw0.Cp2@iem.com>
  6. Date: Mon, 28 Dec 1992 20:07:10 GMT
  7. References: <BzEHHs.G8G@hpuerca.atl.hp.com>
  8. Organization: IEM, Inc.
  9. X-Newsreader: Tin 1.1 PL4
  10. Lines: 73
  11.  
  12. der@hpuerca.atl.hp.com (Dave Ritchie) writes:
  13. : In <1gniefINN7am@loon.graphics.cornell.edu> hurf@boa.graphics.cornell.edu (Hurf Sheldon) writes:
  14. : >In article <1992Dec16.015005.1043@nb.rockwell.com>, lccha@nb.rockwell.com (Lloyd C. Cha) writes:
  15. : >|> A question for HP Kernal hackers:
  16. : >|> 
  17. : >|> I am trying to modify several parameters in our HP-UX 8.07 kernal running on
  18. : >|> HP 9000 series 730 machines.  Specifically, the parameters NPROC and MAXFILES.
  19. : >|> The procedure I have been following is:
  20. : >|> 
  21. : >|>    1) make the changes in the #define statements of the conf.c file
  22. : >|>       in /etc/conf
  23. : >|> 
  24. : >|>       so I have:   #define NPROC    (20+8*MAXUSERS+(NGCSP))*3
  25. : >|>                    #define MAXFILES 256
  26. : >|> 
  27. : >|>    2) execute make -f config.mk in the same directory.
  28. : >|> 
  29. : >|> The conf.o file gets rebuilt, as does the hp-ux kernal.  However, when I
  30. : >|> examine the kernal using SAM after rebooting, I find that the nproc value
  31. : >|> still has the incorrect value.  I was not able to locate the MAXFILES parameter
  32. : >|> within SAM (does anyone have a way of checking the value of this by reading
  33. : >|> the kernal?), but I think that also was not set.
  34. : >I have found that some kernal parameters will not change unless changed in /etc/master.
  35. : >Sam ususlly reports the correct kernal parameter value - adb will report
  36. : >incorrectly large values to kernal parameters under 8.07 (why?) as will monitor. 
  37. : >-- 
  38. : >     Hurf Sheldon             Network: hurf@graphics.cornell.edu
  39. : >     Program of Computer Graphics     Phone:   607 255 6713
  40. : >     580 Eng. Theory Center, Cornell University, Ithaca, N.Y. 14853  
  41. : >     
  42. : Actually, you should be modifying your dfile and not fiddling with /etc/master
  43. : at all - uxgen should take care of this..... uncertain of what affect this
  44. : has on sam, which does use dfile's to generate kernels - this may just be
  45. : a syncronization problem caused by intermixing sam and manual configuration
  46. : usage.
  47.  
  48. Uxgen is used on S800 systems.  S800 do not use a dfile, instead they
  49. used something called an "infile".  This is usually located in 
  50. /etc/conf/gen/S800.  On all systems, SAM reads the /hp-ux file to
  51. found out what the current settings for everything is.  It does not
  52. use /etc/conf/dfile, although /etc/master is used.  Dfiles are used
  53. when relinking the kernel by hand.  SAM generates a dfile called
  54. /etc/conf/dfile.SAM to use as a reference after it relinks the kernel.
  55. Note that you can use different dfiles other than /etc/conf/defile
  56. by specify the filename with the config program.  The steps needed to
  57. create a new kernel for S300/400/700 systens by hand are:
  58.  
  59.   1. modify the master and dfile file
  60.   2. run config  (you can specify which master and file to use on the
  61.                   command line)
  62.   3. run "make config -f config.mk"
  63.   4. mv hp-ux /hp-ux
  64.   5. reboot
  65.  
  66.  
  67.  
  68. : -- Dave Ritchie
  69. : der@hpuerca.atl.hp.com
  70.  
  71.  
  72. Andrew Patterson
  73. andrew@iem.com
  74.  
  75. -- 
  76.  
  77.  
  78.  
  79. Regards,
  80.