LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-01-2005, 05:13 AM   #1
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
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.


Last edited by mokele; 11-09-2005 at 05:57 PM.
 
Old 11-01-2005, 05:18 AM   #2
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
you just patched not changed the version... in this case you have to download a new kernel version and compile it.
 
Old 11-01-2005, 05:57 AM   #3
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
What patch did you apply, and to which kernel?
 
Old 11-01-2005, 10:35 AM   #4
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
Nobber

Applied patch 2.6.14 to kernel 2.6.13

--

maginotjr

Means patching does not upgrade version?

West.
 
Old 11-01-2005, 10:41 AM   #5
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
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?
 
Old 11-01-2005, 10:42 AM   #6
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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
 
Old 11-01-2005, 10:44 AM   #7
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
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.
 
Old 11-01-2005, 10:48 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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

Last edited by keefaz; 11-01-2005 at 10:49 AM.
 
Old 11-01-2005, 10:51 AM   #9
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
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.
 
Old 11-01-2005, 11:01 AM   #10
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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.
 
Old 11-01-2005, 04:54 PM   #11
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc3: making patch update cd pcandpc Fedora 0 06-24-2005 08:20 PM
update to patch kernel source lmmix Linux - General 5 02-24-2005 03:33 PM
Running Update Patch for UT2004 trickle Linux - Games 3 10-22-2004 07:47 AM
update and patch how to salahuddin_66 Slackware 2 06-01-2004 10:31 AM
update kernel patch wysurya Linux - Software 1 08-29-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration