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 09-05-2007, 02:53 AM   #1
Bob Jones
Member
 
Registered: Mar 2007
Posts: 32

Rep: Reputation: 15
Build to wrong kernel (make install, etc.)


Hi all - I believe my kernel is messed up because I can not seem to build packages to the correct kernel.

I updated my kernel a couple days ago to: 2.6.22.2-42.fc6. All went for all I could see. I run em2880 for a USB hdtv prostick and I went to reinstall the package (per instructions at: http://mcentral.de/wiki/index.php/Em2880; as I normally do, but the "make" command tried to install to the following directory:

/lib/modules/2.6.22.1-32.fc6

Notice that the end of the "kernel" version is 1-32.fc6 - NOT 2.42.fc6. I thought maybe something was going wrong with the em2880 drivers and firmware so I concentrated most of my time there.

However, I do not think his is the problem. I recently upgraded kernels again to: 2.6.22.4-45.fc6. This time my nvidia drivers did not install correctly (normally I have to reboot, remove the old files; reinstall the new files and reboot again for the nvidia drivers to work). During the first reboot, I saw an automatic message that the nvidia drivers were already being installed. Before I got to the welcome screen I received an error indicating that the "x server could not start" - or something along those lines. This is normal after a kernel upgrade . . . so I just remove the old nvidia drivers and insert new ones therafter; reboot and everything works fine like I said above.

This time the drivers did not install correctly and I cannot get the nvidia drivers to load. My guess is that the nvidia drivers are building against the
2.6.22.1-32.fc6 kernel and not the newest kernel. I also get the same error above when I try to install the em2880 drivers.

Does any one know how to change "make" to install to the correct kernel version?

Let me know if there is any other information I can provide. Any help would be greatly appreciated.

Thanks - BJ
 
Old 09-05-2007, 03:59 AM   #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: 56
Confirm that your kernel-devel and kernel-headers packages match your running kernel;

uname -a
rpm -qa 'kernel*' | sort

If no then do something like: yum update kernel-devel kernel-headers
 
Old 09-18-2007, 01:27 AM   #3
Bob Jones
Member
 
Registered: Mar 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah - I was all up-to-date. Not exactly sure what was going on . . . but I had a second installation of Fedora (F7) on a second hard drive. I just manually deleted the contents of the drive when I booted into FC6 and everything seemed to work fine. Weird.
 
  


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
error during make command while trying to re build kernel venkatesh111 Linux - Networking 1 04-16-2006 01:37 PM
need to make ndiswrapper for 16k stacks kernel but build errors cDizzle Linux - Software 1 04-10-2006 03:01 PM
Mepis 2.6.7 Kernel make/build error Seribicus Linux - Software 0 02-17-2005 12:36 AM
build kernel with make-kpkg wrong processor type stockerz Debian 4 02-03-2005 11:14 PM
how to make modifications to a custom kernel build? h/w Linux - Newbie 2 11-09-2003 03:47 PM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration