Results 1 to 4 of 4
Hey there again!
I have h3knix, with kernel version 2.6.7. So, I downloaded patches from 2.6.8 to 2.6.10 (which is 2.6.8, 2.6.8.1, 2.6.9 and 2.6.10), and I copied them to ...
- 04-17-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Here!
- Posts
- 18
Kernel patching
Hey there again!
I have h3knix, with kernel version 2.6.7. So, I downloaded patches from 2.6.8 to 2.6.10 (which is 2.6.8, 2.6.8.1, 2.6.9 and 2.6.10), and I copied them to /usr/src/linux. I did patch -p1 < patch-2.6.8, and it patched my kernel just fine. I then did the same for 2.6.8.1, and then, when I tried to do it for 2.6.9, I got the following error:
Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file usr/Makefile.rej.
I opened the /usr/src/linux/usr/Makefile.rej file, and it looked like this:
I tried to re-patch the kernel, and I got 'Reversed (or previously applied) patch detected! Asume -R? [n] for every single thing it patched....***************
*** 1,7 ****
obj-y := initramfs_data.o
- host-progs := gen_init_cpio
clean-files := initramfs_data_cpio.gz
--- 1,7 ----
obj-y := initramfs_data.o
+ hostprogs-y := get_init_cpio
clean-files := initramfs_data_cpio.gz
What can I do? What do I have to do to upgrade/corret/fix my kernel?
Thanks everyone,
-ardeth
- 04-17-2005 #2
try patching it with "-R" on the command line
- 04-18-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Here!
- Posts
- 18
Thanks for you reply. I will try this as soon as I get back home. I hope I haven't done anything serious to my kernel, or I am d00med... :P
C ya, and thank again!
-ardeth
- 04-19-2005 #4Just Joined!
- Join Date
- Apr 2005
- Location
- Belarus
- Posts
- 14
one shold apply patches only to increase third number in version:
2.6.8 could be patched to 2.6.8.1 and 2.6.9
but without -R option 2.6.8.1 could not be pathced to 2.6.9
Frankly speaking i do not understand reasons of w.x.y.z versioning policy
what does the fourth number mean? a gamma-release?


Reply With Quote
