Hi Group,

I am trying to install the skas patch (host-skas3-2_6_7-v1_patch) on the host machine which is SuSE Ent 9.0.

When I try with the command "patch -p1 --dry-run < host-skas3-2_6_7-v1_patch" I receive and error as below

 patch -p1 --dry-run < ../host-skas3-2.6.7-v4.patch
-bash: ../host-skas3-2.6.7-v4.patch: No such file or directory
sibmlx02:/usr/src/linux # patch -p1 --dry-run < host-skas3-2.6.7-v4.patch
-bash: host-skas3-2.6.7-v4.patch: No such file or directory
sibmlx02:/usr/src/linux # patch -p1 --dry-run < host-skas3-2_6_7-v1_patch
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/sys_i386.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 43 (offset 2 lines).
Hunk #2 FAILED at 58.
Hunk #3 succeeded at 85 (offset 15 lines).
Hunk #4 succeeded at 116 (offset 15 lines).
1 out of 4 hunks FAILED -- saving rejects to file arch/i386/kernel/sys_i386.c.re
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/ptrace.c
Hunk #2 succeeded at 570 with fuzz 1 (offset 60 lines).
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/ldt.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #3 succeeded at 119 (offset 14 lines).
Hunk #4 FAILED at 135.
Hunk #5 FAILED at 183.
Hunk #6 succeeded at 210 (offset 15 lines).
Hunk #7 FAILED at 243.
3 out of 7 hunks FAILED -- saving rejects to file arch/i386/kernel/ldt.c.rej
(Stripping trailing CRs from patch.)
patching file arch/i386/Kconfig
Hunk #1 succeeded at 713 (offset -7 lines).
(Stripping trailing CRs from patch.)
patching file include/linux/mm.h
Hunk #1 succeeded at 566 with fuzz 2 (offset -8 lines).
Hunk #2 FAILED at 627.
1 out of 2 hunks FAILED -- saving rejects to file include/linux/mm.h.rej
(Stripping trailing CRs from patch.)
patching file include/linux/proc_mm.h
(Stripping trailing CRs from patch.)
patching file include/asm-i386/desc.h
(Stripping trailing CRs from patch.)
patching file include/asm-i386/processor.h
Hunk #1 FAILED at 649.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-i386/processor.h.re
(Stripping trailing CRs from patch.)
patching file include/asm-i386/ptrace.h
Hunk #1 succeeded at 99 (offset 40 lines).
(Stripping trailing CRs from patch.)
patching file include/asm-i386/mmu_context.h
Hunk #1 succeeded at 42 with fuzz 2 (offset 13 lines).
Hunk #2 FAILED at 67.
1 out of 2 hunks FAILED -- saving rejects to file include/asm-i386/mmu_context.h
(Stripping trailing CRs from patch.)
patching file mm/mmap.c
Hunk #1 FAILED at 725.
Hunk #2 FAILED at 988.
2 out of 2 hunks FAILED -- saving rejects to file mm/mmap.c.rej
(Stripping trailing CRs from patch.)
patching file mm/mprotect.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 381 with fuzz 1 (offset 196 lines).
Hunk #2 succeeded at 405 (offset 196 lines).
Hunk #3 succeeded at 476 with fuzz 2 (offset 199 lines).
(Stripping trailing CRs from patch.)
patching file mm/proc_mm.c
(Stripping trailing CRs from patch.)
patching file mm/Makefile
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file mm/Makefile.rej
sibmlx02:/usr/src/linux # vi mm/Makefile.rej
sibmlx02:/usr/src/linux # clear
sibmlx02:/usr/src/linux # patch -p1 --dry-run < host-skas3-2_6_7-v1_patch
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/sys_i386.c
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file arch/i386/kernel/sys_i386.c.rej
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/ptrace.c
Hunk #2 succeeded at 570 with fuzz 1 (offset 60 lines).
(Stripping trailing CRs from patch.)
patching file arch/i386/kernel/ldt.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #3 succeeded at 119 (offset 14 lines).
Hunk #4 FAILED at 135.
Hunk #5 FAILED at 183.
Hunk #6 succeeded at 210 (offset 15 lines).
Hunk #7 FAILED at 243.
3 out of 7 hunks FAILED -- saving rejects to file arch/i386/kernel/ldt.c.rej
(Stripping trailing CRs from patch.)
patching file arch/i386/Kconfig
Hunk #1 succeeded at 713 (offset -7 lines).
(Stripping trailing CRs from patch.)
patching file include/linux/mm.h
Hunk #1 succeeded at 566 with fuzz 2 (offset -8 lines).
Hunk #2 FAILED at 627.
1 out of 2 hunks FAILED -- saving rejects to file include/linux/mm.h.rej
(Stripping trailing CRs from patch.)
patching file include/linux/proc_mm.h
(Stripping trailing CRs from patch.)
patching file include/asm-i386/desc.h
(Stripping trailing CRs from patch.)
patching file include/asm-i386/processor.h
Hunk #1 FAILED at 649.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-i386/processor.h.rej
(Stripping trailing CRs from patch.)
patching file include/asm-i386/ptrace.h
Hunk #1 succeeded at 99 (offset 40 lines).
(Stripping trailing CRs from patch.)
patching file include/asm-i386/mmu_context.h
Hunk #1 succeeded at 42 with fuzz 2 (offset 13 lines).
Hunk #2 FAILED at 67.
1 out of 2 hunks FAILED -- saving rejects to file include/asm-i386/mmu_context.h.rej
(Stripping trailing CRs from patch.)
patching file mm/mmap.c
Hunk #1 FAILED at 725.
Hunk #2 FAILED at 988.
2 out of 2 hunks FAILED -- saving rejects to file mm/mmap.c.rej
(Stripping trailing CRs from patch.)
patching file mm/mprotect.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 381 with fuzz 1 (offset 196 lines).
Hunk #2 succeeded at 405 (offset 196 lines).
Hunk #3 succeeded at 476 with fuzz 2 (offset 199 lines).
(Stripping trailing CRs from patch.)
patching file mm/proc_mm.c
(Stripping trailing CRs from patch.)
patching file mm/Makefile
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file mm/Makefile.rej

Please let know if this is a version mismatch with the patch or is there any other way to fix this issue.


Thanks in advance,
Maruthi Narayanaswamy
IBM Global Services India,
6th Floor,Corporate B Block,  Diamond District,
150,Airport Road,Bangalore-560008,INDIA

Reply via email to