Thomas Adam wrote:
2009/4/14 Marcel <sourcefo...@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
------------------------------------------------------------------------------------------------------------


Attachment: mprotect.tar.bz2
Description: application/bzip

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to