lanas wrote:
Le Dimanche, 12 Avril 2009 22:22:18 +0200,
Marcel <sourcefo...@schwirtz.eu> a écrit :
I am using debian etch which is running several UML's I would like to
switch to debian lenny. Debian etch has an SKAS patch in its
repository and worked perfectly. The problem is I couldn't find any
SKAS patch for debian lenny. Does any one know of an SKAS patch for
lenny using kernel 2.6.26. Or is there any chance there will be an
SKAS patch for this kernel in the near future ???
I'm curious: wouldn't the official SKAS patch work ?
------------------------------------------------------------------------------
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
No I tried these patches with a negative result. I presume that the
pathes at this link are the official
patches http://user-mode-linux.sourceforge.net/downloads.html
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
I am not a kernel hacker so trying to fix it my self is no option. So my
question still holds. Does some one knows of a working
skas patch for debian lenny kernel 2.6.26. Or will there bee an working
skas patch in the near future.
Marcel
The 2.6.23 patch gives the following result :
------------------------------------------------------------------------------------------------------------
> patch -p1 < skas-2.6.23.pach
can't find file to patch at input line 21
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit a0078717a8a0407ea5c278c3b43eaac5740a41eb
|Author: Jeff Dike <jd...@addtoit.com>
|Date: Thu Jan 10 10:44:45 2008 -0500
|
| Fixed skas3 patch for 2.6.23.
|
| Brokenness in 2.6.23 included use of current->mm in the mmap path
| causing new maps to be done in the UML kernel address space rather
| than the process address space.
|
| The -EINVAL that everyone started seeing with 2.6.23 was caused by
| a change in procfs. file->f_ops was no longer proc_mm_ops, but
| proc_reg_ops, with proc_mm_ops hidden elsewhere. This broke the
| sanity checking in proc_mm_get_mm which made sure that it was getting
| a /proc/mm descriptor by checking that file->f_ops was &proc_mm_ops.
|
|diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
|index 97b64d7..129ae08 100644
|--- a/arch/i386/Kconfig
|+++ b/arch/i386/Kconfig
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 52
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/i386/kernel/ldt.c b/arch/i386/kernel/ldt.c
|index e0b2d17..dc80de4 100644
|--- a/arch/i386/kernel/ldt.c
|+++ b/arch/i386/kernel/ldt.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
8 out of 8 hunks ignored
can't find file to patch at input line 208
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/i386/kernel/ptrace.c b/arch/i386/kernel/ptrace.c
|index 7c1b925..a78f642 100644
|--- a/arch/i386/kernel/ptrace.c
|+++ b/arch/i386/kernel/ptrace.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 287
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/i386/kernel/sys_i386.c b/arch/i386/kernel/sys_i386.c
|index 4214730..82162f8 100644
|--- a/arch/i386/kernel/sys_i386.c
|+++ b/arch/i386/kernel/sys_i386.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
5 out of 5 hunks ignored
patching file arch/um/include/skas_ptrace.h
Hunk #2 FAILED at 15.
1 out of 2 hunks FAILED -- saving rejects to file
arch/um/include/skas_ptrace.h.rej
can't find file to patch at input line 379
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
|index b4d9089..93d71cc 100644
|--- a/arch/x86_64/Kconfig
|+++ b/arch/x86_64/Kconfig
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 410
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/ia32/ptrace32.c b/arch/x86_64/ia32/ptrace32.c
|index 4a233ad..cdc8a45 100644
|--- a/arch/x86_64/ia32/ptrace32.c
|+++ b/arch/x86_64/ia32/ptrace32.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 510
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86_64/ia32/sys_ia32.c
|index bee96d6..8f12455 100644
|--- a/arch/x86_64/ia32/sys_ia32.c
|+++ b/arch/x86_64/ia32/sys_ia32.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 553
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/kernel/ldt.c b/arch/x86_64/kernel/ldt.c
|index bc9ffd5..df69f73 100644
|--- a/arch/x86_64/kernel/ldt.c
|+++ b/arch/x86_64/kernel/ldt.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored
can't find file to patch at input line 712
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/kernel/ptrace.c b/arch/x86_64/kernel/ptrace.c
|index eea3702..bfa59a0 100644
|--- a/arch/x86_64/kernel/ptrace.c
|+++ b/arch/x86_64/kernel/ptrace.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 800
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/kernel/sys_x86_64.c
b/arch/x86_64/kernel/sys_x86_64.c
|index 4770b7a..2dabd37 100644
|--- a/arch/x86_64/kernel/sys_x86_64.c
|+++ b/arch/x86_64/kernel/sys_x86_64.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 847
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86_64/mm/Makefile b/arch/x86_64/mm/Makefile
|index d25ac86..44160bf 100644
|--- a/arch/x86_64/mm/Makefile
|+++ b/arch/x86_64/mm/Makefile
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 858
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-i386/desc.h b/include/asm-i386/desc.h
|index c547403..1f9db83 100644
|--- a/include/asm-i386/desc.h
|+++ b/include/asm-i386/desc.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 872
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-i386/mmu_context.h
b/include/asm-i386/mmu_context.h
|index 7eb0b0b..f110e43 100644
|--- a/include/asm-i386/mmu_context.h
|+++ b/include/asm-i386/mmu_context.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 927
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-i386/ptrace.h b/include/asm-i386/ptrace.h
|index 6002597..a631497 100644
|--- a/include/asm-i386/ptrace.h
|+++ b/include/asm-i386/ptrace.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 965
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-x86_64/desc.h b/include/asm-x86_64/desc.h
|index ac991b5..f6797fc 100644
|--- a/include/asm-x86_64/desc.h
|+++ b/include/asm-x86_64/desc.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 979
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-x86_64/mmu_context.h
b/include/asm-x86_64/mmu_context.h
|index 0cce83a..ad6a52a 100644
|--- a/include/asm-x86_64/mmu_context.h
|+++ b/include/asm-x86_64/mmu_context.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 1032
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-x86_64/ptrace-abi.h
b/include/asm-x86_64/ptrace-abi.h
|index 19184b0..e36a4cf 100644
|--- a/include/asm-x86_64/ptrace-abi.h
|+++ b/include/asm-x86_64/ptrace-abi.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1049
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/asm-x86_64/ptrace.h b/include/asm-x86_64/ptrace.h
|index 7f166cc..6dab73b 100644
|--- a/include/asm-x86_64/ptrace.h
|+++ b/include/asm-x86_64/ptrace.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file include/linux/mm.h
Hunk #2 succeeded at 1088 (offset 21 lines).
Hunk #3 succeeded at 1118 (offset 21 lines).
patching file mm/Makefile
Hunk #1 succeeded at 31 with fuzz 2 (offset 3 lines).
patching file mm/fremap.c
Hunk #1 FAILED at 190.
1 out of 1 hunk FAILED -- saving rejects to file mm/fremap.c.rej
patching file mm/mmap.c
Hunk #1 succeeded at 904 (offset 16 lines).
Hunk #2 succeeded at 1042 (offset 19 lines).
Hunk #3 succeeded at 1079 with fuzz 2 (offset 17 lines).
patching file mm/mprotect.c
Hunk #1 FAILED at 214.
Hunk #2 succeeded at 250 (offset 4 lines).
Hunk #3 succeeded at 314 (offset 4 lines).
1 out of 3 hunks FAILED -- saving rejects to file mm/mprotect.c.rej
------------------------------------------------------------------------------------------------------------
And the 2.6.24 patch gives the following result
------------------------------------------------------------------------------------------------------------
> patch -p1 < skas-2.6.24.patch
patching file arch/um/include/as-layout.h
Hunk #1 FAILED at 17.
Hunk #2 FAILED at 28.
2 out of 2 hunks FAILED -- saving rejects to file
arch/um/include/as-layout.h.rej
patching file arch/um/include/os.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/um/include/os.h.rej
patching file arch/um/include/siginfo_segv.h
patching file arch/um/include/skas/mm_id.h
patching file arch/um/include/skas/skas.h
patching file arch/um/include/skas_ptrace.h
patching file arch/um/kernel/ptrace.c
patching file arch/um/kernel/reboot.c
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file arch/um/kernel/reboot.c.rej
patching file arch/um/kernel/skas/mmu.c
Hunk #1 succeeded at 46 (offset -19 lines).
Hunk #2 succeeded at 67 (offset -37 lines).
Hunk #3 FAILED at 116.
1 out of 3 hunks FAILED -- saving rejects to file
arch/um/kernel/skas/mmu.c.rej
patching file arch/um/kernel/skas/process.c
Hunk #1 succeeded at 10 with fuzz 2 (offset 1 line).
Hunk #2 FAILED at 50.
1 out of 2 hunks FAILED -- saving rejects to file
arch/um/kernel/skas/process.c.rej
patching file arch/um/kernel/syscall.c
Hunk #1 succeeded at 131 (offset -20 lines).
patching file arch/um/kernel/um_arch.c
Hunk #1 succeeded at 286 (offset 15 lines).
patching file arch/um/os-Linux/skas/mem.c
patching file arch/um/os-Linux/skas/process.c
Hunk #2 succeeded at 99 with fuzz 2 (offset 5 lines).
Hunk #3 succeeded at 263 (offset 36 lines).
Hunk #4 succeeded at 307 (offset 39 lines).
Hunk #5 succeeded at 458 with fuzz 2 (offset 77 lines).
Hunk #6 succeeded at 480 (offset 77 lines).
Hunk #7 succeeded at 570 with fuzz 1 (offset 96 lines).
Hunk #8 FAILED at 774.
1 out of 8 hunks FAILED -- saving rejects to file
arch/um/os-Linux/skas/process.c.rej
patching file arch/um/os-Linux/start_up.c
Hunk #2 FAILED at 26.
Hunk #3 FAILED at 146.
Hunk #4 FAILED at 185.
Hunk #5 FAILED at 365.
Hunk #6 FAILED at 376.
Hunk #7 FAILED at 396.
Hunk #8 FAILED at 408.
Hunk #9 FAILED at 428.
Hunk #10 FAILED at 463.
Hunk #11 FAILED at 498.
10 out of 11 hunks FAILED -- saving rejects to file
arch/um/os-Linux/start_up.c.rej
patching file arch/um/sys-i386/ldt.c
Hunk #1 succeeded at 437 (offset 1 line).
patching file arch/um/sys-i386/stub.S
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file arch/um/sys-i386/stub.S.rej
patching file arch/um/sys-x86_64/stub.S
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file
arch/um/sys-x86_64/stub.S.rej
patching file arch/um/sys-x86_64/syscall_table.c
Hunk #1 succeeded at 39 (offset 6 lines).
patching file arch/um/sys-x86_64/syscalls.c
patching file arch/x86/ia32/ia32_signal.c
Hunk #1 succeeded at 68 with fuzz 1 (offset 3 lines).
patching file arch/x86/ia32/ia32entry.S
Hunk #1 succeeded at 379 (offset 5 lines).
Hunk #2 FAILED at 732.
1 out of 2 hunks FAILED -- saving rejects to file
arch/x86/ia32/ia32entry.S.rej
can't find file to patch at input line 1819
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/ia32/ptrace32.c b/arch/x86/ia32/ptrace32.c
|index 4a233ad..5c0caa4 100644
|--- a/arch/x86/ia32/ptrace32.c
|+++ b/arch/x86/ia32/ptrace32.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
patching file arch/x86/kernel/entry_64.S
Hunk #1 succeeded at 423 (offset 11 lines).
can't find file to patch at input line 1861
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/kernel/ptrace_32.c b/arch/x86/kernel/ptrace_32.c
|index ff5431c..1f349e3 100644
|--- a/arch/x86/kernel/ptrace_32.c
|+++ b/arch/x86/kernel/ptrace_32.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 1924
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/kernel/ptrace_64.c b/arch/x86/kernel/ptrace_64.c
|index 607085f..915c291 100644
|--- a/arch/x86/kernel/ptrace_64.c
|+++ b/arch/x86/kernel/ptrace_64.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
patching file arch/x86/kernel/sys_i386_32.c
Hunk #1 succeeded at 244 (offset -17 lines).
patching file arch/x86/kernel/sys_x86_64.c
Hunk #1 succeeded at 234 (offset 81 lines).
patching file arch/x86/kernel/syscall_table_32.S
Hunk #1 FAILED at 324.
1 out of 1 hunk FAILED -- saving rejects to file
arch/x86/kernel/syscall_table_32.S.rej
can't find file to patch at input line 2087
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c
|index a2273d4..0e7940d 100644
|--- a/arch/x86/mm/fault_32.c
|+++ b/arch/x86/mm/fault_32.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2100
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c
|index 0e26230..9f5009e 100644
|--- a/arch/x86/mm/fault_64.c
|+++ b/arch/x86/mm/fault_64.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
patching file fs/proc/base.c
Hunk #1 succeeded at 2399 (offset 212 lines).
Hunk #2 succeeded at 2499 (offset 221 lines).
patching file include/asm-generic/siginfo.h
patching file include/asm-um/processor-x86_64.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file
include/asm-um/processor-x86_64.h.rej
patching file include/asm-um/ptrace-generic.h
patching file include/asm-um/ptrace-i386.h
patching file include/asm-um/ptrace-x86_64.h
patching file include/asm-x86/ia32.h
patching file include/asm-x86/ptrace.h
Hunk #1 succeeded at 2 with fuzz 1.
Hunk #2 succeeded at 56 with fuzz 2 (offset 23 lines).
Hunk #3 FAILED at 137.
1 out of 3 hunks FAILED -- saving rejects to file
include/asm-x86/ptrace.h.rej
patching file include/asm-x86/siginfo.h
patching file include/asm-x86/unistd_32.h
Hunk #1 FAILED at 330.
1 out of 1 hunk FAILED -- saving rejects to file
include/asm-x86/unistd_32.h.rej
patching file include/asm-x86/unistd_64.h
Hunk #1 FAILED at 635.
1 out of 1 hunk FAILED -- saving rejects to file
include/asm-x86/unistd_64.h.rej
patching file include/linux/ptrace.h
patching file include/linux/sched.h
Hunk #1 succeeded at 1820 with fuzz 1 (offset 168 lines).
patching file include/linux/signalfd.h
patching file kernel/fork.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file kernel/fork.c.rej
patching file kernel/ptrace.c
Hunk #1 succeeded at 410 with fuzz 1 (offset 44 lines).
Hunk #2 FAILED at 436.
1 out of 2 hunks FAILED -- saving rejects to file kernel/ptrace.c.rej
patching file kernel/signal.c
Hunk #1 succeeded at 2074 (offset -14 lines).
Hunk #2 succeeded at 2094 (offset -14 lines).
patching file mm/Makefile
Hunk #1 succeeded at 4 with fuzz 1.
patching file mm/mmfs.c
------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
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