On Sunday 15 December 2002 14:50, Gedi Gedi wrote:
Hi all,
Hey Gedi.
I'm new to linux, only 2 weeks, and I need a
help with updating the kernel. I am running 8.0 on a i686 machine and I have a few questions.
My current kernel version is 2.4.18 and I thought I would have a bash at updating to 2.4.20. I used
commands:
FYI, not many people have a "bash" compiling kernel. Considering you are new to Linux (only 2 weeks), I suggest you compile some small-fry before compiling the kernel, as you will be very disheartened.
cd /usr/src
Where did you get the sources for 2.4.20? Please
Thanks for replying so quick. I got my sources from kernel.org To be more specific these are the files I grabed : ftp://ftp.kernel.org/pub/linux/kernel/v2.4/patch-2.4.19.gz ftp://ftp.kernel.org/pub/linux/kernel/v2.4/patch-2.4.20.gz my aim is to update from the 2.4.18 kernel that installs with my SuSE 8.0 up to the current 2.4.20. The main thing I got lost with are after I patched using the first file (2.4.19) and I give the command 'uname -a' I get the following reply : Linux linux 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686 unknown However, if I give the command linux/scripts/patch-kernel I get this : Current kernel version is 2.4.19 What is actually happeneing here? if I navigate to /usr/src, my symbolic link points to a folder named linux-2.4.18 Also, as mentioned previously, if I now try to patch with the 2.4.20 file, it won't let me and prints the following : # gzip -cd /home/****/patch-2.4.20.gz | patch -p0 can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN linux-2.4.19/CREDITS linux-2.4.20/CREDITS |--- linux-2.4.19/CREDITS Fri Aug 2 17:39:42 2002 |+++ linux-2.4.20/CREDITS Thu Nov 28 15:53:08 2002 -------------------------- File to patch: Thanks for your help On Sunday 15 December 2002 20:08, Karol Pietrzak wrote: little the following provide the
filenames for the sources and patches you used.
gunzip -c 'patchfile' | patch -p0
Where did you get the patch? If you're trying to update SuSE's 2.4.19 to the stock 2.4.20, give up now.
[...snip...]
It's very difficult to troubleshoot your problem without knowing the information I requested above.
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com