LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-22-2013, 03:47 AM   #1
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What is the easiest way to upgrade a kernel manually ? Patching doesn't work.


Lets say I wanted to upgrade from 3.4.32 to 3.4.33.

I currently know of only two ways that work:

1) Use git, but the downside is that it takes up several gigabytes of space on my system and a long download time.

2) Download the full kernel from kernel.org. This is my current preferred way, but somehow I feel that it is extremely wasteful to download the exact same kernel plus a few line changes.

The ways that don't work:

1) Download and apply a patch. I have never seen a tutorial on how to patch a kernel that actually works without error. The error I usually get is:

Code:
Reversed (or previously applied) patch detected!
I've looked up this error and I can't find a way to resolve it in a sane manner.

Any other ways that I am missing ?

I am using Slackware, so please don't tell me to upgrade the kernel using my package manager.

It is really disappointing that there is so little documentation on how to patch a kernel properly.
 
Old 02-22-2013, 04:24 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok, I figured it out. It seems that all patches are relative to the base version. In this case I have to apply the 3.4.33 patch to kernel 3.4
 
1 members found this post helpful.
Old 02-22-2013, 04:36 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
nm - to slow to answer ...

Last edited by syg00; 02-22-2013 at 04:42 AM.
 
  


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
svgalib doesn't work after kernel upgrade (2.4.33.3 to 2.6.17.13, slackware 11)) ErV Slackware 4 03-21-2007 03:31 PM
kernel 2.6 upgrade and now network doesn't work spooon Debian 6 11-05-2005 07:02 PM
PCI modem doesn't work after kernel upgrade. RoaCh Of DisCor Linux - Hardware 1 12-18-2004 03:54 AM
modprobe doesn't work after kernel upgrade from 2.4 to 2.6 simpletoker Slackware 4 05-17-2004 07:54 PM
Usb mouse doesn't work after kernel upgrade fsu_slacker Linux - Hardware 9 08-29-2003 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:57 AM.

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