home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!iem!andrew
- From: andrew@iem.com (Andrew Patterson)
- Subject: Re: Building HP Kernals
- Message-ID: <BzzJw0.Cp2@iem.com>
- Date: Mon, 28 Dec 1992 20:07:10 GMT
- References: <BzEHHs.G8G@hpuerca.atl.hp.com>
- Organization: IEM, Inc.
- X-Newsreader: Tin 1.1 PL4
- Lines: 73
-
- der@hpuerca.atl.hp.com (Dave Ritchie) writes:
- : In <1gniefINN7am@loon.graphics.cornell.edu> hurf@boa.graphics.cornell.edu (Hurf Sheldon) writes:
- :
- : >In article <1992Dec16.015005.1043@nb.rockwell.com>, lccha@nb.rockwell.com (Lloyd C. Cha) writes:
- : >|> A question for HP Kernal hackers:
- : >|>
- : >|> I am trying to modify several parameters in our HP-UX 8.07 kernal running on
- : >|> HP 9000 series 730 machines. Specifically, the parameters NPROC and MAXFILES.
- : >|> The procedure I have been following is:
- : >|>
- : >|> 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 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 have found that some kernal parameters will not change unless changed in /etc/master.
- : >Sam ususlly reports the correct kernal parameter value - adb will report
- : >incorrectly large values to kernal parameters under 8.07 (why?) as will monitor.
- :
- : >--
- : > Hurf Sheldon Network: hurf@graphics.cornell.edu
- : > Program of Computer Graphics Phone: 607 255 6713
- : > 580 Eng. Theory Center, Cornell University, Ithaca, N.Y. 14853
- : >
- :
- : Actually, you should be modifying your dfile and not fiddling with /etc/master
- : at all - uxgen should take care of this..... uncertain of what affect this
- : has on sam, which does use dfile's to generate kernels - this may just be
- : a syncronization problem caused by intermixing sam and manual configuration
- : usage.
-
- Uxgen is used on S800 systems. S800 do not use a dfile, instead they
- used something called an "infile". This is usually located in
- /etc/conf/gen/S800. On all systems, SAM reads the /hp-ux file to
- found out what the current settings for everything is. It does not
- use /etc/conf/dfile, although /etc/master is used. Dfiles are used
- when relinking the kernel by hand. SAM generates a dfile called
- /etc/conf/dfile.SAM to use as a reference after it relinks the kernel.
- Note that you can use different dfiles other than /etc/conf/defile
- by specify the filename with the config program. The steps needed to
- create a new kernel for S300/400/700 systens by hand are:
-
- 1. modify the master and dfile file
- 2. run config (you can specify which master and file to use on the
- command line)
- 3. run "make config -f config.mk"
- 4. mv hp-ux /hp-ux
- 5. reboot
-
-
-
- :
- : -- Dave Ritchie
- : der@hpuerca.atl.hp.com
-
-
- Andrew Patterson
- andrew@iem.com
-
- --
-
-
-
- Regards,
-