<?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: rebuild kernel increase semmns in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714027#M61306</link>
    <description>The key is the 11 OS - &lt;BR /&gt;And U.SivaKumar  got it right -&lt;BR /&gt;you must do a kmupdate - &lt;BR /&gt;then reboot after the mk_kernel.</description>
    <pubDate>Fri, 07 Jun 2002 17:47:19 GMT</pubDate>
    <dc:creator>Jim Butler</dc:creator>
    <dc:date>2002-06-07T17:47:19Z</dc:date>
    <item>
      <title>rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714013#M61292</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My OS is HP-UX11.00 and after an install of Oracle9i, I had to increase the maximum numbers of semaphores semmns from 400 to 1000. After the modification of the parameter via SAM, the kernels was rebuild and the system rebooted. &lt;BR /&gt;&lt;BR /&gt;However if I look in SAM, the value of semmns still is 400. The value in /stand/system is 1000. Further on, the time stamp of /stand/vmunix is too old (older than the modification of the kernel). The time stamp of /stand/build/vmunix_test corresponds with the modification of semmns.&lt;BR /&gt;&lt;BR /&gt;So it seems that /stand/build/vmunix_test wasn't copied towards /stand/vmunix.&lt;BR /&gt;&lt;BR /&gt;Does anybody knows why the increase of the kernel parameter failed? Do I have to increase semmns again via sam again? I don't find anything strange in syslog.log or OLDsyslog.log.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Tue, 30 Apr 2002 11:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714013#M61292</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-04-30T11:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714014#M61293</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;if the date on the new vmunix_test is todays the kernel build was probably ok try backing up the original and copying the test version over and rebooting.&lt;BR /&gt;&lt;BR /&gt;you can also look through the sam log to see what happened during the build.&lt;BR /&gt;&lt;BR /&gt;just remembered sam asks you if you want to copy the new build into place are you sure you said yes ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Tue, 30 Apr 2002 11:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714014#M61293</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-30T11:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714015#M61294</link>
      <description>Make sure that you to sam to move your kernel to the new place. Also say no to automatic rebooting, that way you can check if the new kernel has been moved under /stand&lt;BR /&gt;&lt;BR /&gt;ashish</description>
      <pubDate>Tue, 30 Apr 2002 12:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714015#M61294</guid>
      <dc:creator>ashish nanjiani</dc:creator>
      <dc:date>2002-04-30T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714016#M61295</link>
      <description>I didn't make the first modification via SAM, so I'm not sure wether it was indicated that the new kernel could be moved to the new place.&lt;BR /&gt;&lt;BR /&gt;I'll try it again, but it can't be done for the moment (production server).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kurt</description>
      <pubDate>Tue, 30 Apr 2002 12:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714016#M61295</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-04-30T12:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714017#M61296</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;I think you might be wise to do it manually here are the steps if you wish to do so.&lt;BR /&gt;&lt;BR /&gt;cd /stand/build&lt;BR /&gt;usr/lbin/sysadm/system-prep -s system&lt;BR /&gt;edit system file and make desired changes&lt;BR /&gt;mk_kernel -s system&lt;BR /&gt;mv /stand/system   /stand/system.prev&lt;BR /&gt;mv /stand/vmunix  /stand/vmunix.prev&lt;BR /&gt;&lt;BR /&gt;mv /stand/build/vmunix_test /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;&lt;BR /&gt;etc/shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Tue, 30 Apr 2002 12:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714017#M61296</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-30T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714018#M61297</link>
      <description>I think you would be best off to do it consistently - either always use SAM or always do it manually.&lt;BR /&gt;&lt;BR /&gt;$.02&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 30 Apr 2002 12:16:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714018#M61297</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-04-30T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714019#M61298</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;I've first rebuild the kernel with SAM and I'm sure that 'Move kernel into place' was specified. After a reboot, the old kernel values were still active.&lt;BR /&gt;&lt;BR /&gt;So I've rebuild the kernel manually following your procedure:&lt;BR /&gt;&lt;BR /&gt;cd /stand/build &lt;BR /&gt;usr/lbin/sysadm/system-prep -s system &lt;BR /&gt;edit system file and make desired changes &lt;BR /&gt;mk_kernel -s system &lt;BR /&gt;mv /stand/system /stand/system.prev &lt;BR /&gt;mv /stand/vmunix /stand/vmunix.prev &lt;BR /&gt;&lt;BR /&gt;mv /stand/build/vmunix_test /stand/vmunix &lt;BR /&gt;&lt;BR /&gt;cd / &lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt;The system boots from the new kernel, but when I go now into SAM and choose kernel configuration-Configurable parameters, I get now:&lt;BR /&gt;&lt;BR /&gt;Internal Error: cannot find driver/module """" in the internal configuration data structure&lt;BR /&gt;&lt;BR /&gt;What means this? How can I verify the kernel parameters form command line?&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Tue, 07 May 2002 10:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714019#M61298</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-05-07T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714020#M61299</link>
      <description>hi,&lt;BR /&gt;use kmtune &lt;BR /&gt;#kmtune | grep semmns &lt;BR /&gt;also you can use sysdef&lt;BR /&gt;#sysdef | grep semmns&lt;BR /&gt;I refer  kmupdate command may solve your problem. #man kmupdate&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2002 10:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714020#M61299</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-07T10:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714021#M61300</link>
      <description>I've queried the kernel parameters with:&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/sysadm/get_sysfile /stand/vmunix &lt;BR /&gt;&lt;BR /&gt;and the parameters were updated as I've changed them into /stand/build.system&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Tue, 07 May 2002 10:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714021#M61300</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-05-07T10:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714022#M61301</link>
      <description>hi,&lt;BR /&gt;this is the recommended procedure for kernel&lt;BR /&gt;rebuilding.&lt;BR /&gt;# cd /stand/build      # /usr/lbin/sysadm/system_prep -v -k &lt;PATH of="" good="" kernel=""&gt; -s system&lt;BR /&gt;# /usr/sbin/mk_kernel -v -s system&lt;BR /&gt;# mv /stand/build/system /stand/system&lt;BR /&gt;# cd /&lt;BR /&gt;&lt;BR /&gt;For 10.X, &lt;BR /&gt;#mv /stand/build/vmunix /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;For 11.X, &lt;BR /&gt;#kmupdate /stand/build/vmunix_test&lt;BR /&gt;# shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;         &lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Tue, 07 May 2002 10:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714022#M61301</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-07T10:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714023#M61302</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;with reference to HP  :&lt;BR /&gt;With the new Dynamically Loadable Kernel Modules (DLKM) in HP-UX 11.x, both static and dynamic modules are possible. Static modules are handled in the old manner.&lt;BR /&gt;that is, linked into the static kernel file still typically named /stand/vmunix). Dynamic modules are separate object files that are not linked into the kernel and thus can be included or excluded without re-linking (re-building the kernel, thus no reboot is required (actually, under DLKM you have to shutdown and reboot, not use the reboot command, but that is different issue). &lt;BR /&gt;&lt;BR /&gt;Under the old static kernel, after a kernel build you would just move the vmunix_test file from /stand/build to /stand as vmunix. At this point, it's worth noting, that in HP-UX 11, there are possibly many files that need to be moved after a kernel build. These include: symtab, the symbol table file, vmunix the kernel and possibly several loadable module files, as well as some static files. &lt;BR /&gt;&lt;BR /&gt;Because of this, there is a new command to move all required files from a newly built kernel to the proper locations (/stand and /stand/dlkm). This command is named kmupdate and requires a shutdown afterwards to complete the file moves, and renames. &lt;BR /&gt;The /stand/dlkm directory contains the kernel function set files such as dynamic modules, module registry file and a symbol file. During a kernel rebuild, the new set will be created under /stand/dlkm.vmunix_test. So simply moving&lt;BR /&gt;the kernel to /stand directory will not help.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2002 11:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714023#M61302</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-07T11:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714024#M61303</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;So I have forgotten to:&lt;BR /&gt;&lt;BR /&gt;1. mv /stand/build/system /stand/system before the system reboot&lt;BR /&gt;2. I've used  'mv /stand/build/vmunix_test /stand/vmunix' instead of 'kmupdate /stand/build/vmunix_test'&lt;BR /&gt;&lt;BR /&gt;Do I have to rebuild the kernel again and then perform the 2 steps 1 and 2 before the reboot or can I get it right manually?&lt;BR /&gt;&lt;BR /&gt;Kurt &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2002 11:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714024#M61303</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-05-07T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714025#M61304</link>
      <description>hi,&lt;BR /&gt;At this stage , i would recommend to use that&lt;BR /&gt;steps , because any manual exercises can cause&lt;BR /&gt;kernel data structure corruption.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 07 May 2002 11:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714025#M61304</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-07T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714026#M61305</link>
      <description>It took me some time, but I finally found the root cause. The scripts in /sbin/init.d:&lt;BR /&gt;&lt;BR /&gt;kminit&lt;BR /&gt;kmbuild&lt;BR /&gt;&lt;BR /&gt;had a size of zero bytes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Replacing the scripts with their original contents solved (of course) the problem.&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Fri, 07 Jun 2002 11:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714026#M61305</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-06-07T11:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714027#M61306</link>
      <description>The key is the 11 OS - &lt;BR /&gt;And U.SivaKumar  got it right -&lt;BR /&gt;you must do a kmupdate - &lt;BR /&gt;then reboot after the mk_kernel.</description>
      <pubDate>Fri, 07 Jun 2002 17:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714027#M61306</guid>
      <dc:creator>Jim Butler</dc:creator>
      <dc:date>2002-06-07T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: rebuild kernel increase semmns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714028#M61307</link>
      <description>Hi Kurt,&lt;BR /&gt;&lt;BR /&gt;Did you rebuild the kernel manually. These are the steps in building up a new kernel,&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s  system &lt;BR /&gt;# kmtune -S /stand/build/system -s parm_name=value&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;kmtune -S /stand/build/system -s parm_name+value&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/mk_kernel -s ./system&lt;BR /&gt;# mv /stand/system /stand/system.prev&lt;BR /&gt;&lt;BR /&gt;#new for dynamically linked modules at 11.0&lt;BR /&gt;&lt;BR /&gt;# mv /stand/build/system /stand/system&lt;BR /&gt;# kmupdate   # kmupdate automates moves  the kernel files into the proper directory&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry 0 &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jun 2002 17:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rebuild-kernel-increase-semmns/m-p/2714028#M61307</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-07T17:59:18Z</dc:date>
    </item>
  </channel>
</rss>

