LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-27-2005, 12:58 PM   #1
Zombie13
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 15
Fedora Core 3 kernel source problem.


I'm trying to install the drivers for my nVidia graphics card, which require the kernel sources to build the kernel module.

After a fresh install of Fedora Core 3, I ran "yum install upgrade". I'm now running on kernel "2.6.12-1.1381_FC3". However, if I do "yum install kernel-devel", I get the following...

Code:
[root@media yum.repos.d]# yum install kernel-devel
Setting up Install Process
Setting up Repos
atrpms                    100% |=========================|  951 B    00:00
http://ftp.isu.edu.tw/pub/Linux/Fedo...ta/repomd.xml: [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Trying other mirror.
base                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
freshrpms                 100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 245 kB    00:01
MD Read   : ################################################## 1062/1062
atrpms    : ################################################## 1062/1062
base      : ################################################## 2622/2622
updates-re: ################################################## 962/962
primary.xml.gz            100% |=========================|  99 kB    00:00
MD Read   : ################################################## 291/291
freshrpms : ################################################## 291/291
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-devel.i686 0:2.6.12-1.1372_FC3 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: kernel-devel.i686 0:2.6.12-1.1372_FC3 - updates-released
Total download size: 3.8 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
[root@media yum.repos.d]#
Obviously this package doesn't match my kernel. I've also tried "yum install kernel-devel-2.6.12-1.1381_FC3" but it says "No Match for argument: kernel-devel-2.6.12-1.1381_FC3, Nothing to do". Eventually I will need to install the Linuxant "Stack16" version of the 2.6.12-1.1381 kernel, to get ndiswrapper working.

Thanks for any help in advance!
 
Old 11-28-2005, 01:40 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try
Code:
#yum upgrade
#yum install kernel-devel
 
Old 11-28-2005, 03:54 PM   #3
dingaling
LQ Newbie
 
Registered: Aug 2004
Location: Atlanta
Distribution: FC1
Posts: 14

Rep: Reputation: 0
There is no kernel-devel past 1372 for FC3. I found this out the hard way. Apparently the sources have already been rolled in.
 
Old 11-28-2005, 04:48 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Oh, well so my method won't work. Maybe you could downgrade your kernel and then install the kernel devel package.
 
Old 11-28-2005, 09:53 PM   #5
dingaling
LQ Newbie
 
Registered: Aug 2004
Location: Atlanta
Distribution: FC1
Posts: 14

Rep: Reputation: 0
No need to downgrade. The kernel sources are already in the build directory for 1381.

The kernel headers I meant.

Last edited by dingaling; 11-28-2005 at 10:00 PM.
 
Old 11-29-2005, 02:11 AM   #6
Zombie13
Member
 
Registered: Nov 2003
Posts: 70

Original Poster
Rep: Reputation: 15
So does this mean I already have the required sources installed? I haven't tried to build any other modules, such as ivtv. So this could be a problem with the nVidia drivers? I had this machine fully installed with Fedora Core 3 in the past without this trouble, so that was probably a slightly older kernel.

Being as the default kernel-devel package yum wanted to install was 2.6.12-1.1372_FC3, couldn't I install that kernel? I tried "yum install kernel-2.6.12-1.1372_FC3", but no cigar.

Damn, this is annoying. After building a fully working MythTV machine with a PlayStation emulator, 3D acceleration etc, I did a system upgrade which stopped ivtv, ndiswrapper and the nVidia modules loading. Now I'm trying to reinstall, I get stuck on such a trivial matter.
 
Old 11-29-2005, 06:29 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you can get the kernel source rpm for your current kernel, I am sure you can rebuild it and get the right kernel devel package for your system.
 
Old 11-29-2005, 08:49 AM   #8
dingaling
LQ Newbie
 
Registered: Aug 2004
Location: Atlanta
Distribution: FC1
Posts: 14

Rep: Reputation: 0
Well it just so happens that I'm familiar with MythTV. I'm the creator of MythDora and if you wanted to try it out, be my guest.

Yes you could drop down to a lower kernel and get that kernel-devel if you wanted. Then you could build whatever you wanted. I'm a firm believer of "If it ain't broke, don't fix it".
 
  


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
Fedora Core 4, source compile kernel 2.6 (jane) fr0zen Fedora 2 11-08-2005 06:45 PM
Fedora Core 3 Install Kernel Source Mirag3 Fedora 1 06-17-2005 11:18 PM
Where is the kernel source code on the four CDS of Fedora core 3 isaac_linux Fedora 3 03-15-2005 03:37 AM
Fedora Core 3 Kernel Source poochdog Linux - Software 5 02-24-2005 05:35 AM
Fedora Core 3 - Kernel source Hockeyfan Fedora 2 11-14-2004 07:17 PM

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

All times are GMT -5. The time now is 06:59 PM.

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