Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi folks...
I have applied a patch of kernel 2.2.18 to my existing kernel 2.4.4(red hat). What does means? Is it that the new kernel will behave entirely like the version 2.2.18 or have features of both versions 2.4.4 and 2.2.18.
Since the some of the files like "linux/pci.h" still shows data structures like "struct pci_driver" but when i use them ,they are not recognised and give a compilation error.
Please reply my query as soon as possible.
Thanx in advance,
Is it that the new kernel will behave entirely like the version 2.2.18 or have features of both versions 2.4.4 and 2.2.18.
I think that it will have broken features of 2.4.4 and 2.2.18 kernels. The aim of a patch is to upgrade kernel or modify some kernel features, but not to downgrade.
Moreover, each patch is done for a specific kernel version, as it is based on diff utility. For example if you download kernel-2.4.25patch to upgrade your kernel, you must have 2.4.24 kernel on your system, else the patch won't be correctly applied and may mess up your system
So I think that you make a terrible mistake by applying this pacth... Don't be surprised if your kernel have strange behaviors or if you can't successfully compile it anymore.
Now actually I have a problem that I am using redhat7.1 kernel version-2.4.2. But as I had to install RTLinux 3.0 so i needed patch of kernel -2.2.18. Because only compatible kernel with this RTLinux version is 2.2.18. And moreover there are other RTLinux versions which are not stable and may lead to system instability or crash.
So can you suggest me any way to do this so that I can have my existing kernel features also and the new kernel (i..e. older version of kernel).
So it seems that you want a real time kernel If you don't really to run hard real-time applications (I mean really critical)... you can patch your current kernel with low-latency or preempt-kernel patch. It will give you very good performances for multimedia or graphical applications (soft real-time).
Now if you really need hard real-time... I suggest you to download 2.2.18 sources from kernel.org and install RT-Linux with them. Then at boot time, choose between RT-Linux kernel or your Red-Hat7 kernel...
Cause I can tell you to try to download 2.2.18 sources and install RT-Linux with them and then patch your kernel until 2.4.X version but this patch steps may break some RT-Linux features
Regards,
i am trying to install rtlinux...i've gone through most guides
available online..
i tried patching it with linux kernel 2.2.18....however i got some errors while trying to create the bzImage.
i was told that u cannot repatch a kernel again,so i deletedthe old kernel(rm -rf linux...) and tried to untar a new kernel from ftp.kernel.org ....however doing so gave me an "unexpected end of file" error
i really need to install rtlinux .....any suggestions
Have you checked the signature of the archive you've downloaded ?
Even if you know it, I repost the link of the RTLinux Howto
Now to really help you we need more precisions about errors you get
thanks for the reply.
in the link that u sent me there was no mention of creating a link from usr/src/rtlinux to usr/src/linux ...and then patching it(i.e. rtlinux kernel patch).
we do need to do that don't we ??
also how do u check the signature??
when i say i am a newbie...it is not an understatement.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.