| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 51714 | 2004-11-28 07:48:00 | patch a 2.6.9 kernel | phil.b (4456) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 297256 | 2004-11-28 07:48:00 | I,ve got an ite8212 chip ide controller & i want to get it going with mandrake 10. I've found a patch for this as the manufacturers driver only goes to the 2.4 kernel. I've got the file saved as a text file at the moment. How do you insert a patch into a kernel. |
phil.b (4456) | ||
| 297257 | 2004-11-28 08:04:00 | The patch download site should have instructions on how to do that. It may also pay to check the Mandrake site to see if there is any info on patching your kernel, this may involve a kernel recompile, so look for information on that also. Another good place to look for help is your on install cd, there is normally a doc directory on there that has a wealth of information. | beama (111) | ||
| 297258 | 2004-11-28 08:12:00 | Righto. su - Enter Root Password cp -R /usr/src/[kernel name] /usr/src/linux-2.6.9.patch cd /usr/src/linux-2.6.9.patch If the patch is compressed, uncompress it patch -p0 < /pathtopatch/patch make clean make dep make modules make modules install cp .config /boot/kernel-2.6.9.config cp System.Map /boot/kernel-2.6.9.System.Map cp arch/i386/boot/bzImage /boot/kernel-2.6.9 Update your boot loader. Reboot and hope for the best - the reason we copied the current kernel info into linux-2.6.9.patch is so if anything funky happens with the patch process, then you can always boot into your old kernel. If there are any problems, then: cd /usr/src/linux-2.6.9.patch find -name '*.rej' -print If anything is listed, then there were rejected files in the patch and that's something to sort out. |
Wood-Chuck (6195) | ||
| 297259 | 2004-11-28 08:28:00 | thanks for that wood-chuck, I'll give it a go Phil |
phil.b (4456) | ||
| 1 | |||||