Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
its been ages now that i have posted a query..i just wants to know how to remove the already installed KDB patch? is there any command?
The second basic doubt is what is difference between i386 and x86 arch as i have to reinstalled the KDB, previously i tried downloading patches for x86 but it wont work.my system got hang.
Seeking your valuable guidance always.
Best Regards,
gaurav holey
Last edited by gauravholey; 09-20-2009 at 05:22 AM.
If you have the patch file which was used to apply the patch, you can simply un-patch the code using the `patch` command. It will reverse the patch.
As for the x86 issue: i386 is the (usually the) earliest compatibility level you will find for x86 architectures. As CPUs got more advanced, they moved to i486, i586, i686, etc.. A 386-level computer will not necessarily run code that is compiled specifically for > a 386 processor. Essentially, it is backwards compatible, but not forward compatible.
Try Googling for something like "Intel x86 architecture" and you should quickly locate a good Wikipedia article that explains the x86 architecture.
Well, lets say you patched the kernel, with a patch-file named "hello", like so:
shell# patch -p1 -i hello
Then, to reverse that patch, either do the same command again and answer the question it asks you when it detects that the patch was already applied, or try using the -R option, which means "reverse", like so:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.