Patching
hello
ENV: mandrake 9.2 kernel 2.4.22-10mdk kernel-source-2.4.22-10mdk i'm trying to apply ACPI patch but the dry run give me error and put results in reject files. i downloaded the correct version at sourceforge site it seems that the source on my computer is different from the source of developper i'm newbe to linux.... it seems the code is writenn for another source... is there a difference between 2.4.22-10 and 2.4.22-10mdk ? does anyone has applied acpi patches on 2.4.22-10mdk ? if yes ,then how to proceeed ? thanks in advance Maurizio |
The sources you have are heavily patched and it looks like that the fragment that your patch needs to modify is already different than it expects. One of the solutions is to apply the patch manually, but do it only if you're a programmer. The second solution is to get plain kernel from kernel.org and apply only the patches you need.
|
Patches are assumed to be against the vanilla kernel from kernel.org unless otherwise specified. The Mandrake kernel is different from the vanilla kernel. It has alot of the patches already applied, maybe their own stuff too but I'm not sure about that one.
The Mandrake kernel might already have the acpi patch applied. Try running xconfig and looking at the power management options to determine that. |
looking at DMESG i see
ACPI subsystem revision 20030813 this is the ACPI patch already installed. i downloaded the latest patch but it does not apply i will download a new kernel from the kernel.org in the mean time i have a question to issue: ok i , i cannot patch mandrake i have a last question .. is there a linux distribution with a patchable kernel ? this to avoid to download always a new kernel if i have problems thanks in advance Maurizio |
Hard to say...It depends on the patch. If it changes the files not changed by any previous patch, it will work. I tried with serveral distros (MDK, Slack) and in my case custom patching always required plain kernel.
|
All times are GMT -5. The time now is 05:02 AM. |