LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-02-2006, 12:51 AM   #1
cetepek
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Rep: Reputation: 0
Fedora kernel source missing


First I like to apologize my bad english but pear with me.

Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.

I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.

what can I do. I would rather not reinstall all other modules and stuff in a new kernel.

Thanks for advance.
 
Old 06-02-2006, 01:33 AM   #2
phoenix49
Member
 
Registered: Jun 2005
Location: Azerbaijan/Baku
Distribution: Fedora Core 6 "Zod"
Posts: 179

Rep: Reputation: 30
Quote:
Originally Posted by cetepek
First I like to apologize my bad english but pear with me.

Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.

I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.

what can I do. I would rather not reinstall all other modules and stuff in a new kernel.

Thanks for advance.
Have you tried
Code:
yum install kernel-devel
?
 
Old 06-02-2006, 02:05 AM   #3
phanichaitanya
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by cetepek
First I like to apologize my bad english but pear with me.

Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.

I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.

what can I do. I would rather not reinstall all other modules and stuff in a new kernel.

Thanks for advance.

try install yum -y install kernel-devel

if it does not work
update your 2.6.15 kernel to 2.6.16 kernel and now try to install using the same above command
i hope it shouls work

 
Old 06-02-2006, 08:02 AM   #4
cetepek
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I installed kernel-devel, but it didn't help. It still give's me the same error... as I said earlier I would rather not install all other things again.

Do I have any other solution?
 
Old 06-02-2006, 08:15 AM   #5
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
What is the problem with upgrading your kernel to the current one in fedora core 4 repository ?
Code:
yum upgrade
Which modules are causing problems with this upgrade on your install ?

I did not search a lot but I was not able to find a kernel-devel for your current running kernel.
 
Old 06-02-2006, 09:02 AM   #6
cetepek
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I have upgradet the kernel and the newest one in my computer is something like 2.6.16-2.111_fc4 but I'm still using the older one because em8300 modules didn't upgrade with kernel and when i tryed to install them again with yum it didn't work either. I'm not sure will there be some other problems too, because this is my first Linux installation and i have been reading a lot of different guides to get were i am now (not always understund what i were doing).

Im trying to get vdr running and all other things are working but not lirc. So I cant use remote.

i forgot to say that i installed kernel-devel it still didnt wrok

Last edited by cetepek; 06-02-2006 at 09:04 AM.
 
Old 06-02-2006, 11:00 AM   #7
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Yes you installed kernel-devel with yum but.... which version ? I would bet it is kernel-devel-2.6.16-2.111_fc4 (latest kernel you updated). To make sure:

Code:
rpm -q kernel-devel
And since your want to compile using 2.6.15-1.1833_fc4, you need the sources for that one...

How did you install the current module for "em3800" ? and what is it anyway ? (From what I could find it some mpeg decoder card...)

Anyway... Did you even try to install lirc with yum ?
Code:
yum install lirc
Or do you have some specific reason why you want to compile it from source ?
 
Old 06-02-2006, 12:26 PM   #8
cetepek
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
i did first try install lirc with yum, but it didn't work with my remote, because it wont combile right kernel modules or something. My remotes ir-dongle is put to com1 so it needs drivers for serial (if i have understand correct). Any way i have tryed to install it with yum for weeks and i can't get it work. I have read that lirc should work with fedora and with my remote (technisat airstar 2) if you configure it by your shelf.

first i installed kernel-devel with yum, but i noticed that it was (like you said) 2.6.16-2.111_fc4 or something, after that i searched earlier version which was same as my kernel and installed it. It didn't work until i made symbolic link like:

ln -s /usr/src/kernel/kerne-version /usr/src/linux

now i could configure lirc. Everything is going well until i try to load modules for lirc. It gives me this kind of error:

WARNING: /etc/modprobe.conf line 13: ignoring bad line starting with 'options'
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_dev.ko): Invalid module format
WARNING: /etc/modprobe.conf line 13: ignoring bad line starting with 'options'
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_dev.ko): Invalid module format
FATAL: Error inserting lirc_serial (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_serial.ko): Invalid module format
FATAL: Error running install command for lirc_serial

new problem... thanks for help
 
Old 06-03-2006, 10:31 AM   #9
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Rep: Reputation: 16
from the looks of it it seems you add a bad option to your module.conf file. check that over, remove all flags and so on but the path to the module and see if that works.
 
Old 06-03-2006, 01:43 PM   #10
cetepek
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
the invalid option has been there quite some time. I have ignored it because it hasn't cause any trouble. Now I check it out and removed the badline but it did not solve the problem. If I try to install lirc module it comes out like this:

[root@htpc etc]# modprobe lirc_serial
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/kernel/drivers/misc/lirc_dev.ko): Invalid module format
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/kernel/drivers/misc/lirc_dev.ko): Invalid module format
FATAL: Error inserting lirc_serial (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_serial.ko): Invalid module format
FATAL: Error running install command for lirc_serial
[root@htpc etc]#

I have tried different versions of lirc and different configurations, but it hasnt worked out.

any solutions?
 
  


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 missing?? iansoundz Linux - General 2 12-04-2005 11:26 PM
FC3 missing kernel source??? Supp0rtLinux Fedora 6 11-22-2004 04:02 PM
RH9 2.4.20-31.9 kernel source missing hosehead72 Red Hat 2 09-21-2004 02:16 AM
kernel source missing nedian Linux - General 1 03-02-2004 03:26 AM
redhat 7.3 kernel source missing? fenixl13 Linux - Software 1 07-14-2002 03:10 AM

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

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