<?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 Update do not work I expected in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606399#M376328</link>
    <description>&amp;gt;Matti: Here's the mistake.&lt;BR /&gt;Because the option "-S ./system" was not used, this change was made to the real /stand/system, not to /stand/build/system.&lt;BR /&gt;&lt;BR /&gt;there is no option like -S (Capital S) but -s for system_prep in HP-UX 11i v1 ;&lt;BR /&gt;&lt;BR /&gt;What is the correct syntax ? I did not get exactly the fault ; I was on the correct path, if you look at the first commands ;&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s ./system&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Mar 2010 07:37:21 GMT</pubDate>
    <dc:creator>Hakki Aydin Ucar</dc:creator>
    <dc:date>2010-03-25T07:37:21Z</dc:date>
    <item>
      <title>Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606397#M376326</link>
      <description>Please look at the following, my steps to update static kernel via commandline in HP-UX 11i v1, it did not work and I did on SAM kernel update, it worked. Could you tell me what is wrong with it ? why it did not work ?&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s ./system&lt;BR /&gt;NOTE:    Saving the current system file at "./system" to&lt;BR /&gt;        "./system.prev"&lt;BR /&gt;NOTE:    Dynamic tunable values (if applicable) have been added to&lt;BR /&gt;        "./system".&lt;BR /&gt;NOTE:    The template file has been extracted from "/stand/vmunix"&lt;BR /&gt;        It has been placed in "./system" where it will be used&lt;BR /&gt;        to build a new kernel.&lt;BR /&gt;# kmtune -s npty=128&lt;BR /&gt;# kmtune -l -q npty&lt;BR /&gt;&lt;BR /&gt;Parameter:      npty&lt;BR /&gt;Current:        60&lt;BR /&gt;Planned:        128&lt;BR /&gt;Default:        60&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;# mk_kernel -s ./system&lt;BR /&gt;&lt;BR /&gt;Generating module: krm...&lt;BR /&gt;Compiling conf.c...&lt;BR /&gt;Loading the kernel...&lt;BR /&gt;Generating kernel symbol table...&lt;BR /&gt;# kmupdate&lt;BR /&gt;# reboot&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2010 13:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606397#M376326</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-03-24T13:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606398#M376327</link>
      <description># cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s ./system&lt;BR /&gt;&lt;BR /&gt;Apparently there wasn't a /stand/build/system file, because the system_prep command had to extract the template file from /stand/vmunix and place it to /stand/build/system. Any dynamic tunable values were applied to that file too.&lt;BR /&gt;&lt;BR /&gt;# kmtune -s npty=128&lt;BR /&gt;&lt;BR /&gt;Here's the mistake.&lt;BR /&gt;Because the option "-S ./system" was not used, this change was made to the real /stand/system, not to /stand/build/system.&lt;BR /&gt;&lt;BR /&gt;# mk_kernel -s ./system&lt;BR /&gt;# kmupdate&lt;BR /&gt;&lt;BR /&gt;These commands created a kernel using the settings at /stand/build/system, and replaced the currently-active kernel with it.&lt;BR /&gt;Because this replaced your /stand/system, your npty change was lost.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 24 Mar 2010 14:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606398#M376327</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-24T14:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606399#M376328</link>
      <description>&amp;gt;Matti: Here's the mistake.&lt;BR /&gt;Because the option "-S ./system" was not used, this change was made to the real /stand/system, not to /stand/build/system.&lt;BR /&gt;&lt;BR /&gt;there is no option like -S (Capital S) but -s for system_prep in HP-UX 11i v1 ;&lt;BR /&gt;&lt;BR /&gt;What is the correct syntax ? I did not get exactly the fault ; I was on the correct path, if you look at the first commands ;&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s ./system&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 07:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606399#M376328</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-03-25T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606400#M376329</link>
      <description>Procedures for Kernel Parameter changes&lt;BR /&gt;====================================&lt;BR /&gt; #  cd /stand  &lt;BR /&gt; #  cp system system.prev.&amp;lt;050112&amp;gt;&lt;BR /&gt; #  cp vmunix vmunix.prev.&amp;lt;050112&amp;gt;&lt;BR /&gt;&lt;BR /&gt; #  cd /stand/build &lt;BR /&gt; #  /usr/lbin/sysadm/system_prep -s /stand/build/system &lt;BR /&gt; #  vi /stand/build/system (....edit the file to make the necessary changes --&amp;gt; e.g. "max_thread_proc  3072")&lt;BR /&gt; #  /usr/sbin/mk_kernel -s /stand/build/system&lt;BR /&gt; #  mv system /stand/system&lt;BR /&gt; #  /usr/sbin/kmupdate&lt;BR /&gt;&lt;BR /&gt;  Kernel update request is scheduled.&lt;BR /&gt;&lt;BR /&gt;  Default kernel /stand/vmunix will be updated by&lt;BR /&gt;  newly built kernel /stand/build/vmunix_test&lt;BR /&gt;  at next system shutdown or startup time.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 07:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606400#M376329</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-25T07:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606401#M376330</link>
      <description>&amp;gt;Johnson:&lt;BR /&gt;&lt;BR /&gt;Your procedure worked in my test server ; HP-UX 11i v1. &lt;BR /&gt;&lt;BR /&gt;however in my customer server it did not work again , in the first place I noticed that&lt;BR /&gt;during startup , it did not work to update new kernel parameters:&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;&amp;gt;&lt;BR /&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set&lt;BR /&gt;forth in FAR 52.227-19(c)(1,2).&lt;BR /&gt;&lt;BR /&gt;/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     HP-UX Start-up in progress&lt;BR /&gt;     __________________________&lt;BR /&gt;&lt;BR /&gt;     Configure system crash dumps ........................................ OK&lt;BR /&gt;     VxVM device node check .............................................. OK&lt;BR /&gt;     VxVM general startup ................................................ OK&lt;BR /&gt;     VxVM reconfiguration recovery ....................................... OK&lt;BR /&gt;     Mount file systems .................................................. OK&lt;BR /&gt;     Update kernel and loadable modules .................................. N/A&lt;BR /&gt;     Initialize loadable modules ......................................... OK&lt;BR /&gt;     Setting hostname .................................................... OK&lt;BR /&gt;     Start Kernel Logging facility ....................................... N/A&lt;BR /&gt;     Set privilege group ................................................. N/A&lt;BR /&gt;     Display date ........................................................ N/A&lt;BR /&gt;     Copy processor logs to /var/tombstones .............................. OK&lt;BR /&gt;     Save system crash dump if needed .................................... N/A&lt;BR /&gt;-&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and besides, edited /etc/rc.log and looked for kernel update :&lt;BR /&gt;&lt;BR /&gt;Update kernel and loadable modules&lt;BR /&gt;Output from "/sbin/rc1.d/S110kmbuild start":&lt;BR /&gt;----------------------------&lt;BR /&gt;"/sbin/rc1.d/S110kmbuild start" SKIPPED&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Mar 2010 08:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606401#M376330</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-03-26T08:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606402#M376331</link>
      <description>from the rc.log check what's error for (kmbulid) was not able to start &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/kmbuild start&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;customer server&amp;lt;&amp;lt; does all kernal patches are up to date ..? in your Customer Server</description>
      <pubDate>Mon, 29 Mar 2010 05:33:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606402#M376331</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-29T05:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606403#M376332</link>
      <description>&amp;gt;Johnson : from the rc.log check what's error for (kmbulid) was not able to start&lt;BR /&gt;&lt;BR /&gt;No Error, just : "/sbin/rc1.d/S110kmbuild start" SKIPPED&lt;BR /&gt;&lt;BR /&gt;in fact, I checked rc.log in my test server, and found that same phrase: "/sbin/rc1.d/S110kmbuild start" SKIPPED &lt;BR /&gt;BUT it worked ?? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;customer server&amp;lt;&amp;lt; does all kernal patches are up to date ..? in your Customer Server&lt;BR /&gt;&lt;BR /&gt;I am checking now.</description>
      <pubDate>Mon, 29 Mar 2010 08:08:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606403#M376332</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-03-29T08:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Update do not work I expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606404#M376333</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Matti&amp;gt;&amp;gt; # kmtune -s npty=128&lt;BR /&gt;&lt;BR /&gt;Matti&amp;gt;&amp;gt; Here's the mistake.&lt;BR /&gt;Matti&amp;gt;&amp;gt; Because the option "-S ./system" was&lt;BR /&gt;Matti&amp;gt;&amp;gt; not used, this change was made to the&lt;BR /&gt;Matti&amp;gt;&amp;gt; real /stand/system, not to &lt;BR /&gt;Matti&amp;gt;&amp;gt; /stand/build/system.&lt;BR /&gt;&lt;BR /&gt;Hakki&amp;gt; there is no option like -S (Capital S)&lt;BR /&gt;Hakki&amp;gt; but -s for system_prep in HP-UX 11i&lt;BR /&gt;Hakki&amp;gt; v1 ;&lt;BR /&gt;&lt;BR /&gt;Matti was referring to the "-S ./system" option, of the kmtune command, that had not been added, to the kmtune command.&lt;BR /&gt;&lt;BR /&gt;Also in "hakki's" procedure, the reboot command is used, to reboot the system, after executing kmupdate, instead of the "shutdown" command, while its while executing the "shutdown" scripts, which are only executed, with the shutdown command, that the kernel files from /stand/build will be "put in place".. i.e. replace the current kernel files..&lt;BR /&gt;&lt;BR /&gt;Better "controlling" example.&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # kmtune&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;maxvgs                     32  -  32&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # bdf .&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vx/dsk/rootdg/standvol&lt;BR /&gt;                    295024   40336  225184   15% /stand&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;NOTE:    Dynamic tunable values (if applicable) have been added to&lt;BR /&gt;         "system".&lt;BR /&gt;NOTE:    The template file has been extracted from "/stand/vmunix"&lt;BR /&gt;         It has been placed in "system" where it will be used&lt;BR /&gt;         to build a new kernel.&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # more /stand/build/system&lt;BR /&gt;* Drivers and Subsystems&lt;BR /&gt;&lt;BR /&gt;DlkmDrv&lt;BR /&gt;GSCtoPCI&lt;BR /&gt;PCItoPCI&lt;BR /&gt;arp&lt;BR /&gt;asio0&lt;BR /&gt;asp&lt;BR /&gt;autofsc&lt;BR /&gt;bs_osm&lt;BR /&gt;btlan&lt;BR /&gt;c720&lt;BR /&gt;cachefsc&lt;BR /&gt;cb&lt;BR /&gt;[..]&lt;BR /&gt; * Tunable parameters&lt;BR /&gt;&lt;BR /&gt;evp&lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;dbc_max_pct     5&lt;BR /&gt;dnlc_hash_locks 512&lt;BR /&gt;maxdsiz_64bit   0X40000000&lt;BR /&gt;maxssiz         0X800000&lt;BR /&gt;maxssiz_64bit   0X800000&lt;BR /&gt;maxswapchunks   8192&lt;BR /&gt;maxtsiz                 0x4000000&lt;BR /&gt;maxtsiz_64bit           0x40000000&lt;BR /&gt;maxvgs          32&lt;BR /&gt;npty            256&lt;BR /&gt;nstrpty         60&lt;BR /&gt;scsi_max_qdepth 2&lt;BR /&gt;shmmax               0x4000000&lt;BR /&gt;&lt;BR /&gt;topaz # man kmtune&lt;BR /&gt;[..]&lt;BR /&gt;     -s name{=|+}value&lt;BR /&gt;                Set the value to a system parameter. If the separator is an&lt;BR /&gt;                equal sign (=), the parameter is set to the value specified.&lt;BR /&gt;                If the separator is a plus sign (+), the parameter is&lt;BR /&gt;                incremented by the value specified.  Negative values cannot&lt;BR /&gt;                be used with plus sign (+).  The name{=|+}value format must&lt;BR /&gt;                not include spaces or tabs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # kmtune -s maxvgs=64&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # kmtune -d          &lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;maxvgs                     32  -  64   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # more /stand/build/system&lt;BR /&gt;[..]&lt;BR /&gt;* Tunable parameters&lt;BR /&gt;&lt;BR /&gt;evp&lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;dbc_max_pct     5&lt;BR /&gt;dnlc_hash_locks 512&lt;BR /&gt;maxdsiz_64bit   0X40000000&lt;BR /&gt;maxssiz         0X800000&lt;BR /&gt;maxssiz_64bit   0X800000&lt;BR /&gt;maxswapchunks   8192&lt;BR /&gt;maxtsiz                 0x4000000&lt;BR /&gt;maxtsiz_64bit           0x40000000&lt;BR /&gt;maxvgs          32&lt;BR /&gt;npty            256&lt;BR /&gt;nstrpty         60&lt;BR /&gt;scsi_max_qdepth 2&lt;BR /&gt;shmmax               0x4000000&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; CONCLUSION -- not updated...&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # kmtune -s maxvgs=64 -S system&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # more /stand/build/system&lt;BR /&gt;* Drivers and Subsystems&lt;BR /&gt;&lt;BR /&gt;DlkmDrv&lt;BR /&gt;GSCtoPCI&lt;BR /&gt;PCItoPCI&lt;BR /&gt;arp&lt;BR /&gt;asio0&lt;BR /&gt;asp&lt;BR /&gt;autofsc&lt;BR /&gt;bs_osm&lt;BR /&gt;btlan&lt;BR /&gt;[..]&lt;BR /&gt;evp&lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;dbc_max_pct     5&lt;BR /&gt;dnlc_hash_locks 512&lt;BR /&gt;maxdsiz_64bit   0X40000000&lt;BR /&gt;maxssiz         0X800000&lt;BR /&gt;maxssiz_64bit   0X800000&lt;BR /&gt;maxswapchunks   8192&lt;BR /&gt;maxtsiz                 0x4000000&lt;BR /&gt;maxtsiz_64bit           0x40000000&lt;BR /&gt;maxvgs                  64&lt;BR /&gt;npty            256&lt;BR /&gt;nstrpty         60&lt;BR /&gt;scsi_max_qdepth 2&lt;BR /&gt;shmmax               0x4000000&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; conclusion -- now its updated..&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # /usr/sbin/mk_kernel -s ./system&lt;BR /&gt;Generating module: krm...&lt;BR /&gt;        /usr/bin/mkdir -p /stand/build&lt;BR /&gt;Compiling conf.c...&lt;BR /&gt;Loading the kernel...&lt;BR /&gt;Generating kernel symbol table...&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # kmupdate&lt;BR /&gt;&lt;BR /&gt;  Kernel update request is scheduled.&lt;BR /&gt;&lt;BR /&gt;  Default kernel /stand/vmunix will be updated by&lt;BR /&gt;  newly built kernel /stand/build/vmunix_test&lt;BR /&gt;  at next system shutdown or startup time.&lt;BR /&gt;&lt;BR /&gt;gsesrv8:/stand/build&lt;BR /&gt;gsesrv8 # shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # kmtune|grep maxvgs&lt;BR /&gt;maxvgs                     64  -  64 &lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 29 Mar 2010 08:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-update-do-not-work-i-expected/m-p/4606404#M376333</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-03-29T08:35:58Z</dc:date>
    </item>
  </channel>
</rss>

