LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2004, 05:34 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Patch 2.6.8.1 to 2.6.9


Hi there,

I downloaded the 2.6.9-patch and tried to use it. This is what I did.

Code:
root@garanka:~/linux-2.6.8.1# uname -a
Linux garanka 2.6.8.1 #2 SMP Thu Oct 14 16:52:18 CEST 2004 i686 unknown unknown GNU/Linux
root@garanka:~/linux-2.6.8.1# ls -l
total 3384
drwxrwxr-x  19       500   500    4096 2004-10-20 23:24 linux-2.6.8.1
-rw-r--r--   1 mezzymeat users 3456509 2004-10-20 22:10 patch-2.6.9.bz2
root@garanka:~/linux-2.6.8.1# linux-2.6.8.1/scripts/patch-kernel linux-2.6.8.1/      
Current kernel version is 2.6.8
Applying patch-2.6.9 (bzip2)... 1 out of 19 hunks FAILED -- saving rejects to file Makefile.rej
2 out of 11 hunks FAILED -- saving rejects to file fs/nfs/file.c.rej
failed.  Clean up yourself.
I did uname and ls just to show you some info if it matters. As you see the source of my 2.6.8.1-kernel is in the roots-home dir and I thought that I should use the 2.6.9-patch as root. The patch was downloaded as the local user so that's why it has that owner.

Have I done anything wrong or what does these "failed" mean?

Thx,
/MezzyMeat
 
Old 10-20-2004, 05:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I've never used this one before
Quote:
linux-2.6.8.1/scripts/patch-kernel linux-2.6.8.1/
and couldn't be bothered to look what it's doing... ;)


I'd commonly
Code:
cd /usr/src/linux-2.6.8.1
bzcat /path/to/patch | patch -p1
Normally a failed would indicate that the file that
the patch was made against doesn't match the file
you have by the same name ... where did kernel
source and patch come from?



Cheers,
Tink
 
Old 10-20-2004, 06:51 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Both the patch and the source of 2.6.8.1 was downloaded from www.kernel.org.

I also saw that there was no versions between 2.6.8.1 and 2.6.9 so I don't think that there is any more patches that I should use before this one.
 
Old 10-20-2004, 11:00 PM   #4
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
hmm, I used the patch successfully with kernel version 2.6.8 (not 2.6.8.1) perhaps the patch was made for 2.6.8?
 
  


Reply


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
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 07:33 AM
patch -p1 x.diff but no patch command!? pyenos Linux - Hardware 1 03-04-2005 04:10 PM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 09:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 02:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-21-2004 12:14 AM

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

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