lkml.org 
[lkml]   [2006]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem while applying patch to 2.6.9 kernel
On 5/3/06, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> On Wed, 3 May 2006, Yogesh Pahilwan wrote:
>
> > Hi Kernel Folks,
> >
> > I am facing some problem while applying patch to the 2.6.9 kernel.
> >
> > I have done following to apply the patch:
> >
> > # patch -p1 < ../../Patches/patch-ext3
> >
> > But getting following things:
> >
> > missing header for unified diff at line 3 of patch
> > (Stripping trailing CRs from patch.)

This sounds like a possibly corrupted patch file.


> > can't find file to patch at input line 3
> > Perhaps you used the wrong -p or --strip option?
>
> Hmm, perhaps you have the wrong -p option.
>
> > The text leading up to this was:
> > --------------------------
> > |#--- ../A_CLEAN_FILE_SYSTEM/jbd/commit.c 2006-02-25
>
> Since you didn't show us any of this patch, the above looks like you need
> -p2.
>
Agreed, wrong -p level looks likely.


> You might want to get yourself more familiar with "patch".
>

There's also Documentation/applying-patches.txt which would be good to
read. Online link here :
http://sosdg.org/~coywolf/lxr/source/Documentation/applying-patches.txt?v=2.6


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-03 14:35    [W:0.055 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site