<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: kernel module load failure in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928509#M111113</link>
    <description>errno 46 is indeed documented:&lt;BR /&gt;&lt;BR /&gt;from /usr/include/sys/errno.h:&lt;BR /&gt;  #define       ENOLCK          46      /* System record lock table was full */&lt;BR /&gt;&lt;BR /&gt;from man 2 errno:&lt;BR /&gt;      "[ENOLCK]       System lock table is full.  Too many files have file locks on them, or there are too many record locks on files, or there are too many instances of a reading or writing process sleeping until an enforcement mode lock       clears.  This error may also indicate system problems in handling a lock request on a remote NFS file.  This error is also currently returned for all attempts to perform locking operations on a remote NFS file that has its locking enforcement mode bit set, since the stateless nature of NFS prevents maintaining the necessary lock information."&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Mar 2003 12:13:58 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-03-17T12:13:58Z</dc:date>
    <item>
      <title>kernel module load failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928506#M111110</link>
      <description>I'm trying to load a WSIO kernel module soon after a machine reboot (I'm running HP-UX 11.11), but the load fails.&lt;BR /&gt;I execute the following steps:&lt;BR /&gt;1) install the module using kminstall, config and so on. The module is correctly installed: I can load it using kmadmin -L&lt;BR /&gt;2) reboot the machine&lt;BR /&gt;3) rlogin on to the machine as soon as the rlogin daemon is up and running&lt;BR /&gt;4) execute kmadmin -L to load the module&lt;BR /&gt;kmadmin fails with the message "No locks available". From a tusc trace of kmadmin -L it appears that the failing function is modload: it fails with errno 46 (ENOLCK). This errno is not documented in HP-UX documentation. Does anyone has an idea of the reasons of this failure? How can I avoid or workaround it?&lt;BR /&gt;&lt;BR /&gt;BTW, if I re-execute the load command some time after the boot, it completes with success.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernardo</description>
      <pubDate>Mon, 17 Mar 2003 09:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928506#M111110</guid>
      <dc:creator>Bernardo Pastorelli</dc:creator>
      <dc:date>2003-03-17T09:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: kernel module load failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928507#M111111</link>
      <description>It is crossing the nflock parameter in the kernel.&lt;BR /&gt;&lt;BR /&gt;The default is 200.&lt;BR /&gt;&lt;BR /&gt;Increase the parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 17 Mar 2003 09:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928507#M111111</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-17T09:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: kernel module load failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928508#M111112</link>
      <description>If I change the module to a Misc type instead of WSIO, I don't have the problem. Why the behaviour is different? Is it possible to have a WSIO module behave like a Misc one?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernardo</description>
      <pubDate>Mon, 17 Mar 2003 09:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928508#M111112</guid>
      <dc:creator>Bernardo Pastorelli</dc:creator>
      <dc:date>2003-03-17T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: kernel module load failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928509#M111113</link>
      <description>errno 46 is indeed documented:&lt;BR /&gt;&lt;BR /&gt;from /usr/include/sys/errno.h:&lt;BR /&gt;  #define       ENOLCK          46      /* System record lock table was full */&lt;BR /&gt;&lt;BR /&gt;from man 2 errno:&lt;BR /&gt;      "[ENOLCK]       System lock table is full.  Too many files have file locks on them, or there are too many record locks on files, or there are too many instances of a reading or writing process sleeping until an enforcement mode lock       clears.  This error may also indicate system problems in handling a lock request on a remote NFS file.  This error is also currently returned for all attempts to perform locking operations on a remote NFS file that has its locking enforcement mode bit set, since the stateless nature of NFS prevents maintaining the necessary lock information."&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2003 12:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928509#M111113</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-03-17T12:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: kernel module load failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928510#M111114</link>
      <description>The previous post was a cut-n-paste from my errno script (attached). It grabs the errno number or symbolic name and matches it to the errno man page. Saves a lot time in decoding an error number or symbolic name.</description>
      <pubDate>Mon, 17 Mar 2003 12:18:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-module-load-failure/m-p/2928510#M111114</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-03-17T12:18:46Z</dc:date>
    </item>
  </channel>
</rss>

