Can't patch my 2.4.14 KERNEL!
Hi guys, i was following your advice about patching the 2.4.14 kernel to obtain the ext3 support though i am not being able to do so!!!!
i have the 2.4.14 kernel tree i downloaded from www.kernel.org site in my /usr/src/kernel-2.4.14
and i have the patch-2.4.15-pre9.gz patch in the /usr/src ( as it is recomended in the kernel how to.
i have done the following command:
#zcat patch-2.4.15-pre9.gz | patch -p0 ( as the example of the how to displays!!!! )
and was then presented with the following error:
"
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u --recursive --new-file v2.4.14/linux/CREDITS linux/CREDITS |--- v2.4.14/linux/CREDITS Mon Nov 5 15:55:25 2001 |+++ linux/CREDITS Sun Nov 11 10:09:32 2001
--------------------------
File to patch: /usr/src/linux-2.4.14
patch: **** File /usr/src/linux-2.4.14 is not a regular file -- can't patch"
i would lioke to know ho to apply the pacth!!!! so i can then compile a kernel which supports ext3.
By the way when is the linux kernel 2.4.15 comming out???
Can u guys recomend me some good books about linux programing and stuff??
well, that's all for now. tks, AStinus
Quoted 10 lines · Miguel Maria Godinho de Matos
i have the 2.4.14 kernel tree i downloaded from www.kernel.org site in my
/usr/src/kernel-2.4.14and i have the patch-2.4.15-pre9.gz patch in the
/usr/src( as it is recomended in the kernel how to.i have done the following command:
#zcat patch-2.4.15-pre9.gz | patch -p0 ( as the example of the how to displays!!!! )
That's wrong. Either name the directory "linux" instead of "linux-2.4.14" (if you prefer, just create a symlink) or you have to do:
cd /usr/src/linux-2.4.14
zcat ../patch-2.4.15-pre9.gz | patch -p1
I would advise you against patching the original files; instead do something like this:
cd /usr/src
cp -al linux-2.4.14 linux-2.4.15-pre9
cd linux-2.4.15-pre9
zcat ../patch-2.4.15-pre9.gz | patch -p1
Quoted 1 line
By the way when is the linux kernel 2.4.15 comming out???
Yesterday.
Signature · 6 lines
Ciao,
Flavio Stanchina
Trento - Italy
"The best defense against logic is ignorance."
http://spazioweb.inwind.it/fstanchina/