[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patching a kernel.



On Friday 20 June 2003 12:08 pm, Joerg Johannes wrote:
> On Friday 20 June 2003 04:40, Marino Fernandez wrote:
> > I've trying to patch a 2.4.20 kernel with the xfs patch. I've have
> > some commandline argumants, but I get error mesages.
>
> It would be interesting to know
> 1.) What commands did you use
> 2.) What error messages you get
>

Yes, of course.
I got the patches from here. They are gziped files:

ftp://oss.sgi.com/projects/xfs/download/patches/

The kernel with apt-get install kernel-source-2.4.20

Patch: xfs-2.4.20-all-i386...
kernel: kernel-source-s.4.20

root@lifebook:/usr/src# bzip2 -dc xfs-2.4.20-all-i38620030114.bz2 | patch -p1 
kernel-source-2.4.20.tar.bz2
patching file kernel-source-2.4.20.tar.bz2
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 191.
Hunk #3 FAILED at 339.
3 out of 3 hunks FAILED -- saving rejects to file 
kernel-source-2.4.20.tar.bz2.rej
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urNp 2.4.20/Documentation/Configure.help 
2.4.20-xfs/Documentation/Configure.help
|--- 2.4.20/Documentation/Configure.help        Fri Nov 29 11:38:55 2002
|+++ 2.4.20-xfs/Documentation/Configure.help    Tue Jan 14 11:44:52 2003
--------------------------
@@ -12647,12 +12647,44 @@ CONFIG_VIOCD  <-- Line 44 from patch

I tried to get the patch from www.xfs.og site, but they are down.










Reply to: