Technical article 101581

Using token ring, connection is lost to other machines on the local network.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

Every time a machine on the token-ring flushes or refreshes its
ARP table, connectivity is lost between the SCO OpenServer 5
machine and other machines on the network.  Symptoms vary, but
machines that could once ping each other may now fail.

Flushing the arp cache may correct the problem, but only temporarily.

Solution

This problem seems to be generic to the DLPI module of the network
protocol stack.  That is, this problem is not specific to one
particular network card driver.  This problem has been fixed
in OpenServer Release 5.0.4.

Currently, there are two options for fixing this problem, one is a workaround and one is a "patch" to the DLPI module.

Workaround:
-----------
Currently, there is a workaround that will keep the connections
functioning.  Configure a static arp entry for the machines
that have problems connecting, using the command:
arp -s hostname ethernet_address

This entry will be permanent and should allow the machines to communicate normally.

The ethernet address is given as six colon-separated, two-digit
hexadecimal numbers.  To determine the network interface's
ethernet ("MAC") address, issue the command `ifconfig -a` and
look for an entry like this:

net0: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 132.147.144.216 netmask ffffff00 broadcast 132.147.144.255 perf. params: recv size: 4096; send size: 8192; full-size frames: 1 ether 00:00:c0:52:d7:72

where "inet" lists the IP address and "ether" lists the ethernet address.

Patch to DLPI:
--------------
 There is also a patch that can be applied to the DLPI module
 found in either:
/etc/conf/pack.d/net0/Driver.o
or
/etc/conf/pack.d/net1/Driver.o
Use "cat /var`llipathmap`/llimdi" and look for the netx entry
marked Y to find out where the DLPI module is.  Before configuring
any network drivers, the DLPI module can be found under:
`llipathmap`/dlpi/dlpi/Driver.o
 ***      THIS PATCH APPLIES TO THE ABOVE OS RELEASES ONLY     ***
***     DO NOT APPLY THIS _fst PATCH TO ANY OTHER RELEASES    ***
*** THIS PATCH IS NOT NECESSARY IF YOU HAVE AHS 5.2 INSTALLED ***

Once you have found the correct Driver.o, enter single-user mode and do the following at the # (Unix) and * (_fst(M)) prompts:

# cd to the Driver.o directory (found above)
# cp Driver.o Driver.old
# _fst -w Driver.o
* dlpi_findfirstllcsap+44,10?ia
    dlpi_findfirstllcsap+0x44:      call    near mdi_ntohs
    dlpi_findfirstllcsap+0x49:      add     esp,0x4
    dlpi_findfirstllcsap+0x4c:      mov     edi,eax
    dlpi_findfirstllcsap+0x4e:      cmp     edi,0x806
    dlpi_findfirstllcsap+0x54:      jne     dlpi_findfirstllcsap+0x5c
    dlpi_findfirstllcsap+0x56:      mov     Word Ptr [esi+0x5],0x100
    dlpi_findfirstllcsap+0x5c:      mov     ecx,[ebp+0xc]
    dlpi_findfirstllcsap+0x5f:      push    ecx
    dlpi_findfirstllcsap+0x60:      push    edi
    dlpi_findfirstllcsap+0x61:      mov     eax,[esi]
    dlpi_findfirstllcsap+0x63:      and     eax,0xffffff
    dlpi_findfirstllcsap+0x68:      push    eax
    dlpi_findfirstllcsap+0x69:      call    near dlpi_findsnapsap
    dlpi_findfirstllcsap+0x6e:      add     esp,0xc
    dlpi_findfirstllcsap+0x71:      pop     esi
    dlpi_findfirstllcsap+0x72:      pop     edi
    dlpi_findfirstllcsap+0x73:
* dlpi_findfirstllcsap+4e?W 90909090
    dlpi_findfirstllcsap+0x4e:      0x806ff81=      0x90909090
* dlpi_findfirstllcsap+52?W 90909090
    dlpi_findfirstllcsap+0x52:      0x6750000=      0x90909090
* dlpi_findfirstllcsap+56?W 90909090
    dlpi_findfirstllcsap+0x56:      0x546c766=      0x90909090
* dlpi_findfirstllcsap+5a?w 9090
    dlpi_findfirstllcsap+0x5a:      0x100=  0x9090
* dlpi_findfirstllcsap+44,14?ia
    dlpi_findfirstllcsap+0x44:      call    near mdi_ntohs
    dlpi_findfirstllcsap+0x49:      add     esp,0x4
    dlpi_findfirstllcsap+0x4c:      mov     edi,eax
    dlpi_findfirstllcsap+0x4e:      nop
    dlpi_findfirstllcsap+0x4f:      nop
    dlpi_findfirstllcsap+0x50:      nop
    dlpi_findfirstllcsap+0x51:      nop
    dlpi_findfirstllcsap+0x52:      nop
    dlpi_findfirstllcsap+0x53:      nop
    dlpi_findfirstllcsap+0x54:      nop
    dlpi_findfirstllcsap+0x55:      nop
    dlpi_findfirstllcsap+0x56:      nop
    dlpi_findfirstllcsap+0x57:      nop
    dlpi_findfirstllcsap+0x58:      nop
    dlpi_findfirstllcsap+0x59:      nop
    dlpi_findfirstllcsap+0x5a:      nop
    dlpi_findfirstllcsap+0x5b:      nop
    dlpi_findfirstllcsap+0x5c:      mov     ecx,[ebp+0xc]
    dlpi_findfirstllcsap+0x5f:      push    ecx
    dlpi_findfirstllcsap+0x60:      push    edi
    dlpi_findfirstllcsap+0x61:
* $q
# init 0

See also

arp(ADMN) and arp(ADMP) manual pages.

From the Xinuos technical article database, record 101581. Reproduced with permission. The original is at www.sco.com/ta/101581, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.