<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 07/01/2011 10:33 AM, Steve Clark wrote:
    <blockquote cite="mid:4E0DDAB2.5010301@netwolves.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      On 06/30/2011 05:15 PM, Akemi Yagi wrote:
      <blockquote
        cite="mid:BANLkTimEH=vGG0es0uWEaT6FVUKvUxpMzQ@mail.gmail.com"
        type="cite">
        <pre wrap="">On Thu, Jun 30, 2011 at 12:00 PM, Steve Clark <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:sclark@netwolves.com">&lt;sclark@netwolves.com&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Thanks! I am testing it now.
</pre>
        </blockquote>
        <pre wrap="">Thank you for testing. Do let me know how things go.

Akemi

</pre>
      </blockquote>
      <font face="sans-serif">Well it boots and runs for a while. I was
        hoping it would fix my hang problem on the Via Eden CentaurHauls</font>
      system.<br>
      We have over 100 of these boxes we want to move off of FreeBSD.
      Centos 5.x works fine with no hangs.<br>
      <br>
      I would really like to try a later kernel than 2.6.32 to see it
      the hang is gone. <br>
      <br>
      Is there anyone that has tried building an rpm for el6 using a
      later kernel than 2.6.32?<br>
      <br>
      Similar to what is discussed in this thread:https:<br>
//www.centos.org/modules/newbb/viewtopic.php?topic_id=23627&amp;forum=37<br>
      <br>
      Thanks for all your fine work.<br>
      <br>
      <br>
    </blockquote>
    Responding to my own E-mail by following Alan's instructions and
    making the following changes to the mkspec ( --dracut --host-only )
    - have a kernel rpm<br>
    built. Still in the process of testing it.<br>
    <br>
    echo "%post"<br>
    echo "if [ \`uname -i\` == \"x86_64\" -o \`uname -i\` == \"i386\" ];
    then"<br>
    echo "&nbsp; if [ -f /etc/sysconfig/kernel ]; then"<br>
    echo "&nbsp;&nbsp;&nbsp; /bin/sed -i -e
    's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/'
    /etc/sysconfig/kernel || exit \$?"<br>
    echo "&nbsp; fi"<br>
    echo "fi"<br>
    echo "/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut
    --host-only --add-plymouth-initrd --depmod --install
    "$KERNELRELEASE" || exit \$?"<br>
    echo ""<br>
    <br>
    echo "%preun"<br>
    echo "/sbin/new-kernel-pkg --rminitrd --dracut --rmmoddep --remove
    "$KERNELRELEASE" || exit \$?"<br>
    echo ""<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Stephen&nbsp;Clark<br>
      <b>NetWolves</b><br>
      Sr.&nbsp;Software&nbsp;Engineer&nbsp;III<br>
      Phone:&nbsp;813-579-3200<br>
      Fax:&nbsp;813-882-0209<br>
      Email:&nbsp;<a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
      <a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
    </div>
  </body>
</html>