Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Facing Problem While Patching Kernel
bhupee
post Jun 24 2004, 11:27 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 20-June 04
Member No.: 3,193



hello friends i am patching my kernel for support of mobile ipv6 and download the patch form
" http://www.mobile-ipv6.org/download/mipv6-...22.tar.gz"
and download new kernel from "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2"
and following the guide to patch the kernel "http://www.tldp.org/howto/mobile-ipv6-howto/mipv6.html#patch"
and to compile the kernel "http://linuxguide.automatedshops.com/LinuxGuide/linux-kernel.html"
but problem comes when i reboot with the system with the new kernel .
from the message it seems that the some default setting to run a normal kernel is not done.
i tried to load the old " .config " file into new kernel so that the default setting which were working in the
previous setup comes in the new kernel to .but on reboot message comes that "modules are compiled for the
previous kernel and cann't be used for the the new patched kernel"
can any body tell me how to load the defalt setting for a kernel to work,so that i can add option which i required
(for mobile ipv6)if i seems to be less explitic i will be very thanlkful to you if you can contact me
at:
bhupee_iitg@yahoo.com
gothwal@iitg.ernet.in

eagerly waiting for your help
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 24 2004, 07:35 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Unzip the kernel stuff again into a directory ...

go there and run the command:

install your patch

make mrproper

copy the old .config file down into the source directory...

run the commands:

make oldconfig

If you want to change any other kernel settings, run the command:

make menuconfig
(or use make config or make xconfig for this step, if you want)

Now do:

make dep

make bzImage

make modules

make modules_install


Now, copy the kernel into place, setup your grub/lilo to point to the new kernel and reboot.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 09:54 AM