nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Reinstalling kernel source and headers

This is a discussion on Reinstalling kernel source and headers within the Linux software forums, part of the Linux Getting Started category; Would appreciate help as am running fedora core 6 kernel version 2.6.18-1.2798.fc6.xen server and would like to patch a route ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-09-2007, 02:40 AM
Junior Member
User
 
Join Date: Jun 2007
My distro: FEDORA
Posts: 3
Rep Power: 0
milank is on a distinguished road
Default Reinstalling kernel source and headers

Would appreciate help as am running fedora core 6 kernel version 2.6.18-1.2798.fc6.xen server and would like to patch a route patch to the existing kernel however when patch is applied it is partly patched and gives an error message fib_frontend.c header file cannot be found in default location /linux/net/ipv4 or on the whole distribution.
As it is very important to patch the existing kernel what would be the best option step by step to extract and re-install kernel sources and headers so that the patch is applied in a proper manner.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-10-2007, 08:37 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Install kernel-headers, kernel-devel using rpm or yum command
Code:
rpm -qa | grep kernel
Remove kernel-headers kernel-devel
Code:
rpm -e kernel-headers kernel-devel
Now reinstall the same
Code:
yum install kernel-headers kernel-devel
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux kernel deleted from /boot - how do I resinstall the kernel vaibhav.kanchan Getting started tutorials 2 03-25-2008 01:31 AM
Yum install kernel debuginfo packages kernel-debuginfo repo rockdalinux Getting started tutorials 0 06-15-2007 10:59 PM
What are the advances of Kernel 2.6 over Kernel 2.4 ricc Linux software 3 03-14-2006 01:42 PM
gcc-4.0.2 not installing headers or libstdc++!! ForYouAndI.com Coding in General 1 01-23-2006 12:56 AM
Is Linux kernel is monolithic or modular kernel? chiku Linux software 2 06-02-2005 04:40 PM


All times are GMT +5.5. The time now is 01:31 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36