Problem
After installing SCO OpenServer Release 5 on a Pentium machine, my console locks intermittently. It happens sporadically when using the numlock or capslock key. Slowing the clock rate on the machine seems to help.
Cause
There is a timing loop in the kernel's keyboard driver that is not long enough for some of the faster Pentium machines.
Solution
A Support Level Supplement SLS OSS424a is now available which
addresses this problem. This supplement consists of a new
console keyboard driver which can be installed as a boot-time
loadable driver (BTLD) or as a custom-installable driver.If you do not have access to OSS424a and urgently need this patch, you can manually patch the keyboard driver using /etc/_fst. Lengthening the timing loop has corrected this problem in many cases.
To change the value of the keyboard timing loop, take these steps:
1. Shutdown to single user mode2. Change to the directory /etc/conf/pack.d/cn3. Make a backup of the Driver.o file:
cp Driver.o Driver.orig4. Start the hex editor on the Driver.o file:
_fst -w Driver.o5. At the * prompt type: rd42dat+0x1e?w 0xe830
^^
NOTE: The "30" above is the hex value which controls the
length of the timing loop. Legal values are 00 to 30.6. _fst should return the following:rd42dat+0x1e: 0xe80d= 0xe8307. At the * prompt type $q to exit _fst8. Change to /etc/conf/cf.d9. Link a new kernel by typing:./link_unixIf there are errors during the link process, restore the original Driver.o and start the process again.
10. Shut the system down and restart.
11. If 30 doesn't work, you may try other values. Legal
values for the parameter are 0x00 to 0x30. The default
is 0d. You must relink and reboot between each value. See also
TA104910, "My console keyboard is locking up during the installation of SCO OpenServer 5.".
TA105014, "What is contained in Support Level Supplement (SLS) OSS424a?"
NOTE: The suggestions contained in this article should _not_
be attempted when running SCO UNIX System V/386 Release 3.2
Operating System Version 4.2. See TA104198, "Console Keyboard
SLS UOD369B for SCO UNIX Version 4, SCO ODT 2.0, 3.0."