Configuring Systems Without Source; Adding New Device Drivers - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Building Sun Workstation Kernels
Kernel Building Process
To configure a profiled kernel, use the
-p
option with config. A profiled kernel is about 5-10%
larger in its text space due to the calls to count the subroutine invocations. When the kernel
executes, the profiling data is stored in a buffer which is 1.2 times the size of the text space.
The overhead for running a profiled kernel varies; under normal load we see anywhere from 5-
25% of the kernel time spent in the profiling code.
Note that kernels configured for profiling should not be shared as described above unless all the
other shared kernels are also to be profiled.
1.7. Configuring Systems without Source
Object only releases have binaries for standard system modules in the directory I
~Y~I
OBJ.
Using these binaries you can create new configurations and add new device drivers to the kernel.
The following lines from the GENERIC config file must be in every config file for object-only
distributions:
machine
sun
cpu "SUN2"
options
"INET"
pseudo-device
inet
pseudo-device
ether
pseudo-device
loop
controller m bO at nex us !
If you include these lines you can make any changes you wish to the configuration file, provided
you do not configure in more devices of a particular type than are allowed by the distributed
object code in .. IOBJ. Attempting to do so will not be detected and may cause the kernel to
appear to work but have only occasional failures. Double check the .h files in .. IOBJ if you
change the number of devices configured for any standard drivers.
1.S. Adding New Device Drivers
New device drivers require entries in the files I
~Y~I ~unl
conl.c, I
~Y~I
conll
fde~.~un,
and possibly
I 8Y81 8unl 8wapgeneric.c and 8unl device8.8un. New devices also require one or more new special
files to be added to the I dev directory. See the Device Driver Manual in the
Sy~tem
Internal8
Manual lor the Sun UNIX Sydem.
7 January 1984
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents