tuneup articles

Olympus TuneUp 6.0.0M on SCO OpenServer Release 5.0.6 Issues

1.TuneUp 6.0.0M Installation fails
2.Upgrade from earlier release of Open Server: remove tuneup, kernel link fails
.


1. TuneUp 6.0.0M Installation fails

After installing the Olympus TuneUp files, the kernel link fails with messages similar to those shown below:

   The UNIX Operating System will now be rebuilt.
This will take a few minutes.  Please wait.

Root for this system build is /
undefined                       first referenced
symbol                             in file
sptmap              /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
pfreecnt            /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
minregcnt           /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
minifreecnt         /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
kclt_rcvudata       /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
kclt_waitq          /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
server_daemon       /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
nspttys             /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
callout             /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
allocpbuf           /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
freepbuf            /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
strlofrac           /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
contmemall          /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
ubsalloc            /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
tcp_ttl             /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
tcp_recvspace       /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
setrq               /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
udp_ttl             /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
mkbufs              /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
bplimit             /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/drt/Driver.o
i386ld fatal: Symbol referencing errors. No output written to unix
ERROR: Can not link-edit unix


idbuild: idmkunix had errors.
System build failed.


Between SCO OpenServer 5.0.5 and 5.0.6, some of the kernel symbols mentioned in the error above were eliminated from the kernel. Some of the symbols exist in earlier versions of SCO OpenServer kernels. TuneUp needed to be made aware that the 5.0.6 kernel does not or no longer defines these symbols.

To solve this problem, download tune506.tar.
It has a size of 122368 bytes and a checksum (sum -r) of 40573.

The archive is in Unix tar format and contains a file that will allow TuneUp to recognize that the symbols in the error above are no longer/not defined in the SCO OpenServer Release 5.0.6 kernel.

To install the fix, log in as the Superuser, root, and take the following steps :

Use /etc/custom and install Olympus TuneUp

When prompted to link the kernel, flip to another screen and execute the following command:

# tar xvf [path-to]/tune506.tar

The archive is in absolute format and will 'automagically' put the fix into place.

Now that the patch is installed, flip back to the original screen, rebuild the kernel and reboot the server.



2. Upgrade from earlier release of Open Server: remove tuneup, kernel link fails.

After upgrading from an earlier release of SCO OpenServer, and removing TuneUp, there are errors during the kernel relink similar to the following:

The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.

Root for this system build is /

"/usr/include/sys/clock.h", line 71: syntax error
"/usr/include/sys/clock.h", line 72: syntax error
"/usr/include/sys/clock.h", line 75: syntax error

ERROR: '/var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/kernel/space.c'
will not compile properly

i386ld Driver.a fatal: Can't open file
'/var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/kernel/space.o' for input

ERROR: Can not link-edit unix

idbuild: idmkunix had errors.
system build failed

Before changing some kernel parameters, TuneUp makes backup copies of
/etc/conf/pack.d/kernel/space.c and /etc/conf/pack.d/ht/space.c under /etc/tuneup/backdir

If TuneUp is removed after an upgrade , the original, out of date copies of the space.c files are restored, resulting in link errors.
(In the above example, the original release was Open Server 5.0.4)

To fix the problem, reextract the space.c files from the Open Server 5.0.6 distribution with the following customextract(ADM) commands:

1.Put the 5.0.6 cd rom in the drive.
2.Change directories to '/' and run the following extractions:

    # cd /
    # customextract -m /dev/cd0
    /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/kernel/space.c
    # customextract -m /dev/cd0
    /var/opt/K/SCO/link/1.1.1Ga/etc/conf/pack.d/ht/space.c
3.Verify the extraction (command output in blue text ):

    # cd /etc/conf/pack.d/kernel
    # head -4 space.c
    #ident "@(#) space.c 87.2 00/03/13 "
    /*
    * Copyright (C) 1988-2000 The Santa Cruz Operation, Inc.
    * All Rights Reserved.
    # cd /etc/conf/pack.d/ht
    # head -4 space.c
    #ident "@(#) space.c 83.2 99/09/23 "
    /*
    * Copyright (C) 1989-1999 The Santa Cruz Operation, Inc.
    * All Rights Reserved.

4.Relink the kernel.

For further assistance, please contact us!

Copyright © 1997-2003, Pacific CodeWorks Incorporated.