Search Text         
Search Tips?
Search By   And   Or   Boolean   Exact Match   TA #
Search In   Whole Doc   Keywords Sort By  
Product   Sub Product  

View Technical Articles (sorted by Product) New/Updated in the last:    7 days      14 days      30 days             
TA # Date Created Date Updated Resolved Issue?   Printer Friendly Version of This TA   Print Article
  E-mail This TA   E-mail Article
105776 09/26/1997 08:44 AM 05/01/2001 10:32 AM
Yes No
Kernel relink fails after all SCSI tapes are removed from the link kit.
Keywords
openserver comet osr5 504 504c internet faststart 5.0.4 open server scsi mkdev tape kernel relink link unix dat cartridge drive add removed removal after deconfigured fails failure syntax error sizeof returns 0 will not compile properly release supplement ERGREF 500466 ENGREF SCO-236-1045 SCO-246-44
Release
SCO OpenServer Enterprise System Release 5.0.4
SCO OpenServer Host System Release 5.0.4
SCO OpenServer Desktop System Release 5.0.4
SCO OpenServer Internet FastStart Release 5.0.4

Problem
          All SCSI tapes were removed from the system using 'mkdev tape'.
          Now, when the /etc/conf/cf.d/link_unix command is run to relink
          the kernel, it fails with error messages 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 /

    "/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 63:
    Syntax error
    "/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 65:
    warning: sizeof returns 0
    "/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 70:
    Syntax error

    ERROR: '/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.c'
    will not compile properly

    i386ld stubs.o fatal: Can't open file
    /var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.o for input

    ERROR: Can not link-edit unix

    idbuild: idmkunix had errors.
    System build failed.


Solution
          This problem was fixed in Release Supplement 504C for SCO
          OpenServer 5.0.4 (rs504c).

          However, if you have rs504c installed on the system and the
          kernel still fails to relink, follow the instruction below to 
          correct the problem.

          In order to correct this problem, run 'mkdev tape' and add a
          SCSI tape drive.  In order to save time, do not choose to relink
          the kernel. Note that you may be unable to add a second device
          at the original device parameters. If this is the case, then use
          a different scsi id, bus or lun to add the drive.

          Edit the file /etc/conf/sdevice.d/Stp and delete the second line.

          Then, run 'mkdev tape' again and remove the SCSI tape drive.
          Relink the kernel.

SEE ALSO:
          Technical Article 105811, "What is the Release Supplement 504C for SCO
          OpenServer Release 5.0.4 (rs504c) and how can I obtain it?"

Related Articles
•  The library routine ftp_putfile() does not handle file descriptors properly.
•  Issues with removable SCSI direct-access devices.
•  Which drivers on OpenServer Release 5 support dynamic MAC addresses?
Back to Search ResultsBack to Search Results