Content-Type: multipart/alternative; boundary="------------030808080908030903050004" --------------030808080908030903050004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thomas Adam wrote: > 2009/4/14 Marcel : > >> I did not expect them to work because these patches where not written for >> the 2.6.26 kernel. >> I also tried to use the patch from the site >> http://www.finnie.org/software/uml/. This patch is failing for the debian >> 2.6.26 kernel >> > > How is it failing? Can you provide the output from patch, and if > necessary the *.rej files that patch spits out? If you can tar them > up and host them somewhere, that would be good. > > -- Thomas Adam > Hello Thomas I attached the tar.bz2 file which contains the files: mprotect.c mprotect.c.orig mprotect.c.rej patch_output.txt The output of "patch -p1 < 2.6.26-skas3.patch" is : ------------------------------------------------------------------------------------------------------------ patching file arch/um/sys-i386/ldt.c patching file arch/x86/ia32/sys_ia32.c patching file arch/x86/Kconfig patching file arch/x86/kernel/ldt.c patching file arch/x86/kernel/ptrace.c patching file arch/x86/kernel/sys_i386_32.c patching file arch/x86/kernel/sys_x86_64.c patching file arch/x86/mm/Makefile patching file arch/x86/mm/proc_mm_64.c patching file include/asm-um/compat.h patching file include/asm-um/proc_mm_32.h patching file include/asm-um/proc_mm_64.h patching file include/asm-x86/desc.h patching file include/asm-x86/mmu_context_32.h patching file include/asm-x86/mmu_context_64.h patching file include/asm-x86/proc_mm_32.h patching file include/asm-x86/proc_mm_64.h patching file include/asm-x86/ptrace-abi.h patching file include/asm-x86/ptrace.h patching file include/linux/mm.h patching file include/linux/proc_mm.h patching file mm/fremap.c patching file mm/Makefile patching file mm/mmap.c patching file mm/mprotect.c Hunk #1 FAILED at 220. Hunk #2 succeeded at 250 (offset -2 lines). Hunk #3 succeeded at 314 (offset -2 lines). 1 out of 3 hunks FAILED -- saving rejects to file mm/mprotect.c.rej patching file mm/proc_mm.c patching file mm/proc_mm-mod.c ------------------------------------------------------------------------------------------------------------ --------------030808080908030903050004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thomas Adam wrote:
2009/4/14 Marcel <sourceforge@schwirtz.eu>:
  
I did not expect them to work because these patches where not written for
the 2.6.26 kernel.
I also tried to use the patch from the site
http://www.finnie.org/software/uml/. This patch is failing for the debian
2.6.26 kernel
    

How is it failing?  Can you provide the output from patch, and if
necessary the *.rej files that patch spits out?  If you can tar them
up and host them somewhere, that would be good.

-- Thomas Adam
  
Hello Thomas

I attached the tar.bz2 file which contains the files:
mprotect.c
mprotect.c.orig
mprotect.c.rej
patch_output.txt


The output of "patch -p1 < 2.6.26-skas3.patch" is :
------------------------------------------------------------------------------------------------------------
patching file arch/um/sys-i386/ldt.c
patching file arch/x86/ia32/sys_ia32.c
patching file arch/x86/Kconfig
patching file arch/x86/kernel/ldt.c
patching file arch/x86/kernel/ptrace.c
patching file arch/x86/kernel/sys_i386_32.c
patching file arch/x86/kernel/sys_x86_64.c
patching file arch/x86/mm/Makefile
patching file arch/x86/mm/proc_mm_64.c
patching file include/asm-um/compat.h
patching file include/asm-um/proc_mm_32.h
patching file include/asm-um/proc_mm_64.h
patching file include/asm-x86/desc.h
patching file include/asm-x86/mmu_context_32.h
patching file include/asm-x86/mmu_context_64.h
patching file include/asm-x86/proc_mm_32.h
patching file include/asm-x86/proc_mm_64.h
patching file include/asm-x86/ptrace-abi.h
patching file include/asm-x86/ptrace.h
patching file include/linux/mm.h
patching file include/linux/proc_mm.h
patching file mm/fremap.c
patching file mm/Makefile
patching file mm/mmap.c
patching file mm/mprotect.c
Hunk #1 FAILED at 220.
Hunk #2 succeeded at 250 (offset -2 lines).
Hunk #3 succeeded at 314 (offset -2 lines).
1 out of 3 hunks FAILED -- saving rejects to file mm/mprotect.c.rej
patching file mm/proc_mm.c
patching file mm/proc_mm-mod.c
------------------------------------------------------------------------------------------------------------


--------------030808080908030903050004--