<br><br><div><span class="gmail_quote">On 2/13/06, <b class="gmail_sendername">Neil Cherry</b> <<a href="mailto:ncherry@comcast.net">ncherry@comcast.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jeff Vian wrote:<br>> On Sun, 2006-02-12 at 23:14 -0500, Neil Cherry wrote:<br>>> URL source:<br>>> <a href="http://fedora.redhat.com/docs/release-notes/fc4/errata/#sn-kernel">http://fedora.redhat.com/docs/release-notes/fc4/errata/#sn-kernel
</a><br>>><br>>> This has to be the dumbest question I can ask. I've googled and<br>>> I found all sorts of way to compile the kernel for Fedora.<br>>> Unfortunately they all seem to be wrong or missing details.
<br>>> So how does one build an FC4 kernel?<br>>><br>>> Kernel: 2.6.15-1.1831 (kernel & kernel-devel)<br>>><br>> Download and install the src rpm from<br>> <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm">
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm</a><br>> then compile to your heart's content.<br><br>ARGH! It official, I'm an a**! Honest I've been trying to compile
<br>this kernel for a while and I've been getting all sorts of errors<br>and stuff has been put all over the place (hmm, I did remove the<br>.rpmmacro file too). Anyway, I did downloaded the src and I have<br>yum download both (I need Moxa drivers). I think half the
<br>problem is that I messed things up and the other half is that<br>there is too much wrong or outdated info on Google. Here's<br>what I did so far:<br><br>wget<br><a href="ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm">
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm</a><br>rpm -ihv ~/kernel-2.6.15-1.1831_FC4.src.rpm<br><br># cd ../BUILD/kernel-2.6.12/linux-2.6.12/<br><br>cd /usr/src/redhat/SPECS
<br>rpmbuild -bp --target=i686 kernel-2.6.spec<br>cd ../BUILD/kernel-2.6.15/linux-2.6.15/<br>make xconfig<br>make rpm<br><br>And when it's done I'll do this:<br><br>cd /usr/src/redhat/RPMS/i386/<br>rpm -ivh kernel-2.6.15prep-1.i386.rpm
<br>cd /boot<br>mkinitrd initrd-2.6.15-prep.img 2.6.15-prep<br><br>Thanks for the help and I hope that others find the above useful.<br>If it's incorrect I'll post the corrections (for my sanity as<br>well as others).</blockquote>
<div><br>You know I wanted to ask this question a few days ago.. thanks for taking the bullet for me.  This is exactly what I needed.  I have another question though.  If you needed to patch.  WHere would it go in the process?  Where would you issue the 'patch -pl' command?
<br><br>Thanks.<br><br>JT<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>Linux Home Automation         Neil Cherry       
<a href="mailto:ncherry@linuxha.com">ncherry@linuxha.com</a><br><a href="http://www.linuxha.com/">http://www.linuxha.com/</a>                         Main site<br><a href="http://linuxha.blogspot.com/">http://linuxha.blogspot.com/
</a>                    My HA Blog<br><a href="http://home.comcast.net/~ncherry/">http://home.comcast.net/~ncherry/</a>               Backup site<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>