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 06-06-2005, 01:27 AM   #1
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Rep: Reputation: 15
Patching Kernel


I been trying to patch my kernel from 2.6.11.1 to 2.6.11.2 all the way up to the latest kernel patch 2.6.11.11 . The problem i am having is that when i use bzip2 -dc .../directory here patch name here | patch -p1 i get the makefile.rej error and it wont patch it. i been using http://kerneltrap.org/node/823 for help but im having no luck. I've used make oldconfig and make mproper and even got to where i chose which modules i wanted to start up with 2.6.11.1 and did make modules then make modules_install. I dont know what to do. Any ideas?
 
Old 06-06-2005, 01:51 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
So, could you patch your source successfully?
Did you follow all the secuence (you've to apply every patch from 2.6.11.1 to 2.6.11.11)?
 
Old 06-06-2005, 02:05 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
There is one thing I don't understand from the link you posted,
their upgrade procedure is :
Code:
 # cd /usr/src
 # cp -rl linux-2.6.0-test4 linux-2.6.0-test5
 # mv ~/patch-2.6.0-test5.bz2 .
 # cd linux-2.6.0-test5
 # bzip2 -dc ../patch-2.6.0-test5.bz2 | patch -p1
I don't get why copy the old kernel source to the new kernel name
Usually when I patch a kernel, I don't do that, I apply the patch
directly (of course I make a backup, but I put it away and I don't
rename the kernel source to the new one)
I would suggest this :
Code:
 # cd /usr/src
 # tar czvf linux-2.6.0-test4-backup.tar.gz linux-2.6.0-test4
 # mv ~/patch-2.6.0-test5.bz2 .
 # cd linux-2.6.0-test4
 # bzip2 -dc ../patch-2.6.0-test5.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
Patching the Kernel Zuggy Linux - General 3 12-27-2004 08:34 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
kernel patching pfunk Linux - Software 3 10-06-2004 06:55 PM
patching kernel paulr1984 Linux - Software 1 07-07-2004 10:32 PM
kernel patching erikm103 Linux - General 2 03-19-2003 12:12 PM

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

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