Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-16-2004, 05:22 AM   #1
Registered: Nov 2003
Distribution: Debian SID
Posts: 651

Rep: Reputation: 31
patching kernel 2.6.0 - 2.6.1

I'm on 2.6.0 at the moment and want to try patching it to 2.6.1 I've read quite some posts here about compiling a new kernel and that's not the prob anymore. How to handle the patch? Starting from downloading it, I guess I have to place it next to the kernel source / or in the kernel source? And run the command? I can't find a post which makes it completely clear so if someone could be so nice to explain it one more time

Old 01-16-2004, 05:55 AM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Download the patch
Place it into the kernel sources top level directory.
Unpack it with: bzip2 -d patch-2.6.1.bz2
Now apply with: patch -p1 < patch-2.6.1

Now do all your configuring and making as normal.
Old 01-16-2004, 06:15 AM   #3
Registered: Nov 2003
Distribution: Debian SID
Posts: 651

Original Poster
Rep: Reputation: 31
Great! Thanx for the info!
Old 01-16-2004, 06:41 AM   #4
Registered: Nov 2003
Distribution: Debian SID
Posts: 651

Original Poster
Rep: Reputation: 31
Should I do a make proper before or after patching btw? I have used this source to compile the 2.6.0.
Old 01-16-2004, 10:01 AM   #5
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
after applying the patch... the make mrproper, I mean...
Old 01-16-2004, 01:18 PM   #6
LQ Newbie
Registered: Aug 2003
Posts: 16

Rep: Reputation: 0
no you dont need to (i've never had problems and besides it erases your .config)

and heres a tip to make the patching process easier

bzip2 -dc patch-1.6.1.bz2 | patch -p1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel patching.. new.thing Linux - Hardware 3 07-13-2005 06:36 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 04:18 AM
Patching the kernel grazie Fedora 4 11-09-2004 03:29 PM
Patching the Kernel LinuxBlackBox Linux - Software 2 06-16-2004 06:54 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 03:17 PM

All times are GMT -5. The time now is 09:59 PM.

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