[elrepo-devel] kernel-2.6.32-131.0.15.el6.centos.ayplus.i686.rpm

Steve Clark sclark at netwolves.com
Sat Jul 2 14:59:56 EDT 2011


On 07/01/2011 10:33 AM, Steve Clark wrote:
> On 06/30/2011 05:15 PM, Akemi Yagi wrote:
>> On Thu, Jun 30, 2011 at 12:00 PM, Steve Clark<sclark at netwolves.com>  wrote:
>>> Thanks! I am testing it now.
>> Thank you for testing. Do let me know how things go.
>>
>> Akemi
>>
> Well it boots and runs for a while. I was hoping it would fix my hang problem on the Via Eden CentaurHauls system.
> We have over 100 of these boxes we want to move off of FreeBSD. Centos 5.x works fine with no hangs.
>
> I would really like to try a later kernel than 2.6.32 to see it the hang is gone.
>
> Is there anyone that has tried building an rpm for el6 using a later kernel than 2.6.32?
>
> Similar to what is discussed in this thread:https:
> //www.centos.org/modules/newbb/viewtopic.php?topic_id=23627&forum=37
>
> Thanks for all your fine work.
>
>
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
built. Still in the process of testing it.

echo "%post"
echo "if [ \`uname -i\` == \"x86_64\" -o \`uname -i\` == \"i386\" ]; then"
echo "  if [ -f /etc/sysconfig/kernel ]; then"
echo "    /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel || exit \$?"
echo "  fi"
echo "fi"
echo "/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --host-only --add-plymouth-initrd --depmod --install "$KERNELRELEASE" || exit \$?"
echo ""

echo "%preun"
echo "/sbin/new-kernel-pkg --rminitrd --dracut --rmmoddep --remove "$KERNELRELEASE" || exit \$?"
echo ""




-- 
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo-devel/attachments/20110702/dbcc569d/attachment.html>


More information about the elrepo-devel mailing list