LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2006, 02:00 PM   #1
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Rep: Reputation: 19
Angry fc5 missing kernel source/will not install


Trying to build gspca (webcam driver) and the make errors with :
make: *** /lib/modules/2.6.15-1.2054_FC5/build: No such file or directory. Stop.
make: *** [default] Error 2

The ./build/ softlink is broken.
I've tried to install the kernel sources (using the add/remove software gui) and the kernel source is still missing.
Searched other threads, but found nothing worthwhile.

Update1: Got part of the problem is that the gui update installed the wrong source (2.6.17-1.2187_FC5). It should have installed the source for my kernel (2.6.15-1.2054_FC5)

Stupid damn computer.

Last edited by babysparrow; 10-10-2006 at 02:09 PM.
 
Old 10-10-2006, 02:17 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
Please review the Release note found on the installation media or here;

http://fedora.redhat.com/docs/releas...ISO/#sn-Kernel

You may only need to install the kernel-devel and glibc-headers rpm packages;

# yum install kernel-devel glibc-headers


.
 
Old 10-10-2006, 02:19 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Which kernel are your actually running. In terminal type uname -r

The 2.6.15-1.2054 kernel is really old. Unless you have a really good reason I would build to the current kernel 2.6.17-1.2187.

You should be able to install the kernel-dev package for your kernel. Yum install kerenel-dev-(specific #).

Lazlow
 
Old 10-10-2006, 02:34 PM   #4
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
[root@ra gspcav1-20060925]# uname -r
2.6.15-1.2054_FC5

I cannot seem to get my hands on this kernel source.

rpmfind.net gets an ftp error "failed to change directory 550" when I try to download from there.

Google this version and there's a shed load of problems out there.

yum fails with "Metadata file does not match checksum" on every single mirror.

I've tried everyhting I know of.

Help !!!
 
Old 10-10-2006, 02:43 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
ftp://zeniv.linux.org.uk/pub/distrib...os/Fedora/RPMS

Search for kernel-devel

Pick the correct one.

If you double click on it it should bring up the install manger (asking for root password).

Lazlow
 
Old 10-10-2006, 02:46 PM   #6
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
Thanks lazlow I might try your last.

However, i've been in situations like this with Linux before and run into problems for months and months because of it.

Would I be better off reverting to trusty FC4 ?

(seriously - I've had enough of FC5 and I haven't even commissioned the goddamned box yet!!!)

EDIT : Just re-read your last - the strange thing is that the kernel source that _was_ installed was the 2.6.17 version - yet the actual kernel is 2.6.15. I downloaded the FC5 distro just 3 weeks ago. Why have I ended up with this hotchpotch of versions ?

Last edited by babysparrow; 10-10-2006 at 02:50 PM.
 
Old 10-10-2006, 03:06 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
The Iso are the ones made when FC5 was released(the only official ones). In the linux world that was a long time ago. If you do a yum update (which you should do right after every fresh install) you will download a ton of updates.

Fc4 has been moved to legacy status. This essentially means that there will be no more development on it and very few updates. I would not even think about it. If you are looking for long term stability (which means few innovations too) look at Centos. Centos is essentially a rebadged version of redhat (free).

Once you get FC5 up and running I think you will be happy.

Lazlow
 
Old 10-10-2006, 04:21 PM   #8
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
lazlow,

Thanks very much for the advice.

And - I did take your advice and have upgraded the kernel to 2.6.17-1.2187_FC5.

Now I have a kernel that matches the source ;-) - and can compile gspca. It errors when I modprobe, but that's a different matter.

I will be sticking with FC5 and tackle the teething troubles along the way.

One other question (I promise I'm not a noob) ... why does the source get suffixed "i586" and yet the kernel is "i686". Please don't shout ... eek...

(We need a new term for people who are not noob but rather ones who've been in IT for 20+ years and have used Linux/Unix/MS***/Cobol for too long and cannot remember _every_ single detail every step of the way!!)
 
Old 10-10-2006, 04:35 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
There are both i586 and i686 version in both the kernel and the kernel source. If you are running i686 kernel and have i586 kernel-devel package I would remove it and reinstall it.

yum remove kernel-devel
yum clean all (just in case)
yum install kernel-dev (for the current kernel you should not need to specify version)


I would also strongly suggest getting all the updates.

yum update

Lazlow
 
Old 10-10-2006, 05:05 PM   #10
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
Did :

yum remove kernel-devel - this removed the i585 src.
yum clean all - this cleared 3 cached files
yum install kernel-dev - this took a bit downloading then nothing

Now I'm back to having no source.

It's such fun!! :-)

What's worse - I cannot seem to locate _any_ useful source rpm's anywhere...

[root@ra kernels]# yum install kernel-dev
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 767 kB 00:03
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 20.38 seconds
primary.xml.gz 100% |=========================| 1.6 MB 00:10
extras : ################################################## 5351/5351
Added 5351 new packages, deleted 0 old in 49.05 seconds
primary.xml.gz 100% |=========================| 376 kB 00:01
updates : ################################################## 1024/1024
Added 1024 new packages, deleted 0 old in 12.34 seconds
Parsing package install arguments
No Match for argument: kernel-dev
Nothing to do
[root@ra kernels]#
[root@ra kernels]# pwd
/usr/src/kernels
[root@ra kernels]# ls -l
total 0
[root@ra kernels]#
 
Old 10-10-2006, 05:11 PM   #11
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Sorry, try

yum install kernel-devel

Thinking one thing and typing another.

Lazlow
 
Old 10-10-2006, 05:37 PM   #12
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
OK lazlow,

I now have the correct source and the modules I required compile.

What's more, I can modprobe gspca (so the module 'fits' too).

Thanks very much for helping a frustrated user.

(Of course I should have got the missing el on devel too).

I just have to migrate a mysql db now and I'm done. This, I can manage.

Cheers.
 
  


Reply

Tags
fc5, kernel, source


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
Install TorPark on FC5 from source??? hlpboplz Linux - Newbie 1 09-21-2006 11:33 PM
Couldnt install kernel source on FC5 vbo Fedora 4 03-29-2006 02:28 PM
Kernel source missing?? iansoundz Linux - General 2 12-04-2005 11:26 PM
kernel source missing nedian Linux - General 1 03-02-2004 03:26 AM
Cannot install e1000 module because of missing kernel source? schlagzeug Red Hat 5 11-07-2003 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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