Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newkernel(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

config



NEWKERNEL(8,C)              AIX Commands Reference               NEWKERNEL(8,C)



-------------------------------------------------------------------------------
newkernel



PURPOSE

Configures, builds and installs new AIX kernels.

SYNTAX


                     +-------+  +--------------+  +---------------+
/usr/sys/newkernel --|       |--|              |--|               |--|
                     +- -d --+  +-- -install --+  +- -systemfile -+


DESCRIPTION

The newkernel command takes data from the /etc/master and the /etc/system
description files and builds a kernel as specified by those files.  The command
runs config with appropriate arguments to build a configuration summary.  It
then uses the configuration summary to build a stubout file for features not
configured in, a linker alias file to bring in device drivers, and an ldminit
patchdeck to set the configuration constants to appropriate values.  The
newkernel command uses these files and the files in /usr/sys/cpu_type (where
cpu_type represents the type of machine for which your kernel is built) as
input to ld to build a kernel.

A copy of the new kernel is installed in /local/unix.std if -install was
specified; the previous version of /local/unix.std is saved as /local/unix.last
and copies of kernel from previous build is saved as unix.VERS, where VERS is a
serial number indicating the number of the build.  If newkernel is not invoked
with the -install option, the new kernel is not installed after it is built;
the kernel is stored in /tmp/sysgen.cpu_type.

The -systemfile argument is used to specify a configuration file other than the
default configuration (/etc/system).

FLAGS

-d               Echoes each command as it is executed (for use as a debugging
                 tool).

-install         Installs the new kernel into /local/unix.std and moves the
                 previous unix.std to unix.last.  Previous kernel builds and
                 patchdecks are saved in /local/unix.std.VERS and
                 /local/patchdeck.VERS, respectively.

FILES

/usr/sys/cf/GENLD.awk     System configuration file.



Processed November 8, 1990      NEWKERNEL(8,C)                                1





NEWKERNEL(8,C)              AIX Commands Reference               NEWKERNEL(8,C)



/usr/sys/cf/stubout.file  System configuration file.
/usr/sys/cf/ifile         System configuration file.
/etc/master               Default master configuration file.
/etc/system               Default system configuration file.

RELATED INFORMATION

See the following command:  "config."

See the topic "Generating a New Kernel" in Managing the AIX Operating System.













































Processed November 8, 1990      NEWKERNEL(8,C)                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026