<?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 parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676677#M52227</link>
    <description>How did you do both the initial kernel update and the patchload: sam or the command line?&lt;BR /&gt;&lt;BR /&gt;mark</description>
    <pubDate>Tue, 05 Mar 2002 22:07:12 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2002-03-05T22:07:12Z</dc:date>
    <item>
      <title>Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676675#M52225</link>
      <description>I have HP box running HP-UX 11.11. I have changed the kernel parameters shmmax to 1GB and shmseg to 10. Those parameters are dynamic parameters. After installing patches (Dec 2001 latest patches) the parameters got changed to the default values.&lt;BR /&gt;Do u guys have any idea about this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arockia.</description>
      <pubDate>Tue, 05 Mar 2002 21:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676675#M52225</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-03-05T21:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676676#M52226</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Really dumb question for you. Did you happen to run the 'kmupate' program after generating your kernel with the new parameters? If you didn't and rebooted you would have all of the old parameters. This would also occur if you loaded a patch bundle. You can only generate and use one kernel at a time. I have this bundle loaded on six boxes none having this problem.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 05 Mar 2002 21:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676676#M52226</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-03-05T21:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676677#M52227</link>
      <description>How did you do both the initial kernel update and the patchload: sam or the command line?&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 05 Mar 2002 22:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676677#M52227</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-03-05T22:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676678#M52228</link>
      <description>Hi Mic.,&lt;BR /&gt;&lt;BR /&gt; I have done through sam. I have changed 10 parameters (static &amp;amp; dynamic - including &lt;BR /&gt;shmmax &amp;amp; shmseg) and rebuild the kernel and rebooted the system. It was having the modified kernel parameter values. System got rebooted 4 to 5 times. I didn't have any problem.  After installing the patches (GOLDPQK11i) system got rebooted and then only shmmax and shmseg got changed.</description>
      <pubDate>Tue, 05 Mar 2002 22:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676678#M52228</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-03-05T22:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676679#M52229</link>
      <description>Hi Arockia,&lt;BR /&gt;How are viewing these kernel parameters? Is it through SAM or are you using kmtune command. &lt;BR /&gt;Both of them might show misleading information because your /stand/system might not be updated and so these tools get the information from /stand/system.&lt;BR /&gt;&lt;BR /&gt;One way to determing if really the parameters are changed or not is to get their current values from the running kernel. Use the command below :&lt;BR /&gt;echo shmmax/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;If you see the values you updated with, then its okay.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Raghu.</description>
      <pubDate>Wed, 06 Mar 2002 08:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676679#M52229</guid>
      <dc:creator>Gamoji Raghavendra</dc:creator>
      <dc:date>2002-03-06T08:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676680#M52230</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Steps for building the new Kernel (tuning) manually : &lt;BR /&gt;&lt;BR /&gt;1.  Change directories to /stand/build.&lt;BR /&gt;cd /stand/build&lt;BR /&gt;&lt;BR /&gt;2.  Create a new system file from the running kernel.&lt;BR /&gt;/usr/lbin/sysadm/system_prep -s system&lt;BR /&gt;&lt;BR /&gt;3.  Edit the kernel with the planned changes.&lt;BR /&gt;&lt;BR /&gt;kmtune -S /stand/build/system -s parm_name=value&lt;BR /&gt;&lt;BR /&gt;4.  Build the new kernel.&lt;BR /&gt;/usr/sbin/mk_kernel -s ./system&lt;BR /&gt;&lt;BR /&gt;5.  Move the old system and vmunix files so if anything goes wrong, the system&lt;BR /&gt;can be booted from the old kernel.&lt;BR /&gt;mv /stand/system /stand/system.prev&lt;BR /&gt;mv /stand/vmunix /stand/vmunix.prev&lt;BR /&gt;mv /stand/dlkm /stand/dlkm.vmunix.prev&lt;BR /&gt;&lt;BR /&gt;6.  Move the new system file and new kernel into place, ready to be used when&lt;BR /&gt;rebooting the system.&lt;BR /&gt;mv /stand/build/system /stand/system&lt;BR /&gt;kmupdate /stand/build/vmunix_test&lt;BR /&gt;&lt;BR /&gt;7.  Reboot the system off the new kernel.&lt;BR /&gt;shutdown -r&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Vasu&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Mar 2002 10:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676680#M52230</guid>
      <dc:creator>Vasudevan MV</dc:creator>
      <dc:date>2002-03-06T10:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676681#M52231</link>
      <description>Hmm... I know that the dyn tunes keep the current value in the Kernel Registry Service for the appropriate kernel -- and I don't think the system file gets updated (after all, why would it? The KRS will return the right value). It sounds like the patch process generates a new KRS based on the system, master.d, and space.h.d files instead of seeding from the current one so you go back to a 'default' state. Granted, I could be completely wrong -- but that's what it sounds like to me.&lt;BR /&gt;&lt;BR /&gt;On the plus side, this should only affect dynamic tunables - so you can reset your values back quickly.&lt;BR /&gt;&lt;BR /&gt;On the minus side -- you really shouldn't be expected to do that.&lt;BR /&gt;&lt;BR /&gt;I'll check into this and see what I can find out.&lt;BR /&gt;&lt;BR /&gt;Don</description>
      <pubDate>Wed, 06 Mar 2002 16:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676681#M52231</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2002-03-06T16:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676682#M52232</link>
      <description>Hmm... well, nothing like being completely and utterly wrong in the above. Please disregard it.&lt;BR /&gt;&lt;BR /&gt;Dynamic tunable changes _are_ propagated to the system file just as static tunable changes are, so the rebuild of the kernel after the patch process should have kept your values.&lt;BR /&gt;&lt;BR /&gt;Did you perchance restore your system file from a backup before patching?&lt;BR /&gt;&lt;BR /&gt;Don</description>
      <pubDate>Wed, 06 Mar 2002 16:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676682#M52232</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2002-03-06T16:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676683#M52233</link>
      <description>I know this thread is old, but note the recent information form HP below:&lt;BR /&gt;&lt;BR /&gt;-----Original Message-----&lt;BR /&gt;From: HARPER,CHERYL (HP-USA,ex1) [mailto:cheryl_harper@hp.com]&lt;BR /&gt;Sent: Friday, June 21, 2002 9:22 AM&lt;BR /&gt;Subject: Proactive Notification: HPUX 11i Dynamic Kernel Parameters - Don 't survive patching activities!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Are you running HP-UX 11i?  If so, read on...&lt;BR /&gt; &lt;BR /&gt;HPUX 11i allows certain kernel parameters to be changed on the fly without rebooting.&lt;BR /&gt; &lt;BR /&gt;When installing kernel intrusive patches with SD-UX, where a kernel rebuild is required, any previously set Dynamic Kernel Parameters (in almost all cases) will be set back to their original default values.&lt;BR /&gt; &lt;BR /&gt;The issue is based on the get_sysfile command that is used to extract the current kernel settings is apparently unaware of the dynamic parameter settings.    This issue has been  reported to the lab and will be fixed in the near future.&lt;BR /&gt; &lt;BR /&gt;Workaround&lt;BR /&gt; &lt;BR /&gt;Prior to patching, issue a command to save the currently tuned parameters in a file for future use:&lt;BR /&gt;#kmtune | grep Y | egrep -v "-" | awk '{print $1, $2}' &amp;gt; /tmp/dyn_parms&lt;BR /&gt;After the patch installation, in order to stage the changes needed, issue the command :&lt;BR /&gt;#kmtune -u -S /tmp/dyn_parms&lt;BR /&gt;HPUX will read the file, and attempt to change to all kernel parameters.  Those that it can't update (fixed parameters)  it will issue WARNINGS on, and those dynamic parameters it can set, it will set to change pending.  To verify the pending state, you could issue the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#kmtune | grep Y | egrep -v "-"&lt;BR /&gt;To make the activate the changes, enter the command:&lt;BR /&gt;#kmtune -u&lt;BR /&gt;Since the parameters that you are setting are dynamic, no reboot will be required.&lt;BR /&gt; &lt;BR /&gt;Hope this helps!&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2002 15:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameters/m-p/2676683#M52233</guid>
      <dc:creator>Bill Marmagas_1</dc:creator>
      <dc:date>2002-07-03T15:37:53Z</dc:date>
    </item>
  </channel>
</rss>

