No Known Gateways When More Than 100 Devices Are Configured


 
 APAR Identifier ...... PQ59454      Last Changed ........ 02/06/06
 NO KNOWN GATEWAYS WHEN MORE THAN 100 DEVICES ARE CONFIGURED
 
 Symptom ...... IN INCORROUT         Status ........... CLOSED  PER
 Severity ................... 3      Date Closed ......... 02/06/06
 Component .......... 5735FAL00      Duplicate of ........
 Reported Release ......... 420      Fixed Release ............ 999
 Component Name TCP/IP V2 FOR V      Special Notice
 Current Target Date ..              Flags
 SCP ...................
 Platform ............
 
 Status Detail: PACKAGING - Solution is being packaged for
                            shipment.
 
 PE PTF List:
 
 PTF List:
 Release 420   : PTF not available yet
 
 Parent APAR:
 Child APAR list:
 
 ERROR DESCRIPTION:
 Connectivity is never achieved in a dynamic routing environment
 when more than 100 devices are defined. NETSTAT GATE shows that
 no GATAWAYS are ever known.
 The TCPIP console shows that an ASSERTION errors had occurred
 during initialization:
 AMPX036I ASSERTION FAILURE CHECKING ERROR
       TRACE BACK OF CALLED ROUTINES
  ROUTINE                          STMT AT ADDRESS IN MODULE
  RETURNINDEXTOOBIG                   2    00CF73AC   TCIPDOW_IPD
  DOSIOCGIFCONF                      21    00CF75A2   TCIPDOW_IPD
  DOIOCTLIF                          10    00CF793E   TCIPDOW_IPD
  DOIOCTL                            53    00E28EFE   SOCKREQUEST
  PROCESSPENDMSG                    194    00E2A546   SOCKREQUEST
  SOCKREQUEST                        18    00E2B49E   SOCKREQUEST
  SCHEDULER                         146    00D61360   TCSCHED_SCH
  <MAIN-PROGRAM>                     14    00CCF1B0   TCPIP
 .
 The traceback errors are issued approximately 100 times and
 stop.
 
 LOCAL FIX:
 
 PROBLEM SUMMARY:
 ****************************************************************
 * USERS AFFECTED: All users of TCP/IP for z/VM using           *
 *                 RouteD with more than 100 devices            *
 ****************************************************************
 * PROBLEM DESCRIPTION: Assertion errors when running           *
 *                      RouteD with > 100 devices               *
 ****************************************************************
 * RECOMMENDATION: APPLY PTF                                    *
 ****************************************************************
 When more than 100 devices are configured and RouteD is running,
 the VM TCP/IP stack does not initialize properly.  Assertion
 errors are encountered due to data structure sizes that limit
 the number of devices.  There is also a limit of 20 multicast
 groups per socket that must be relaxed in order for RouteD to
 function properly with more than 20 devices configured.
 
 PROBLEM CONCLUSION:
 The code in RTSTART has been modified to keep doubling the size
 buffer as long as the stack returns ENOBUFS indicating that
 there is not enough room in the buffer.  The stack has also been
 modified to remove the limit for the number of interfaces that
 can be returned on the SIOCGIFCONF ioctl call.  In the case of
 SNMP and PORTMAP, they have been modified to recoginize the new
 return code (ENOBUFS), and will continue to function the same
 way they did before this fix.
 
 RouteD issues an ioctl call to get the interfaces for the stack.
 Each interface is then joined to a multicast group using the
 same socket.  The stack has a limit of 20 multicast groups per
 socket.  The structure the stack is using defines an array with
 a size of 20.  Each element in the array points to the Multicast
 list (each link with the same home address).  Once the array is
 filled, the stack sends back a message.  The code has been
 changed to use a dynamic linked list instead of the array
 structure to chain the multicast lists.  This will allow any
 number of multicast groups on a single socket.
 
 TEMPORARY FIX:
 
 COMMENTS:
 
 MODULES/MACROS:   ALLMACRO CMNETST  CMSOCK   NETSTAT  PMAP_CLN
 PMAP_CLO PMAP_RMO PMAP_RMT ROUTED   RPCLIB   RTSTART  SNMP_IO
 SNMPD    TCBASTY  TCIPDOW  TCIPUP   TCMIB    TCMON    TCPIP
 TCQUEUE  TCSOCKRE TCUTIL   VMRPC
 
 SRLS:      NONE
 
 RTN CODES:
 
 CIRCUMVENTION:
 
 MESSAGE TO SUBMITTER: