LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-24-2008, 01:29 AM   #1
stepic
LQ Newbie
 
Registered: Aug 2006
Posts: 18

Rep: Reputation: 0
Kernel question


Hi

I upgraded to the latest kernel available via yum.
Then I noticed that I couldn't save anymore files via samba. I returned to previous kernel, I edited grub.conf and set the previous kernel to boot it from.

Now I want to install the kernel-headers corresponding to previous kernel version, but I can't find it via yum. Just the current kernel headers file is available.

How/from where I could install previous kernel-headers?

Thank you,
i-levy
 
Old 09-25-2008, 12:46 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Those headers should still be installed on your system unless you uninstalled them or never had them installed. Look in
/usr/src/kernels/$(uname -r)/include/ to see if the headers are in it.

If they aren't, you may have a problem, It's possible that the older headers were not moved to the "cleaned" repositories that were created after someone "broke in" to the RHEL repositories and compromised the GPG signing keys, and all the distribution files had to be re-signed with the new key(s). (Note: I don't know if this is the case, it pure speculation on my part.) You could try looking in one of the Fedora mirror sites to see what you can find.
 
Old 09-26-2008, 12:32 AM   #3
stepic
LQ Newbie
 
Registered: Aug 2006
Posts: 18

Original Poster
Rep: Reputation: 0
My distro is Fedora 9.

The $(uname -r) is 2.6.25.14-108.fc9.x86_64, but this path doesn't exist:
/usr/src/kernels/$(uname -r)/include/

I found the header files here:
/usr/include

But not in a version a dir $(uname -r), files just simply in the 'include' dir.

Anyway I'll wait for a new (fixed) kernel

Thank you.
 
Old 09-26-2008, 11:45 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
On my F9 system the header files in /usr/include are the headers needed for application development, not the ones needed for module development. Have you installed the kernel-devel package(s) for your system? Or the kernel-headers packages? (If you're compiling kernel modules, I believe you need the kernel-devel package(s).)

Generally, I just install both packages ("headers" and "devel") so I don't need to worry about which one I need for compilation.
 
  


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
kernel module question for kernel build davimint Slackware 2 09-22-2006 07:03 PM
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 05:24 PM
Broad question: Is kernel 2.6.9 really stable? What is the best 2.6.x kernel? jtp51 Slackware 16 10-27-2004 12:29 PM
Kernel question (about kernel patches) alekoos Linux - Newbie 1 04-29-2004 11:33 AM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 12:20 PM

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

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