IBM Support

IV54522: INAPPROPRIATE IOCTL CALL CAUSING KERNEL LOG ERRORS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • v3.9 - Linux (Observed on SuSE 11-SP1) , applicable for
    fp1,fp2 & fp3.
    
    Thousands of following errors were logged to /var/log/messages
    during discovery by ncp_d_helpserv, ncp_disco, ncp_df_*
    ncp_agent processes and also by ncp_virtualdomain irrespective
    of the discovery status.
    
    <snip>
    2013 Oct 20 16:00:10 fcis760 kern.warning kernel: [26194.116876]
     ioctl32(ncp_disco:13862): Unknown cmd fd(17)
    cmd(00005301){t:'S';sz:0} arg(f4372148) on socket:[631484]
    2013 Oct 20 16:00:10 fcis760 kern.warning kernel: [26194.118632]
    ioctl32(ncp_df_file:26225): Unknown cmd fd(15)
    cmd(00005301){t:'S';sz:0} arg(f5578148) on socket:[631483]
    
    </snip>
    
    The errors can cause system to run out of disk space and other
    issues.
    
    Note: The problem isn't consistent and only observed on one
    server even though other servers are on same Kernel version.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users in Linux platform                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Thousands of following errors were logged to                 *
    * /var/log/messages                                            *
    * during discovery by ncp_d_helpserv, ncp_disco, ncp_df_*      *
    * ncp_agent processes and also by ncp_virtualdomain            *
    * irrespective                                                 *
    * of the discovery status.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * fix pack | 3.9.0-ITNMIP-FP0004                               *
    *                                                              *
    * The following fixpacks will contain the fix:                 *
    * | fix pack | 3.9.0-ITNMIP-FP0004                             *
    * | fix pack | 4.1.0-ITNMIP-FP0001                             *
    ****************************************************************
    

Problem conclusion

  • It looks like the I_NREAD system ioctl is causing the errors to
    appear.
     The function tries to determine how much data is available to
    be read on a socket.
    If it can't get an answer then it defaults to 1024.  Modify
    RivIoctl_PktLen so that it uses
     FIONREAD instead again for Linux version.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV54522

  • Reported component name

    NC/PREC DISCOVY

  • Reported component ID

    5724O52DS

  • Reported release

    390

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-24

  • Closed date

    2014-01-31

  • Last modified date

    2014-04-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    NC/PREC DISCOVY

  • Fixed component ID

    5724O52DS

Applicable component levels

  • R390 PSN

       UP

  • R390 PSY

       UP

  • R410 PSN

       UP

  • R410 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHRK","label":"Tivoli Network Manager IP Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.9"}]

Document Information

Modified date:
02 October 2021