LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2005, 07:20 PM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
updating to patch-2.6.14


this is what i did:

put the patch-2.6.14.gz in /usr/src Then cd into /usr/src/linux and then:
gunzip -dc ../patch-2.6.14.gz | patch -p1

Code:
ile to patch:
Skip this patch? [y] n
File to patch: patch-2.6.14
patch-2.6.14: No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/DMA-ISA-LPC.txt
patching file Documentation/DocBook/journal-api.tmpl
Hunk #1 succeeded at 113 (offset -3 lines).
patching file Documentation/DocBook/kernel-hacking.tmpl
Hunk #1 succeeded at 6 (offset -2 lines).
Hunk #3 succeeded at 61 (offset -2 lines).
Hunk #5 succeeded at 111 (offset -2 lines).
Hunk #7 succeeded at 151 (offset -2 lines).
Hunk #9 FAILED at 188.
Hunk #10 succeeded at 278 (offset -2 lines).
Hunk #12 succeeded at 407 (offset -1 lines).
Hunk #14 succeeded at 579 (offset -1 lines).
Hunk #15 FAILED at 632.
Hunk #17 FAILED at 702.
Hunk #18 succeeded at 726 (offset 4 lines).
Hunk #20 succeeded at 777 with fuzz 1 (offset 4 lines).
Hunk #21 FAILED at 847.
Hunk #22 FAILED at 873.
Hunk #23 FAILED at 890.
Hunk #24 succeeded at 960 with fuzz 2 (offset 55 lines).
Hunk #25 succeeded at 925 (offset 4 lines).
Hunk #26 succeeded at 984 (offset 55 lines).
Hunk #27 succeeded at 952 with fuzz 1 (offset 4 lines).
Hunk #28 succeeded at 1036 (offset 74 lines).
Hunk #29 succeeded at 980 with fuzz 1 (offset 4 lines).
Hunk #30 FAILED at 998.
Hunk #31 succeeded at 1128 (offset 74 lines).
Hunk #32 succeeded at 1109 (offset 4 lines).
Hunk #33 FAILED at 1182.
Hunk #34 succeeded at 1313 (offset 74 lines).
8 out of 34 hunks FAILED -- saving rejects to file Documentation/DocBook/kernel-hacking.tmpl.rej
patching file Documentation/DocBook/mcabook.tmpl
Hunk #1 succeeded at 94 (offset -2 lines).
can't find file to patch at input line 1028
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Documentation/DocBook/usb.tmpl b/Documentation/DocBook/usb.tmpl
|index f3ef0bf..705c442 100644
|--- a/Documentation/DocBook/usb.tmpl
|+++ b/Documentation/DocBook/usb.tmpl
--------------------------
File to patch:
.... hmmmm.. any ideas?
 
Old 11-07-2005, 08:47 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You need to have the full kernel source of the kernel immediately previous to the patch (i.e. 2.6.13.4 for 2.6.14) for the patch to work. If you don't have the kernel source already or have an older version you should just download the complete kernel from kernel.org.
 
  


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
updating the linux kernel with a patch? behmjoe Linux - General 5 04-22-2005 10:29 AM
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 - Newbie

All times are GMT -5. The time now is 12:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration