<?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: Error on kernel regen in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328917#M475744</link>
    <description>&lt;P&gt;&amp;gt;&amp;gt;I am not even able to load any patches or modify any Static parameters.﻿&lt;/P&gt;&lt;P&gt;&amp;gt;Did you munge around in '/var/adm/sw' for any reason?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or just that all of these changes need to do a kernel regen?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2011 12:53:06 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-12T12:53:06Z</dc:date>
    <item>
      <title>Error while compiling kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327935#M475723</link>
      <description>&lt;P&gt;Just had to reinstall 11.00 on a rp2470 box from scratch. The OS installed fine. However, upon trying to install any additional kernel patches or any package that needs a kernel re-compile, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&amp;nbsp;&amp;nbsp; Building a new kernel based on template file "/stand/system"&lt;BR /&gt;config: error in opening file -- /usr/conf/master.d/krm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried replacing this file from the backups to see if it was corrupted in some way. Hasn't helped. Please advise.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2011 16:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327935#M475723</guid>
      <dc:creator>vdg1683</dc:creator>
      <dc:date>2011-09-10T16:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error on kernel regen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327955#M475726</link>
      <description>&lt;P&gt;&amp;gt;Just had to reinstall 11.00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(This version isn't supported.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;error in opening file -- /usr/conf/master.d/krm﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file is there with the correct permissions on all of the component paths?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 12:52:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327955#M475726</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-12T12:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compiling kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327997#M475727</link>
      <description>&lt;P&gt;I know 11.00 isn't supported, but that's what I have &amp;amp; hence need to work on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did check the permissions on the file path &amp;amp; compared it with a server with the same configurations &amp;amp; it's setup the same way. Following is how the permissions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drwxr-xr-x&amp;nbsp; 25 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024 Sep&amp;nbsp; 9 02:43 /usr&lt;/P&gt;&lt;P&gt;dr-xr-xr-x&amp;nbsp; 24 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024 Sep&amp;nbsp; 9 02:11 /usr/conf&lt;/P&gt;&lt;P&gt;dr-xr-xr-x&amp;nbsp;&amp;nbsp; 2 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048 Sep&amp;nbsp; 9 13:25 /usr/conf/master.d&lt;/P&gt;&lt;P&gt;-rw-r--r--&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 956 Jul 12&amp;nbsp; 2006 /usr/conf/master.d/krm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP-UX fpkmgt01 B.11.00 U 9000/800 1820990626 unlimited-user license&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The OS was installed with a March 2003 core OS CD &amp;amp; the March 2003 Support Tools pack was loaded after that.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2011 20:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5327997#M475727</guid>
      <dc:creator>vdg1683</dc:creator>
      <dc:date>2011-09-10T20:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compiling kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328303#M475731</link>
      <description>&lt;P&gt;It appears you may be having a problem with your EMS-KRMonitor&amp;nbsp; kenerl modules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;1. Check if krm is installed:&lt;/P&gt;&lt;P align="left"&gt;# swlist -l product EMS-KRMonitor&lt;/P&gt;&lt;P align="left"&gt;# Initializing...&lt;/P&gt;&lt;P&gt;EMS-KRMonitor A.11.11.04 EMS Kernel Resource Monitor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.# cd /etc/opt/resmon/lib/krm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # kminstall -a krm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will put all the files in the correct location the files are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;subsystem code to&amp;nbsp; &lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;/usr/conf/km.d/&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;krm/mod.o&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;master file to&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;/usr/conf/master.d/&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;krm&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;system file to&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;/stand/system.d/&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;krm&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;3.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;Use&amp;nbsp;&amp;nbsp; k&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;msystem &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;to check if the installation of the module was successful:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # kmsystem -q krm&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;Module&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configured&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loadable&lt;BR /&gt;=================================================&lt;/P&gt;&lt;P align="left"&gt;krm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y &amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;4. Run&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # kmadmin -Q krm&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;to see what the status of the module is....&amp;nbsp; It should say&amp;nbsp; "LOADED"&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;If the Module is not in the kernel you will need to rebuild the kernel and add the module:&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;# mk_kernel -M krm&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;NOTE: --&amp;gt;&lt;/P&gt;&lt;P&gt;Activated module(s) is(are) only available until system reboot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;# kmadmin -L krm&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;to load modules into a running kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kmadmin: Module krm loaded, ID = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are not using&amp;nbsp; EMS just run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kminstall -d krm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will remove the&amp;nbsp; modules&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 20:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328303#M475731</guid>
      <dc:creator>UX4life</dc:creator>
      <dc:date>2011-09-11T20:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compiling kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328339#M475732</link>
      <description>&lt;P&gt;Thank you for that! I re-searched &amp;amp; already tried that. It would still give me the same error at the 'mk_kernel -M krm' step. So I thought I'd try by just disabling this module altogether. I did a 'kminstall -d krm'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, it gives the same error for other modules:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;config: error in opening file -- /usr/conf/master.d/func0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think my problem is beyond just 'krm'. Something is screwed up on this system. Anything that doesn't need a kernel re-build, gets installed fine &amp;amp; wroks good. I am not even able to load any patches or modify any Static parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 00:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328339#M475732</guid>
      <dc:creator>vdg1683</dc:creator>
      <dc:date>2011-09-12T00:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compiling kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328891#M475741</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1205183"&gt;@vdg1683&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;I am not even able to load any patches or modify any Static parameters.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What does 'swlist' return?&amp;nbsp; Did you munge around in 'var/adm/sw' for any reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 12:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328891#M475741</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-09-12T12:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error on kernel regen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328917#M475744</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;I am not even able to load any patches or modify any Static parameters.﻿&lt;/P&gt;&lt;P&gt;&amp;gt;Did you munge around in '/var/adm/sw' for any reason?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or just that all of these changes need to do a kernel regen?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 12:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328917#M475744</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-12T12:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error on kernel regen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328947#M475745</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Just had to reinstall 11.00 on a rp2470 box from scratch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;I even tried replacing this file from the backups to see if it was corrupted in some way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The kernel gen issue seems to be a symptom of&amp;nbsp; a bigger issue.&lt;/P&gt;&lt;P&gt;You may want to review the 11.0&amp;nbsp; install procedures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You mentioned replacing the krm file from backup , I am not sure of your back up tool or if the file was&amp;nbsp;restored &amp;nbsp;from an image from this systems backup of from another server.&amp;nbsp; How&amp;nbsp; and what you restored maybe the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not knowing the above makes it hard to pinpoint the true issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cold Install the OS add the apps and then patch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When patching be sure options are "manage patch selection" and&amp;nbsp; "match what target has" &amp;nbsp;are selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To minimize error use the TUI&amp;nbsp; by running swinstall without options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 13:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5328947#M475745</guid>
      <dc:creator>UX4life</dc:creator>
      <dc:date>2011-09-12T13:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error on kernel regen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5330347#M475762</link>
      <description>I tried restoring the 'krm' file from a Netbackup backup of the server. That didn't help. I had renamed the original file &amp;amp; have now put it back as 'krm'. I don't have the option of re-loading the OS now since the app is already up &amp;amp; running on it, but there are certain company standard products that I need to install &amp;amp; those need a kernel rebuild which is failing.&lt;BR /&gt;Nothing was done in /var/adm/sw</description>
      <pubDate>Tue, 13 Sep 2011 13:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compiling-kernel/m-p/5330347#M475762</guid>
      <dc:creator>vdg1683</dc:creator>
      <dc:date>2011-09-13T13:54:58Z</dc:date>
    </item>
  </channel>
</rss>

