<?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: linux psp74 kickstart install never returns control in %post in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648863#M20110</link>
    <description>Why do you say the psp requires the running kernel?  We are using the smart start scripting toolkit which basically ends up calling kickstart from a kernel runnning on a fat partition on local disk.  The kernel there is the same version as what ks will install and ks runs in a chroot'd environment to what will be the running kernel.  It has been my experience with this method I have to use the kernel from the /images/diskboot.img of the install media (i.e. the same kernel).  As an updated I have worked a bit with HP support. The problem *seems* to be that some psp process(es) never return from tty1. Commenting out the last portion of the install740.sh script (where it hups some pids) seems to make the problem go away while still completing successfully.  Hopefully this can be better explained....</description>
    <pubDate>Fri, 14 Oct 2005 09:22:30 GMT</pubDate>
    <dc:creator>Noal Miles</dc:creator>
    <dc:date>2005-10-14T09:22:30Z</dc:date>
    <item>
      <title>linux psp74 kickstart install never returns control in %post</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648861#M20108</link>
      <description>In the %post section of my kickstart file I call the psp74 install with the --inputfile option.  The psp does the install successfully but nothing following the psp in the %post section runs.  If I comment out the psp install I everything runs fine.  Looking at the %post section below the perl script and the echo never occur when the psp is run.....&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;BR /&gt;Thanks,&lt;BR /&gt;Noal&lt;BR /&gt;&lt;BR /&gt;Here is what my %post looks like..&lt;BR /&gt;&lt;BR /&gt;#Redirect IO to 3rd tty&lt;BR /&gt;exec &amp;lt; /dev/tty3 &amp;gt; /dev/tty3&lt;BR /&gt;#Change to 3rd tty&lt;BR /&gt;chvt 3&lt;BR /&gt;echo -e "STARTING post install \r" | tee /root/ks-out.log&lt;BR /&gt;mkdir /mnt/psp | tee /root/ks-out.log&lt;BR /&gt;mount -t nfs -o nolock 172.17.20.28:/s_psp74 /mnt/psp | tee  /root/ks-out.log&lt;BR /&gt;cp /mnt/psp/compaq/csp/linux/psp74.cfg /tmp | tee  /root/ks-out.log&lt;BR /&gt;/mnt/psp/compaq/csp/linux/install740.sh --nui --inputfile /tmp/psp74.cfg&lt;BR /&gt;/usr/bin/perl /mnt/psp/compaq/csp/linux/io.pl&lt;BR /&gt;umount /mnt/psp | tee /root/ks-out.log&lt;BR /&gt;echo -e "DONE post install \r" | tee /root/ks-out.log&lt;BR /&gt;chvt 7&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 10:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648861#M20108</guid>
      <dc:creator>Noal Miles</dc:creator>
      <dc:date>2005-10-13T10:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: linux psp74 kickstart install never returns control in %post</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648862#M20109</link>
      <description>&lt;BR /&gt;Few notes:&lt;BR /&gt;&lt;BR /&gt;PSP install requires the running kernel (not the kernel which is used to do the installation). So it would be better to start the installation of PSP after the OS is installed and server is rebooted in to production kernel. (use /etc/rc.d/rc.local file to do the PSP installation)&lt;BR /&gt;&lt;BR /&gt;We call the psp installer this way and it works fine for us:&lt;BR /&gt;install740.sh --silent --inputfile psp.dat 1&amp;gt;&amp;gt;log_file 2&amp;gt;&amp;gt;log_file&lt;BR /&gt;&lt;BR /&gt;I would suggest to add two -- for inputfile switch.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;GOpi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 23:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648862#M20109</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-10-13T23:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: linux psp74 kickstart install never returns control in %post</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648863#M20110</link>
      <description>Why do you say the psp requires the running kernel?  We are using the smart start scripting toolkit which basically ends up calling kickstart from a kernel runnning on a fat partition on local disk.  The kernel there is the same version as what ks will install and ks runs in a chroot'd environment to what will be the running kernel.  It has been my experience with this method I have to use the kernel from the /images/diskboot.img of the install media (i.e. the same kernel).  As an updated I have worked a bit with HP support. The problem *seems* to be that some psp process(es) never return from tty1. Commenting out the last portion of the install740.sh script (where it hups some pids) seems to make the problem go away while still completing successfully.  Hopefully this can be better explained....</description>
      <pubDate>Fri, 14 Oct 2005 09:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648863#M20110</guid>
      <dc:creator>Noal Miles</dc:creator>
      <dc:date>2005-10-14T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: linux psp74 kickstart install never returns control in %post</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648864#M20111</link>
      <description>Noal:&lt;BR /&gt;&lt;BR /&gt;Kudos to you as you have found a bug in the script.  The code beginning at line 1929, should only be executed if the install script was called from the autorun of a CD.  A fix has been implemented for the next PSP release.  However, if you need to fix your copy before that release, you can replace the code from line 1929 to eof with the following:&lt;BR /&gt;&lt;BR /&gt;# If we were called from a CD using autorun and a reboot is scheduled, we need to eject the CD.&lt;BR /&gt;if [ \( -n "$AUTO"  -a -n "$CDDEV" \) -a $RC -eq 16 ]&lt;BR /&gt;then&lt;BR /&gt; [ -x /usr/bin/eject ] &amp;amp;&amp;amp; EJECT=/usr/bin/eject&lt;BR /&gt; [ -x /bin/eject ] &amp;amp;&amp;amp; EJECT=/bin/eject&lt;BR /&gt; cat &amp;gt;/tmp/eject.sh &amp;lt;&amp;lt;-[]&lt;BR /&gt;&lt;BR /&gt; cd /root&lt;BR /&gt; autorunpid=`ps -eaf | grep autorun | awk '{print $2}'`&lt;BR /&gt; kill -HUP $autorunpid&lt;BR /&gt; sleep 2&lt;BR /&gt; kill -HUP $PPID&lt;BR /&gt; sleep 2&lt;BR /&gt; $EJECT -r $CDDEV&lt;BR /&gt; sleep 5&lt;BR /&gt; /bin/rm -f /tmp/eject.sh&lt;BR /&gt; exit&lt;BR /&gt; []&lt;BR /&gt;    cd /tmp&lt;BR /&gt;    chmod 700 /tmp/eject.sh&lt;BR /&gt;    nohup /tmp/eject.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;    disown %nohup&lt;BR /&gt;    $EJECT -r $CDDEV &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;    sleep 3&lt;BR /&gt;    $EJECT -r $CDDEV &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;fi&lt;BR /&gt;cd "$HOME"&lt;BR /&gt;exit $RC&lt;BR /&gt;&lt;BR /&gt;Again, thanks for bringing this to our attention.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Oct 2005 13:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-psp74-kickstart-install-never-returns-control-in-post/m-p/3648864#M20111</guid>
      <dc:creator>Jess Long</dc:creator>
      <dc:date>2005-10-17T13:52:36Z</dc:date>
    </item>
  </channel>
</rss>

