rfr1tz
asked on
How to find out if a patch is already applied into the kernel? And how to apply a patch to the kernel?
Hi,
I've updated the source code of kernel 2.4.xxx -- actually I updated the file param.h to enhance the resolution of the timer by changing the HZ (from 100 to 1000) to make the resolution of 1ms granualarity of 1 ms.
I searched the web and found that I must apply a patch if I did this. Here is the info:
http://kerneltrap.org/node/view/464
about this patch. I don't know if this patch has been applied to my kernel or not (Red Hat Enterprise AS 3.0). If not, I've to apply it.
If you know how to check if a patch has been applied to the kernel or not, please help. Any suggestion would be appreciated.
And then, in the case I've to apply the patch, how can I do it?
Thanks,
Rfr1tz
I've updated the source code of kernel 2.4.xxx -- actually I updated the file param.h to enhance the resolution of the timer by changing the HZ (from 100 to 1000) to make the resolution of 1ms granualarity of 1 ms.
I searched the web and found that I must apply a patch if I did this. Here is the info:
http://kerneltrap.org/node/view/464
about this patch. I don't know if this patch has been applied to my kernel or not (Red Hat Enterprise AS 3.0). If not, I've to apply it.
If you know how to check if a patch has been applied to the kernel or not, please help. Any suggestion would be appreciated.
And then, in the case I've to apply the patch, how can I do it?
Thanks,
Rfr1tz
I think you'd have to examine the kernel source for what the patch changes. I know that RedHat includes a number of patches in their kernels, so you probably can't use that patch "as is" and would have to manually apply the changes that the patch introduces.
ASKER
Hi jlevie,
Thanks for the reply. May you give more info about these?
(1) In case that I'd to get the patch, do you know where I can get it? Can we get it as we get an rpm or something else?
(2) For this patch, you mentioned that I should apply it manually. Can you give me an example of this?
Thanks,
Rfr1tz
Thanks for the reply. May you give more info about these?
(1) In case that I'd to get the patch, do you know where I can get it? Can we get it as we get an rpm or something else?
(2) For this patch, you mentioned that I should apply it manually. Can you give me an example of this?
Thanks,
Rfr1tz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.