LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-13-2007, 11:11 PM   #1
lowbrow
Member
 
Registered: May 2005
Posts: 57

Rep: Reputation: 15
patch output. What the ...?


Hello,

Trying my hand at patching my kernel. Here is the kernel Makefile header info:

iceland:/usr/src/linux-2.6.22.1# head -n 5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 22
EXTRAVERSION =
NAME = Holy Dancing Manatees, Batman!
iceland:/usr/src/linux-2.6.22.1# head -n 5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 22
EXTRAVERSION = .1
NAME = Holy Dancing Manatees, Batman!


I try to apply patch-2.6.22.2 and get the following:

iceland:/usr/src/linux-2.6.22.1# patch -p1 < patch-2.6.22.2
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Reversed (or previously applied) patch detected! Assume -R? [n]

Not sure:

1) What "Hunk #1 FAILED at 1" is saying and

2) What "Reversed (or previously applied) patch detected! Assume -R?
[n]" means.

I see that it has detected the previous patch, but what is Assume -R?

Thanks,

lowbrow
 
Old 11-14-2007, 01:48 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Did you read
Code:
man patch
yet?
 
Old 11-14-2007, 04:30 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
http://www.mjmwired.net/kernel/Docum...ng-patches.txt
 
  


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
patch problem - can't find file to patch jnutt Linux - Kernel 3 02-10-2010 03:45 PM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM

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

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