<?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: problem with mk_kernel in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934676#M785458</link>
    <description>What is de output off echo $LANG&lt;BR /&gt;&lt;BR /&gt;This variable must be empty to rebuild succesfully the kernel</description>
    <pubDate>Wed, 19 Oct 2005 05:30:08 GMT</pubDate>
    <dc:creator>Luk Vandenbussche</dc:creator>
    <dc:date>2005-10-19T05:30:08Z</dc:date>
    <item>
      <title>problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934673#M785455</link>
      <description>Dear sirs,&lt;BR /&gt;&lt;BR /&gt;My customer has HP9000 L1000 with HP-UX 11.0. and has the problem, describe below:&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; mk_kernel fails to create /stand/build/vmunix_test&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; PROBLEM&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; When trying to create a new kernel manually on HP-UX 11.00 the &lt;BR /&gt;&amp;gt; mk_kernel command fails to create vmunix_test in the /stand/build &lt;BR /&gt;&amp;gt; directory.&lt;BR /&gt;&amp;gt; No errors are reported. The exit code of mk_kernel is zero and it &lt;BR /&gt;&amp;gt; completes very fast and returns to a prompt:&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; # cd /stand/build&lt;BR /&gt;&amp;gt; # /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;&amp;gt; NOTE:    The template file has been extracted from "/stand/vmunix"&lt;BR /&gt;&amp;gt;          It has been placed in "system" where it will be used&lt;BR /&gt;&amp;gt;          to build a new kernel.&lt;BR /&gt;&amp;gt; # /usr/sbin/mk_kernel -s /stand/build/system #&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Usually the output looks like this:&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; # /usr/sbin/mk_kernel -s /stand/build/system Generating module: krm...&lt;BR /&gt;&amp;gt;         /usr/bin/mkdir -p /stand/build Compiling conf.c...&lt;BR /&gt;&amp;gt; Loading the kernel...&lt;BR /&gt;&amp;gt; Generating kernel symbol table...&lt;BR /&gt;&amp;gt; #&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; None of the above messages from mk_kernel are being reported.&lt;BR /&gt;&amp;gt; Why does mk_kernel fail ?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; CONFIGURATION&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;BR /&gt;"Edited to comply with ITRC Guidelines"&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Regret the backup was lost some time ago.&lt;BR /&gt;So, system working properly now except this functionality.&lt;BR /&gt;The customer not has the same servers for has possibility take needed files from normal server to problem server.&lt;BR /&gt;&lt;BR /&gt;May be somebody can the such system with such OS for help me take backup of it directory ?&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Efim.</description>
      <pubDate>Wed, 19 Oct 2005 03:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934673#M785455</guid>
      <dc:creator>Efim Kushnir</dc:creator>
      <dc:date>2005-10-19T03:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934674#M785456</link>
      <description>swverify \*&lt;BR /&gt;&lt;BR /&gt;You may have a patching problem.&lt;BR /&gt;&lt;BR /&gt;Please verify that PHKL_18453 is installed and has only been installed once.&lt;BR /&gt;&lt;BR /&gt;OS backup is best done with make_tape_recovery to tape or make_net_recovery to an nfs share on an Ignite server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Oct 2005 04:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934674#M785456</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-19T04:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934675#M785457</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;The indicated patch is missing in it server (see attached file).&lt;BR /&gt;&lt;BR /&gt;Regret customer has not Ignite server - it standalone server without some reserve.&lt;BR /&gt;The backup is lost too.&lt;BR /&gt;&lt;BR /&gt;For resolve it I have search the same system for take backup of problem directory.&lt;BR /&gt;&lt;BR /&gt;How it patch can help for resolve it problem ? &lt;BR /&gt;What do it patch ?&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Efim.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Oct 2005 05:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934675#M785457</guid>
      <dc:creator>Efim Kushnir</dc:creator>
      <dc:date>2005-10-19T05:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934676#M785458</link>
      <description>What is de output off echo $LANG&lt;BR /&gt;&lt;BR /&gt;This variable must be empty to rebuild succesfully the kernel</description>
      <pubDate>Wed, 19 Oct 2005 05:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934676#M785458</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2005-10-19T05:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934677#M785459</link>
      <description>Hello once more.&lt;BR /&gt;&lt;BR /&gt;It patch  is missing on ITRC. &lt;BR /&gt;May be you is wrong with patch-name ?&lt;BR /&gt;&lt;BR /&gt;Efim.</description>
      <pubDate>Wed, 19 Oct 2005 05:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934677#M785459</guid>
      <dc:creator>Efim Kushnir</dc:creator>
      <dc:date>2005-10-19T05:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934678#M785460</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;It full describe of my problem:&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;mk_kernel fails to create /stand/build/vmunix_test &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;&lt;BR /&gt;When trying to create a new kernel manually on HP-UX 11.00 the mk_kernel command fails to create vmunix_test in the /stand/build directory.&lt;BR /&gt;No errors are reported. The exit code of mk_kernel is zero and it completes very fast and returns to a prompt:&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s 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;# /usr/sbin/mk_kernel -s /stand/build/system #&lt;BR /&gt;&lt;BR /&gt;Usually the output looks like this:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/mk_kernel -s /stand/build/system 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;&lt;BR /&gt;None of the above messages from mk_kernel are being reported.&lt;BR /&gt;Why does mk_kernel fail ?&lt;BR /&gt;&lt;BR /&gt;CONFIGURATION&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.X &lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;&lt;BR /&gt;The mk_kernel command calls config. This is the command which fails in the mk_kernel script:&lt;BR /&gt;&lt;BR /&gt;# sh -x mk_kernel -s /stand/build/system ...&lt;BR /&gt;+ config -m /usr/conf/master.d /stand/build/system cmd_result=0 [[ 0 -ne &lt;BR /&gt;+ 0 ]] [[ -n  ]] [[ -n  ]] exit 0&lt;BR /&gt;&lt;BR /&gt;The config command would usually report its progress on the command line:&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;&lt;BR /&gt;but none of the above messages are reported. config calls the make command in turn (see man config(1M)):&lt;BR /&gt;&lt;BR /&gt;# type make&lt;BR /&gt;make is a tracked alias for /usr/bin/make # ll /usr/bin/make&lt;BR /&gt;lr-xr-xr-t   1 root       sys             17 Jun 26  2001 /usr/bin/make&lt;BR /&gt;-&amp;gt; /usr/ccs/bin/make&lt;BR /&gt;&lt;BR /&gt;It turned out that /usr/ccs/bin/make was a zero size file. All files in the /usr/ccs/bin directory were zero size.&lt;BR /&gt;&lt;BR /&gt;These files need to be restored from backup in order for mk_kernel to succeed.&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;If somebody can help me and can send me needed backup that will be very good :-)&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Efim/</description>
      <pubDate>Thu, 20 Oct 2005 01:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934678#M785460</guid>
      <dc:creator>Efim Kushnir</dc:creator>
      <dc:date>2005-10-20T01:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem with mk_kernel</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934679#M785461</link>
      <description>Only re-installation of HP-UX or restore failed files from backup copies can help. It official answer of HP support.</description>
      <pubDate>Tue, 04 Apr 2006 03:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-mk-kernel/m-p/4934679#M785461</guid>
      <dc:creator>Efim Kushnir</dc:creator>
      <dc:date>2006-04-04T03:44:19Z</dc:date>
    </item>
  </channel>
</rss>

