Problem
I am trying to install SCO OpenServer Release 5.0 on a fast Pentium or Pentium Pro system, and the keyboard is locking up during the interactive sessions at the start of the installation.
Cause
The SCO Console Keyboard driver uses a spin loop when polling the keyboard. This loop is not long enough for some of the faster Pentium and Pentium Pro Systems. The problem may also been seen on systems using the new NS87306 keyboard controller.
Solution
A new Support Level Supplement, SLS OSS424A, is now available to address this problem. This supplement, The Keyboard BTLD, consists of a new Boot Time Loadable Driver for the console keyboard.
If you do not have access to SLS OSS424A and you urgently need to install your SCO OpenServer Operating System, you should follow the patch procedure below:
1. Make a copy of your SCO OpenServer Boot Disk by placing it in the floppy disk drive and typing:
diskcp -f -135ds182. Mount the newly copied floppy disk on a previously installed system:
mount /dev/fd0 /mnt3. Copy the UNIX kernel from the floppy:
cp /mnt/unix /tmp/unix.Z4. Uncompress the kernel copied from the floppy:
uncompress /tmp/unix5. Patch the uncompressed kernel using these commands:
_fst -w /tmp/unix
rd42dat+1e?h0x30
$q6. Recompress the kernel:compress -H /tmp/unix7. Copy the kernel back to the floppy disk:
cp /tmp/unix.Z /mnt/unix8. Unmount the floppy disk:umount /mntTry using this patched floppy to install your SCO OpenServer 5.0.0 product. You may also need to patch the console keyboard driver in the Link Kit once installation is complete. To do this you will need to take the following steps:
1. Boot the system to the Boot: prompt using the new Boot floppy created above.
2. At the boot prompt enter the following boot string:
fd(64)unix root=hd(42)3. Log into the system in single user mode.
4. Change to the directory /etc/conf/pack.d/cn.5. Make a backup of the Driver.o file:
cp Driver.o Driver.orig6. Start the hex editor on the Driver.o file:
_fst -w Driver.o7. 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.8. _fst should return the following:rd42dat+0x1e: 0xe80d= 0xe8309. At the * prompt type $q to exit _fst10. Change to /etc/conf/cf.d11. 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.
12. Shut the system down, remove the Boot Disk and restart.
13. 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
TA104836 "Why does my console keyboard lock on SCO OpenServer Release 5?"
TA105014 "What is contained in Support Level Supplement (SLS) OSS424A?"