LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   No upgrade after patch update? (http://www.linuxquestions.org/questions/slackware-14/no-upgrade-after-patch-update-378880/)

mokele 11-01-2005 06:13 AM

No upgrade after patch update?
 
Problem solved, thanks to everyone

Hi all

I patched my 2.6.13 patch as per /usr/src/linux-2.6.13/README.

No problems at all seems I had no error output, but now when
I ask for version (uname -r) I still get 2.6.13

What am I missing?

Thanks.


maginotjr 11-01-2005 06:18 AM

you just patched not changed the version... in this case you have to download a new kernel version and compile it.

Nobber 11-01-2005 06:57 AM

What patch did you apply, and to which kernel?

mokele 11-01-2005 11:35 AM

Nobber

Applied patch 2.6.14 to kernel 2.6.13

--

maginotjr

Means patching does not upgrade version?

West.

Nobber 11-01-2005 11:41 AM

Quote:

Originally posted by mokele
Applied patch 2.6.14 to kernel 2.6.13
Hmm, in my experience those patches do update the Makefile in order to change the version number. A quick glance at patch-2.6.14 would seem to confirm that it does:

Code:

diff --git a/Makefile b/Makefile
index 5acd1fc..1fa7e53 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 VERSION = 2
 PATCHLEVEL = 6
-SUBLEVEL = 13
+SUBLEVEL = 14

Silly question: are you sure you actually compiled and installed the patched kernel?

raska 11-01-2005 11:42 AM

patching only gives you the most up to date changes so it works like the newest kernel, but the version is still the same

with a patch, you are not changing the kernel, just updating it

Nobber 11-01-2005 11:44 AM

Quote:

Originally posted by raska
patching only gives you the most up to date changes so it works like the newest kernel, but the version is still the same
Hmm, no, I'm pretty sure all the patch-2.X.Y.Z patches I've applied do update the kernel version number in the top-level Makefile.

keefaz 11-01-2005 11:48 AM

1. download the patch (patch-2.6.14.bz2)
2. uncompress it : bunzip2 patch-2.6.14.bz2
3. cd /path/to/linux-2.6.13
4. apply the patch
patch -p1 < /path/to/patch-2.6.14

Look at the Makefile : SUBLEVEL = 14

mokele 11-01-2005 11:51 AM

Nobber:

Thanks for the fast response.

Actually, its not a silly question. I haven't recompiled the
kernel. I thaught it wasn't necesary. (mistakes out of
README's wrong interpretation)

I'll recomplile when I get back from work and I'll let you
know of the outcome.

Thank you very much!

West.

raska 11-01-2005 12:01 PM

Quote:

Originally posted by Nobber
Hmm, no, I'm pretty sure all the patch-2.X.Y.Z patches I've applied do update the kernel version number in the top-level Makefile.
dang! then I was totally wrong... anyway I never patch the kernel, always compile them from scratch when updating. I'm glad I've got that cleared out.

Peace.
:cool:

mokele 11-01-2005 05:54 PM

Nobber: You were right. Thanks a lot. Just recompliling
applied all the changes. I apreciate your help.

keefaz: I like your patching procedure better than the
README's suggested. I'm going to write your minihowto
on my precedures notebook. Thank you

West.


All times are GMT -5. The time now is 12:41 PM.