Page 1 of 2

Looking for arris69!

Posted: Wed Feb 06, 2013 5:40 am
by dpruente
I'm following your RFS patch, attempting to compile kernel version 2.6.17.14. I'm certain that I've completed all the instructions flawlessly. However, Every time I attempt to apply the patch, I get the following error

Code: Select all

patch: **** malformed patch at line 11499: 
That occurs when applying the first patch. The second fails as a result. I'm not a programmer, and thus, have no idea what to look for or change on line 11499. Furthermore, Line 11499 in the pastebin file is empty, save for the '+' at the beginning of each line. If you get a chance, I'd really appreciate the help. Thank you very much.

-Dustin Pruente

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 6:06 am
by juusso
what exact patch you're talking about? can you give a link you downloaded it from?

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 10:07 am
by dpruente
Absolutely. This is the patch that errors out at the 2nd to last line, which appears to be a spacer. I just don't have the skills to figure it out.
http://pastebin.com/eLzHfiX4

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 10:21 am
by arris69
dpruente wrote:Absolutely. This is the patch that errors out at the 2nd to last line, which appears to be a spacer. I just don't have the skills to figure it out.
http://pastebin.com/eLzHfiX4
you marked the text or used the pastebin "copy to clipboard" function?

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 11:39 am
by dpruente
No, I used the download link at the top. i just manually checked the text on pastebin to the file that's on my machine now. That line is exactly the same

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 8:28 pm
by dpruente
I ran it again on a fresh copy of the source, but in verbose mode, and this is what I get:

Code: Select all

Hmm...  The next patch looks like a unified diff to me...
(Patch is indented 4 spaces.)
The text leading up to this was:
--------------------------
|    diff -NurbB linux-2.6.17.14.orig/include/linux/xsr_if.h linux-2.6.17.14.rfs/include/linux/xsr_if.h
|    --- linux-2.6.17.14.orig/include/linux/xsr_if.h 1970-01-01 01:00:00.000000000 +0100
|    +++ linux-2.6.17.14.rfs/include/linux/xsr_if.h  2008-06-19 04:03:36.000000000 +0200
--------------------------
Patching file include/linux/xsr_if.h using Plan A...
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 11499:  

Re: Looking for arris69!

Posted: Wed Feb 06, 2013 10:15 pm
by arris69
dpruente wrote:I ran it again on a fresh copy of the source, but in verbose mode, and this is what I get:
....
change

Code: Select all

diff -NurbB linux-2.6.17.14.orig/include/linux/rfs_fs_i.h linux-2.6.17.14.rfs/include/linux/rfs_fs_i.h
--- linux-2.6.17.14.orig/include/linux/rfs_fs_i.h       1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.17.14.rfs/include/linux/rfs_fs_i.h        2008-06-19 04:03:44.000000000 +0200
@@ -0,0 +1,79 @@
to

Code: Select all

diff -NurbB linux-2.6.17.14.orig/include/linux/rfs_fs_i.h linux-2.6.17.14.rfs/include/linux/rfs_fs_i.h
--- linux-2.6.17.14.orig/include/linux/rfs_fs_i.h       1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.17.14.rfs/include/linux/rfs_fs_i.h        2008-06-19 04:03:44.000000000 +0200
@@ -0,0 +1,78 @@

Re: Looking for arris69!

Posted: Thu Feb 07, 2013 6:20 am
by dpruente
I modified the patch, it took me a while to find the right spot to modify, but I'm certain I did it correctly. Unfortunately, it yielded the exact same result

Re: Looking for arris69!

Posted: Thu Feb 07, 2013 7:36 am
by arris69
dpruente wrote:I modified the patch, it took me a while to find the right spot to modify, but I'm certain I did it correctly. Unfortunately, it yielded the exact same result

Code: Select all

wget "http://pastebin.com/raw.php?i=eLzHfiX4" -O ../rfs.patch
echo -e "\r\n" >> ../rfs.patch
if this also not working, then create the files manually from the diff...

Re: Looking for arris69!

Posted: Thu Feb 07, 2013 7:54 am
by dpruente
I thank you very very much sir. You've just saved my school project