<?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: kmtune problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734201#M255024</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I haven't seen this before, but it's interesting problem.&lt;BR /&gt; &lt;BR /&gt;The "current" value of a kernel parameter is queried from the running kernel. Apprently there is a problem (something broke in between to read the kernel structure) causing kmtune to flash that message.&lt;BR /&gt;&lt;BR /&gt;You can try using "adb" as&lt;BR /&gt;# echo 'boot_string/S' | adb /stand/vmunix /dev/mem &lt;BR /&gt;This will show you the kernel you are booted from.&lt;BR /&gt;Now try to pull out the kernel parameter value using&lt;BR /&gt;# echo nflocks/D | adb  /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;Check the kernel patch level (PHKL*) using&lt;BR /&gt;# what /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;If all looks OK, then I guess a reboot would cleared out the broken links and kmtune would work.</description>
    <pubDate>Sat, 18 Feb 2006 17:21:11 GMT</pubDate>
    <dc:creator>Sameer_Nirmal</dc:creator>
    <dc:date>2006-02-18T17:21:11Z</dc:date>
    <item>
      <title>kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734200#M255023</link>
      <description>I have a L2000-44 running 11iV1 (HP-UX 11.11) and kmtune is giving me problems.&lt;BR /&gt;&lt;BR /&gt;root@tuska:/-&amp;gt;kmtune -q nflocks&lt;BR /&gt;kmtune: Cannot read number of current kernel parameters.&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;nflocks                     -  -  4096                       &lt;BR /&gt;&lt;BR /&gt;It does not seem to be able to read the current value of any kernel parameters.&lt;BR /&gt;&lt;BR /&gt;I have another machine thats Identical and all is well there.&lt;BR /&gt;&lt;BR /&gt;root@strokkur:/-&amp;gt;kmtune -q nflocks&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;nflocks                  4096  -  4096                       &lt;BR /&gt;&lt;BR /&gt;Anyone seen this before ?&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Feb 2006 16:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734200#M255023</guid>
      <dc:creator>Richard Allen</dc:creator>
      <dc:date>2006-02-17T16:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734201#M255024</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I haven't seen this before, but it's interesting problem.&lt;BR /&gt; &lt;BR /&gt;The "current" value of a kernel parameter is queried from the running kernel. Apprently there is a problem (something broke in between to read the kernel structure) causing kmtune to flash that message.&lt;BR /&gt;&lt;BR /&gt;You can try using "adb" as&lt;BR /&gt;# echo 'boot_string/S' | adb /stand/vmunix /dev/mem &lt;BR /&gt;This will show you the kernel you are booted from.&lt;BR /&gt;Now try to pull out the kernel parameter value using&lt;BR /&gt;# echo nflocks/D | adb  /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;Check the kernel patch level (PHKL*) using&lt;BR /&gt;# what /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;If all looks OK, then I guess a reboot would cleared out the broken links and kmtune would work.</description>
      <pubDate>Sat, 18 Feb 2006 17:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734201#M255024</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2006-02-18T17:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734202#M255025</link>
      <description>No, rebooting does not help the problem.&lt;BR /&gt;&lt;BR /&gt;However, adb seems to work fine.&lt;BR /&gt;&lt;BR /&gt;root@tuska:/-&amp;gt;echo 'boot_string/S' | adb /stand/vmunix /dev/mem &lt;BR /&gt;boot_string:&lt;BR /&gt;boot_string:    disk(0/0/2/0.2.0.0.0.0.0;0)/stand/vmunix&lt;BR /&gt;root@tuska:/-&amp;gt;echo nflocks/D | adb /stand/vmunix /dev/mem&lt;BR /&gt;nflocks:&lt;BR /&gt;nflocks:        4096&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Feb 2006 19:39:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734202#M255025</guid>
      <dc:creator>Richard Allen</dc:creator>
      <dc:date>2006-02-18T19:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734203#M255026</link>
      <description>What it displayed when you run kmtune all by itself?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Sat, 18 Feb 2006 20:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734203#M255026</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-18T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734204#M255027</link>
      <description># kmtune&lt;BR /&gt;kmtune: Cannot read number of current kernel parameters.&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;NSTRBLKSCHED                -  -  2                          &lt;BR /&gt;NSTREVENT                   -  -  50                         &lt;BR /&gt;NSTRPUSH                    -  -  16                         &lt;BR /&gt;NSTRSCHED                   -  -  0                          &lt;BR /&gt;STRCTLSZ                    -  -  1024                       &lt;BR /&gt;STRMSGSZ                    -  -  65535                      &lt;BR /&gt;[snip]</description>
      <pubDate>Sat, 18 Feb 2006 21:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734204#M255027</guid>
      <dc:creator>Richard Allen</dc:creator>
      <dc:date>2006-02-18T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734205#M255028</link>
      <description>I just installed a rather large patchbundle (GOLD patches) with no change :(&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Feb 2006 22:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734205#M255028</guid>
      <dc:creator>Richard Allen</dc:creator>
      <dc:date>2006-02-18T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734206#M255029</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As adb works and I guess "sysdef" would work as well. &lt;BR /&gt;&lt;BR /&gt;What you see in&lt;BR /&gt;# ll /usr/sbin/kmtune&lt;BR /&gt;# what /usr/sbin/kmtune&lt;BR /&gt;&lt;BR /&gt;"kmtune" use gettune() and tuneinfo() functions to get the current values from running kernel. Check for header files in /usr/include/sys&lt;BR /&gt;types.h and dyntune.h&lt;BR /&gt;</description>
      <pubDate>Sun, 19 Feb 2006 19:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734206#M255029</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2006-02-19T19:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734207#M255030</link>
      <description>Shalom Richard,&lt;BR /&gt;&lt;BR /&gt;Your system file is corrupted, or perhaps your /stand filesystem is so close to fill it can't operate properly.&lt;BR /&gt;&lt;BR /&gt;I'd look carefully at the file and consider restring the /stand fileystem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 19 Feb 2006 21:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734207#M255030</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-19T21:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734208#M255031</link>
      <description>sysdef works fine.&lt;BR /&gt;&lt;BR /&gt;root@tuska:/-&amp;gt;ll /usr/sbin/kmtune&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          40960 Mar 26  2002 /usr/sbin/kmtune*&lt;BR /&gt;root@tuska:/-&amp;gt;what /usr/sbin/kmtune&lt;BR /&gt;/usr/sbin/kmtune:&lt;BR /&gt;         kmtune.c $Date: 2002/02/08 16:47:42 $Revision: r11.11/3 PATCH_11.11 (PHCO_26061)&lt;BR /&gt;         $Revision: @(#) kmtune CUP11.11_BL2002_0325_17 PATCH_11.11 PHCO_26061&lt;BR /&gt;         Mon Mar 25 19:14:52 PST 2002 $&lt;BR /&gt;&lt;BR /&gt;This is identical output as from my other L2000 machine.&lt;BR /&gt;&lt;BR /&gt;root@tuska:/-&amp;gt;cksum /usr/include/sys/types.h&lt;BR /&gt;925851039 14104 /usr/include/sys/types.h&lt;BR /&gt;root@tuska:/-&amp;gt;cksum /usr/include/sys/dyntune.h&lt;BR /&gt;1008158078 3020 /usr/include/sys/dyntune.h&lt;BR /&gt;&lt;BR /&gt;Again, same files as on my other L2000 where everything works.&lt;BR /&gt;&lt;BR /&gt;The /stand/system file looked OK but just to be sure, I copied the file from my other L2000, did a "mk_kernel -o /stand/vmunix" and the a reboot.   No change.&lt;BR /&gt;&lt;BR /&gt;I have however noticed the following in the dmesg output on the machine:&lt;BR /&gt;&lt;BR /&gt;Starting the STREAMS daemons-phase 2&lt;BR /&gt;                      $Revision: vmunix:    vw: -proj    selectors: CUPI80_BL200&lt;BR /&gt;0_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000&lt;BR /&gt;_1108'  Wed Nov  8 19:24:56 PST 2000 $KRS error 11 during initialization of dyna&lt;BR /&gt;mic tunables.&lt;BR /&gt;gettune(), settune(), and tuneinfo() cannot be supported.&lt;BR /&gt;&lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 3145728 Kbytes, lockable: 2377336 Kbytes, available: 2734532 Kbyte&lt;BR /&gt;s&lt;BR /&gt;&lt;BR /&gt;See that error 11 ?  Strange.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Feb 2006 21:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734208#M255031</guid>
      <dc:creator>Richard Allen</dc:creator>
      <dc:date>2006-02-22T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734209#M255032</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;The boot time error message you quoted indicates that the kernel registry database is corrupt.  (That's where dynamic tunable information is stored.)  No one has ever reported a problem like this to us before.&lt;BR /&gt;&lt;BR /&gt;In order to solve this problem, it would be useful to understand the corruption better.  I've attached a program that will print the contents of your kernel registry database.  If you would be kind enough to send me (steve.roth at hp.com) its output, we can then figure out how best to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;Steve Roth&lt;BR /&gt;HP-UX Kernel Configuration&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Feb 2006 12:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734209#M255032</guid>
      <dc:creator>Steven Roth</dc:creator>
      <dc:date>2006-02-23T12:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: kmtune problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734210#M255033</link>
      <description>Richard sent me the information I requested, and we found the problem.  In case anyone else is interested: the registry corruption occurs when root is using a non-default locale and is using Bourne shell (or any shell in which the 'date' command is not a builtin).  Under these circumstances the timestamp string in the registry can be longer than the space allotted for it.  The defect has been reported to the responsible team in HP (SR #8606433957).</description>
      <pubDate>Thu, 23 Feb 2006 14:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kmtune-problem/m-p/3734210#M255033</guid>
      <dc:creator>Steven Roth</dc:creator>
      <dc:date>2006-02-23T14:22:20Z</dc:date>
    </item>
  </channel>
</rss>

