LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-20-2006, 01:13 PM   #1
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
Installing Kernel Source


I am in need to update iptables. In order to do this, I must first get the kernel sources. To my surprise FC 3 does not bring them. I am reading the directions from the Fedora website. http://fedora.redhat.com/docs/release-notes/fc3/x86/

I have gotten to step 3. I know this is a dumb questions, but how do I find what arc I am using? I did uname -p and got i686. I suppose this is correct and went ahead and ran the command.

Step 4 totally lost me. Here is what I ran:
cp kernel-2.6.9-i686.config ./.config
It asks me to overwrite the exsisting file. I said yes.

Step 5. make oldconfig gives me this error:
make: *** No rule to make target `oldconfig'. Stop.

Then the directions say continue like normal. Where excatly do I go from here?

I tried the patch-o-matic just to see what I got. First it asks me for the kernel source dir. I tell it: /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9, which it has no problem with. But when I go to install an update from patch-o-matic I get this:
Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] T
Testing patch submitted/02_2.4.20.patch...
Warning - no help text file could be found in either
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/net/ipv4/netfilter/Config.help
or /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/Documentation/Configure.help
Failed to patch copy of /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9

I am completely lost. Any help would be great. Thanks.
 
Old 03-20-2006, 02:16 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
Step 4 totally lost me. Here is what I ran:
cp kernel-2.6.9-i686.config ./.config
It asks me to overwrite the exsisting file. I said yes.

Step 5. make oldconfig gives me this error:
make: *** No rule to make target `oldconfig'. Stop.
You need to install the kernel development rpm packages first.

What is this patch-o-matic thing??? Does not sound good IMHO, since this just might be a bad patch (Testing patch submitted/02_2.4.20.patch...) for a 2.4 kernel maybe????

Why do you think you need to patch update the old FC3 kernel for iptables????

Visit; http://www.fedoralegacy.org/ and learn how to install/use yum to update your system instead.

From http://download.fedoralegacy.org/fedora/3/updates/i386/ for example;

kernel-2.6.12-2.3.legacy_FC3.i686.rpm 20-Feb-2006 19:33 18M
 
Old 03-21-2006, 01:28 PM   #3
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Yup. I was using the 2.4 program. Idiot. But I still got a problem. Time for a new post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Installing kernel source on 9.2 linux_noob_21 Mandriva 1 04-22-2005 04:50 PM
installing kernel-source-2.6.8 phoenix_wolf Linux - Newbie 8 12-14-2004 09:24 AM
Installing Kernel Source with 10.1 dolphans1 Mandriva 30 10-25-2004 10:19 AM
Installing Kernel Source rhraz Linux - Newbie 3 03-31-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration