
Included in this file are 3 object files and 2 shell scripts.

The 3 object files are used to update the kernel libraries which
were used to build the Coherent 4.0 kernel when you installed your
system. These updates will give users with the flakiest of keyboards
the ability to use virtual consoles with non-loadable keyboard
tables.

Before jumping into building a new kernel, you must make the
devices for color and/or monochrome devices. Following are
major and minor numbers for these devices (all are character
special devices):

/dev/color0	2, 64
/dev/color1	2, 65
/dev/color2	2, 66
/dev/color3	2, 67

/dev/mono0	2, 80
/dev/mono1	2, 81
/dev/mono2	2, 82
/dev/mono3	2, 83

Use the mknod command to create these devices in the /dev/directory.

Copy the file /conf/gen/patches to somewhere safe. In fact, make a copy
of the directory /conf/gen for safety's sake.

Edit the file /conf/gen/patches. Add this line to the top of the
file:

/conf/patch /mnt/coherent VTMONO=X:c VTVGA=X:c

IMPORTANT NOTE: change 'X' to the number of virtual console sessions
you want active (0 through 4, max of 4 sessions).

Run the script 'update_kernel', sit back and enjoy the ride.

update_kernel will update the appropriate kernel libraries and
then invoke the kgen script. The kgen script will actually build
the new kernel for you as /testcoh.

Now comes the tricky part, testing the new kernel. You will have
to bring the system to single user mode and edit /etc/ttys. Remove
the entry for /dev/console and insert entries for the virtual
console sessions you want enabled. Examples:

1lPcolor0
1lPcolor1
1lPmono0
1lPmono1

sync and reboot the system, selecting the new kernel as described
when you run the update_kernel script.

If you have problems and need to reboot your old kernel, boot the
old kernel and break out of fsck with a CtrlC, edit /etc/ttys (disable the
color devices and insert an enabled console entry), sync and boot the
old kernel again.
