LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-16-2004, 05:22 AM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
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

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

Rep: Reputation: 48
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
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Great! Thanx for the info!
 
Old 01-16-2004, 06:41 AM   #4
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
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
karthikrr
Member
 
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
hyp_spec
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
 
  


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
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

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

All times are GMT -5. The time now is 01:27 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