<?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: I may have a Kernel Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051214#M304515</link>
    <description>Many thanks.&lt;BR /&gt;&lt;BR /&gt;Like I say, there's no indication of corruption as I've not made any changes yet. I'm planning on changing maxvgs over the weekend. So the fact that you have made copies of /stand/vmunix in the past using cp on a running system is very good to hear.&lt;BR /&gt;&lt;BR /&gt;How would you change maxvgs on HP 11.11 server to 32 (sam) ?&lt;BR /&gt;&lt;BR /&gt;I used to do the following on HP-Ux 10:&lt;BR /&gt;&lt;BR /&gt;1. system_prep a new system file in /stand/build&lt;BR /&gt;&lt;BR /&gt;2. edit /stand/build/system with whatever .....&lt;BR /&gt;&lt;BR /&gt;3. mk_kernel -s ./system&lt;BR /&gt;&lt;BR /&gt;4. mv /stand/vmunix /stand/vmunix.old&lt;BR /&gt;   mv /stand/system /stand/system.old&lt;BR /&gt;&lt;BR /&gt;5. cp /stand/build/system /stand&lt;BR /&gt;   cp /stand/build/vmunix_test /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;6. shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;   Cross fingers.&lt;BR /&gt;&lt;BR /&gt;I've been advised the above method is no longer supported in HP-UX 11.11 ????&lt;BR /&gt;&lt;BR /&gt;Is this true? and should I just use SAM?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nigel</description>
    <pubDate>Tue, 07 Aug 2007 11:16:16 GMT</pubDate>
    <dc:creator>NIGEL WHITE_2</dc:creator>
    <dc:date>2007-08-07T11:16:16Z</dc:date>
    <item>
      <title>I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051212#M304513</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;  Back in the days of HP-UX 10, you could copy /stand/vmunix to /stand/vmunix.bak and everything would be ok. I have just copied a vmunix file on a HP-UX 11.11 system and I've been advised that I may have corrupted my running Kernel because I used cp and not mv ???&lt;BR /&gt;&lt;BR /&gt;Question: &lt;BR /&gt;&lt;BR /&gt;1. Have I corrupted the Kernel and will the machine fail to boot next time its rebooted? As the Kernel has not been modified yet, why could it be corrupted? Is it being written too while the system is running? Theres no indication that the vmunix file has been written to???&lt;BR /&gt;&lt;BR /&gt;2. If my cp command has corrupted vmunix how do I fix it.&lt;BR /&gt;&lt;BR /&gt;This was in preparation to using SAM to change the maxvgs from 10 to 32, but like I say I have not changed the Kernel yet, I've just copied the /stand/vmunix file to /stand/vmunix.bak.&lt;BR /&gt;&lt;BR /&gt;Please advise, as I'm reluctant to reboot until someone explains why it MAY be corrupted by using cp.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nigel</description>
      <pubDate>Tue, 07 Aug 2007 10:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051212#M304513</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-07T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051213#M304514</link>
      <description>Shalom Nigel,&lt;BR /&gt;&lt;BR /&gt;The premise that using cp and not mv can corrupt the kernel is false. I've used cp and mv interchangeably when deploying new kernels manually.&lt;BR /&gt;&lt;BR /&gt;It is best to use the same commands that sam does. I would suggest you do a kernel change in sam on a good kernel and check the sam command log.&lt;BR /&gt;&lt;BR /&gt;If your kernel is corrupt, it is from some other cause. There could be a problem with the /stand filesystem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 07 Aug 2007 10:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051213#M304514</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-07T10:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051214#M304515</link>
      <description>Many thanks.&lt;BR /&gt;&lt;BR /&gt;Like I say, there's no indication of corruption as I've not made any changes yet. I'm planning on changing maxvgs over the weekend. So the fact that you have made copies of /stand/vmunix in the past using cp on a running system is very good to hear.&lt;BR /&gt;&lt;BR /&gt;How would you change maxvgs on HP 11.11 server to 32 (sam) ?&lt;BR /&gt;&lt;BR /&gt;I used to do the following on HP-Ux 10:&lt;BR /&gt;&lt;BR /&gt;1. system_prep a new system file in /stand/build&lt;BR /&gt;&lt;BR /&gt;2. edit /stand/build/system with whatever .....&lt;BR /&gt;&lt;BR /&gt;3. mk_kernel -s ./system&lt;BR /&gt;&lt;BR /&gt;4. mv /stand/vmunix /stand/vmunix.old&lt;BR /&gt;   mv /stand/system /stand/system.old&lt;BR /&gt;&lt;BR /&gt;5. cp /stand/build/system /stand&lt;BR /&gt;   cp /stand/build/vmunix_test /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;6. shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;   Cross fingers.&lt;BR /&gt;&lt;BR /&gt;I've been advised the above method is no longer supported in HP-UX 11.11 ????&lt;BR /&gt;&lt;BR /&gt;Is this true? and should I just use SAM?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nigel</description>
      <pubDate>Tue, 07 Aug 2007 11:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051214#M304515</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-07T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051215#M304516</link>
      <description>This is nonsense. Essentially the only difference in behavior other than the obvious difference that cp does not unlink the original file is that if the file were sparse cp would "fill in" the "holes" with ASCII NUL's but even then a sparse file should behave exactly the same as a non-sparse file because the read() system call silently fills in the "holes". The other difference is that within the same filesystem mv reuses the same inode but none of this will result in a corrupt kernel.&lt;BR /&gt;&lt;BR /&gt;Now, you don't want to run the system very long with a renamed kernel (ie the current "vmunix" is not the "vmunix" that the box booted) because applications that read the kernel's symbol table and use it to access /dev/kmem are going to get erroneous results but this would be true no matter what mechanism were used to rename/move/copy the kernel.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 11:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051215#M304516</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-07T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051216#M304517</link>
      <description>So, as Ive not made any Kernel changes yet, I still have a good Kernel after using the cp command and if i was to reboot now, it would come backup?&lt;BR /&gt;&lt;BR /&gt;Hope so.&lt;BR /&gt;&lt;BR /&gt;Nigel</description>
      <pubDate>Tue, 07 Aug 2007 11:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051216#M304517</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-07T11:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051217#M304518</link>
      <description>here are steps to take to make kernel changes in HP-UX 11.11&lt;BR /&gt;1. cd /stand/build&lt;BR /&gt;2./usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;3. vi  system==&amp;gt;to modify the parameter&lt;BR /&gt;4. cp -p /stand/system /stand/system.work&lt;BR /&gt;5. cp /stand/build/system /stand/system&lt;BR /&gt;6. /usr/sbin/mk_kernel -s /stand/build/system==&amp;gt;has to done under /stand/build&lt;BR /&gt;7. /usr/sbin/kmupdate&lt;BR /&gt;8. /usr/sbin/shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;confidence you build from here. Each version of HP-UX OS has its own way to be treated.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 11:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051217#M304518</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-08-07T11:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051218#M304519</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;When I run the system_prep command and edit the new system file under /stand/build/system, I notice there's no maxvsgs parameter???&lt;BR /&gt;&lt;BR /&gt;Do i have to create it myself??&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nigel</description>
      <pubDate>Tue, 07 Aug 2007 12:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051218#M304519</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-07T12:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051219#M304520</link>
      <description>Shalom again Nigel,&lt;BR /&gt;&lt;BR /&gt;kumtune &lt;BR /&gt;&lt;BR /&gt;This will display all kernel values possible that can be altered by a user. If its not there you can't set it.&lt;BR /&gt;&lt;BR /&gt;You don't have to do anything special.&lt;BR /&gt;&lt;BR /&gt;Just as a precaution, I use Ignite to do a make_tape_recovery backup of a system before doing this work. Then I do it.&lt;BR /&gt;&lt;BR /&gt;I think its time to try.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 07 Aug 2007 12:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051219#M304520</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-07T12:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051220#M304521</link>
      <description>if it is default value, then it will not show up in this file. You have to add:&lt;BR /&gt;maxvgs     32&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 12:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051220#M304521</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-08-07T12:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051221#M304522</link>
      <description>if it is a default value, then it will not show up in this file. You have to add:&lt;BR /&gt;maxvgs         32&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 12:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051221#M304522</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-08-07T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051222#M304523</link>
      <description>the get a complete list of your kernel values, do&lt;BR /&gt;sam-&amp;gt;Kernel Configuration-&amp;gt;Configurable Parameters, go file-&amp;gt;print; select file (not printer), give /tmp/kernel.lst(something like that), then OK. you can view /tmp/kernel.lst to check maxvgs which must be 10 in your case.</description>
      <pubDate>Tue, 07 Aug 2007 12:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051222#M304523</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-08-07T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051223#M304524</link>
      <description>Nigel,&lt;BR /&gt;&lt;BR /&gt;to troubleshoot, you can verify using mk_kernel to verify the integrity of the kernel compilation, this will not have any system impact.&lt;BR /&gt;&lt;BR /&gt;The proper steps of manual kernel regeneration in 11.11&lt;BR /&gt;&lt;BR /&gt;please refer to:-&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5185-6559/ch01s01.html#cjacdbcg" target="_blank"&gt;http://docs.hp.com/en/5185-6559/ch01s01.html#cjacdbcg&lt;/A&gt;</description>
      <pubDate>Tue, 07 Aug 2007 21:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051223#M304524</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-07T21:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051224#M304525</link>
      <description>one last question about SAM HP-UX 11.11:&lt;BR /&gt;&lt;BR /&gt;Once I change the maxvgs setting to 32 will a new Kernel be built and then reboot. Or will it rebuild the Kernel and then ASK if I want to reboot?&lt;BR /&gt;&lt;BR /&gt;I would like to make the change before the weekend so when the Server is rebooted over the weekend, it comes up with the new MAXVGS setting.&lt;BR /&gt;&lt;BR /&gt;Its been so long since I used SAM, having trouble remmebering.lol&lt;BR /&gt;&lt;BR /&gt;BTW, don't tell anyone Im using SAM. I have a reputation you know.lol&lt;BR /&gt;&lt;BR /&gt;R.&lt;BR /&gt;Nigel</description>
      <pubDate>Wed, 08 Aug 2007 05:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051224#M304525</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-08T05:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051225#M304526</link>
      <description>Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;maxvgs is a static parameter and system needs to be restarted to bring the changes into effect. If you change it using SAM, you need to select--&amp;gt;Actions, "Process New Kernel." It will ask for your confirmation that system will be rebooted, once you press ok, it will show /stand will be overwritten{ok}. Click and final(i hope) it gives u, Move the kernel and restart the system. &lt;BR /&gt;&lt;BR /&gt;But .... Please take appropriate backups.&lt;BR /&gt;1. Always Ignite.&lt;BR /&gt;2. /stand/vmunix    (i hope this was original thread how to take, with cp or mv.... ;) )&lt;BR /&gt;&lt;BR /&gt;your best bet then is vmunix.prev or your saved kernel.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;Anshu</description>
      <pubDate>Wed, 08 Aug 2007 06:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051225#M304526</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-08T06:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051226#M304527</link>
      <description>&amp;gt; I've been advised that I may have corrupted my running Kernel because I used cp and not mv ???&lt;BR /&gt; &lt;BR /&gt;You were advised incorrectly. As Clay mentioned, if the currently running kernel does not match /stand/vmunix, a few commands may have difficultie, specifically ipcs which needs to coordinate kernel memory with information from the vmunix file. That may have been what your advisor meant but it has nothing to do with mv or cp.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I notice there's no maxvsgs parameter???&lt;BR /&gt; &lt;BR /&gt;The system file is the CHANGE file for kernel parameters. If a parameter is not listed, then it takes on the default value. Add the parameters you wish to change. Note that SAM does all these steps automatically so if you support several versions of HP-UX (ie, 10.xx through 11.31) it is advisable to use SAM to make the changes (drivers, kernel parameters, etc) so you won't have to remember all the differences. In this case, SAM is the best choice -- you want to get the steps right.&lt;BR /&gt; &lt;BR /&gt;When using SAM to make the changes, it will first build the kernel, then it stops to ask you if you want to save the current kernel, and move the new one into place or forget the all the changes. If you say OK to move then SAM will move the new kernel into place and ask if you want to reboot now or later. I don't remember whether you have to leave SAM running until you finally reboot.</description>
      <pubDate>Wed, 08 Aug 2007 07:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051226#M304527</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-08-08T07:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051227#M304528</link>
      <description>Thanks Guys, you have all been great. I've spent so much time with Redhat LINUX over the last 12months I can hardly remember my HP-UX.lol&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Nigel</description>
      <pubDate>Wed, 08 Aug 2007 08:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051227#M304528</guid>
      <dc:creator>NIGEL WHITE_2</dc:creator>
      <dc:date>2007-08-08T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: I may have a Kernel Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051228#M304529</link>
      <description>Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;If you really think this thread was helpfull, please assign the points. &lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2007 00:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-may-have-a-kernel-problem/m-p/4051228#M304529</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-09T00:46:17Z</dc:date>
    </item>
  </channel>
</rss>

