LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-23-2004, 10:38 PM   #1
sonic
Member
 
Registered: Jan 2002
Location: PA
Distribution: Mint
Posts: 58

Rep: Reputation: 16
FC3 kernel source install problem


This sounds too easy

I can not get the files from the rpm kernel-2.6.9-1.681_FC3.src.rpm.

I use #rpm -ivh kernel-2.6.9-1.681_FC3.src.rpm and it shows the progress bar like it installs. There are no errors everything looks clean. The rpm is installed under the /usr/src directory.
There is nothing installed under the /usr/src/redhat directory. I have searched for the tarballs that I have heard should be produced and none are to be found. I have also searched for the normal tree structures that show up with a kernel package. Where is it putting all these files???

With all of the previous FC releases I have always compiled my kernel with the vanilla kernel from kernel.org so that my radeon will work. However, with FC3 the ATI driver is absolutety worthless, but I can't stand the extra stuff that bogs down the system and the vanilla 2.6.9 kernel has been flaky with FC3. Worked OK with the first FC3 kernel, but after the up2dates (which finally are worthwhile) on the kernel, I have a hard time getting goog streamlined kernels. This is why I raise the white flag and say give me the custom kernel sources.

It seems that FC has downgraded from each version. I know everyone loves the security, but it is operable as root and not as user. I am considering going back to Mandrake but I have had little success with my intel network card after version 9. My other choice that sounds good is debian.
 
Old 11-23-2004, 10:59 PM   #2
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
I installed that very package today and it put itself in /usr/src/redhat/SOURCES. I got mine off the mirror at Duke. (mirror.linux.duke.edu)

Maybe the package forgets to create the correct directory tree? Do you have all the usual suspects in the /usr/src/redhat dir? Did you install as root? Directory permissions OK?

I do agree that each FC release seems to be advancing to the rear at an ever increasing rate. If you think about it, RH has no reason to allow the world to have a free product that is better than the one they are trying to sell...
 
Old 11-23-2004, 11:03 PM   #3
sonic
Member
 
Registered: Jan 2002
Location: PA
Distribution: Mint
Posts: 58

Original Poster
Rep: Reputation: 16
It did not put itself in the ../souces tree.

But, I did download from redhat and not Duke
 
Old 11-23-2004, 11:05 PM   #4
sonic
Member
 
Registered: Jan 2002
Location: PA
Distribution: Mint
Posts: 58

Original Poster
Rep: Reputation: 16
BTW

How is slackware? I am thinking about giving it a shot.
 
Old 11-24-2004, 01:28 AM   #5
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Slackware is great if you don't need GUI config tools. You are on your own there. It is very much like BSD in the way it initializes and the way it favors stability over marginal features. It has the least helpful documentation, but that cuts both ways. It forces you to learn. Maybe that is what Patrick Volkerding is really trying to accomplish - to make us think for ourselves and to read the fine manuals.

I use RHEL on the desktop, but all my servers are highly modifed SL10 distro's.
 
Old 11-24-2004, 02:16 AM   #6
gibbylinks
Member
 
Registered: Oct 2003
Location: Manchester, UK
Distribution: Lucid Lynx 10.04
Posts: 46

Rep: Reputation: 15
Did this the other day and like you was bit mystified, then read soemwhere that all the rpm does when you run it is extract a "Tarball", I think that's right. You then have to copy the "Tarball" to /usr/src or where ever and extract that !!

Sorry can't tell you where it put's it or how to extract it as I'm not @ my PC just now. Might try /var/spool/ something think that's where the rpm's from up2date live.

Not much use I know, but hopefully a pointer.
 
Old 11-24-2004, 09:45 AM   #7
paikea
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
The RPM package extracts to /usr/src/redhat/SOURCES. You just have to do the following:

cd /usr/src
tar -xjvpf /usr/src/redhat/SOURCES/linux-2.6.9.tar.bz2

Now you have a folder linux-2.6.9 in /usr/src. Make a ln -s linux-2.6.9/ linux and you're done!

Last edited by paikea; 11-24-2004 at 09:49 AM.
 
Old 11-24-2004, 10:04 PM   #8
sonic
Member
 
Registered: Jan 2002
Location: PA
Distribution: Mint
Posts: 58

Original Poster
Rep: Reputation: 16
As I initially said, it sounds to easy.

As it turns out, the srpm puts tarballs in the /usr/src/redhat/SOURCE directory. I did not initially see this because I viewed it in the gui and not with ls as terminal. I was also surprised to find out that it looks like the official 2.6.9 kernel with the 2.6.10rc patch. All in all, I was able to compile the kernel but I am still wondering how is it a custom kernel when everthing appears to be like kernels that I have compiled right from kernel.org.

Thank you for your input.
 
Old 12-07-2004, 07:06 AM   #9
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
paikea

Thanks. I have followed this procedure and I am able to get the /usr/src/linux-2.6.9 folder but when other programs that require the kernel source call it I get the following:

[root@localhost ~]# sh build_26.sh i386
Checking for kernel-source... [ Failed ]

you must install the kernel-source.

[root@localhost ~]#

Any idea why?
 
Old 12-07-2004, 07:42 AM   #10
sonic
Member
 
Registered: Jan 2002
Location: PA
Distribution: Mint
Posts: 58

Original Poster
Rep: Reputation: 16
I have had some apps that required a symbolic link to the current source tree.

This was solved by creating a symbolic link in the /usr/src directory named linux that points to the current source tree.
 
  


Reply



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
Kernel Source in FC3 efanning Fedora 11 01-25-2005 01:30 PM
Where do I get the kernel source for FC3? deadmilkman Fedora 3 12-27-2004 04:22 PM
FC3 - how to get and install kernel-source package? philou Fedora 2 11-14-2004 08:01 AM
Having LILO problem after kernel Source install wpg9210 Linux - General 5 04-11-2004 01:22 PM
Nvidia Driver Install/Kernel Source Problem Brian of Gep Debian 6 03-14-2004 06:27 PM

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

All times are GMT -5. The time now is 01:52 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