Benedict Verheyen schreef:
> 
> Jeff,
> 
> i googled for this patch and saw that it was commited in 2.6.26.rc2.
> Does that mean that i need to compile a new 2.6.26.rc2 kernel or a new 
> 2.6.26.rc2 guest kernel or both ?
> 
> Also, when i have compiled a new kernel, do i still need to install 
> rng-tools to be able to run ssh again or won't that be necessary?
> I guess i can leave the CONFIG_UML_RANDOM set to yes without a problem.
> 
> Regards,
> Benedict

I compiled a new guest kernel. I took the 2.6.25 baseline source tree and 
applied the 2.6.26-rc5 patch.
With this kernel, ssh works again !
I could even turn off the rng tools and it still worked. Nice !

Only downside so far is that the skas 4 patch returned a couple of failed 
hunks. Understandably since it's a new version of the kernel :)

Here are the result of a dry-run patch round:

patching file arch/um/include/as-layout.h
Hunk #1 FAILED at 23.
1 out of 1 hunk FAILED -- saving rejects to file arch/um/include/as-layout.h.rej
patching file arch/um/include/kern_util.h
patching file arch/um/include/os.h
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
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 7.
2 out of 2 hunks FAILED -- saving rejects to file 
arch/um/include/skas_ptrace.h.rej
patching file arch/um/include/sysdep-i386/ptrace.h
patching file arch/um/include/sysdep-i386/ptrace_user.h
Hunk #1 succeeded at 43 with fuzz 2.
patching file arch/um/include/sysdep-i386/tls.h
patching file arch/um/include/sysdep-x86_64/ptrace.h
patching file arch/um/include/sysdep-x86_64/ptrace_user.h
Hunk #1 succeeded at 74 with fuzz 2 (offset 2 lines).
patching file arch/um/kernel/process.c
patching file arch/um/kernel/ptrace.c
patching file arch/um/kernel/reboot.c
patching file arch/um/kernel/signal.c
patching file arch/um/kernel/skas/clone.c
patching file arch/um/kernel/skas/mmu.c
patching file arch/um/kernel/skas/process.c
patching file arch/um/kernel/skas/syscall.c
patching file arch/um/kernel/syscall.c
Hunk #2 succeeded at 131 (offset -17 lines).
patching file arch/um/kernel/um_arch.c
Hunk #1 succeeded at 286 (offset 2 lines).
patching file arch/um/os-Linux/skas/mem.c
patching file arch/um/os-Linux/skas/process.c
patching file arch/um/os-Linux/start_up.c
Hunk #2 FAILED at 26.
Hunk #3 FAILED at 148.
Hunk #4 FAILED at 191.
Hunk #5 FAILED at 391.
Hunk #6 FAILED at 403.
Hunk #7 FAILED at 415.
Hunk #8 succeeded at 434 (offset 9 lines).
Hunk #9 FAILED at 444.
Hunk #10 FAILED at 478.
Hunk #11 succeeded at 500 (offset -1 lines).
8 out of 11 hunks FAILED -- saving rejects to file 
arch/um/os-Linux/start_up.c.rej
patching file arch/um/os-Linux/sys-i386/registers.c
Hunk #1 FAILED at 4.
Hunk #2 FAILED at 78.
Hunk #3 succeeded at 115 (offset 2 lines).
2 out of 3 hunks FAILED -- saving rejects to file 
arch/um/os-Linux/sys-i386/registers.c.rej
patching file arch/um/os-Linux/sys-x86_64/registers.c
patching file arch/um/sys-i386/ldt.c
patching file arch/um/sys-i386/signal.c
patching file arch/um/sys-i386/stub.S
patching file arch/um/sys-i386/tls.c
patching file arch/um/sys-x86_64/signal.c
patching file arch/um/sys-x86_64/stub.S
patching file arch/um/sys-x86_64/syscall_table.c
patching file arch/um/sys-x86_64/syscalls.c
patching file arch/x86/ia32/ia32_signal.c
patching file arch/x86/ia32/ia32entry.S
Hunk #1 succeeded at 377 (offset 4 lines).
Hunk #2 succeeded at 732 (offset 4 lines).
patching file arch/x86/kernel/entry_32.S
Hunk #1 succeeded at 368 (offset -3 lines).
patching file arch/x86/kernel/entry_64.S
Hunk #3 succeeded at 429 (offset -2 lines).
Hunk #4 succeeded at 486 (offset -2 lines).
patching file arch/x86/kernel/ptrace.c
Hunk #5 FAILED at 1253.
Hunk #6 succeeded at 1377 (offset -76 lines).
Hunk #7 succeeded at 1414 (offset -77 lines).
Hunk #8 succeeded at 1466 (offset -77 lines).
Hunk #9 succeeded at 1549 (offset -77 lines).
Hunk #10 succeeded at 1578 (offset -77 lines).
Hunk #11 succeeded at 1593 (offset -77 lines).
1 out of 11 hunks FAILED -- saving rejects to file arch/x86/kernel/ptrace.c.rej
patching file arch/x86/kernel/signal_32.c
Hunk #1 succeeded at 571 with fuzz 1 (offset -2 lines).
Hunk #2 FAILED at 603.
1 out of 2 hunks FAILED -- saving rejects to file 
arch/x86/kernel/signal_32.c.rej
patching file arch/x86/kernel/signal_64.c
Hunk #1 succeeded at 405 (offset -2 lines).
Hunk #2 succeeded at 436 (offset -1 lines).
patching file arch/x86/kernel/sys_i386_32.c
Hunk #1 succeeded at 21 with fuzz 2.
Hunk #2 succeeded at 245 (offset -17 lines).
patching file arch/x86/kernel/sys_x86_64.c
Hunk #1 succeeded at 234 (offset -17 lines).
patching file arch/x86/kernel/syscall_table_32.S
patching file arch/x86/mm/fault.c
patching file fs/proc/base.c
Hunk #1 succeeded at 2380 (offset 101 lines).
Hunk #2 succeeded at 2483 (offset 102 lines).
patching file include/asm-generic/siginfo.h
patching file include/asm-um/desc.h
patching file include/asm-um/host_ldt-i386.h
patching file include/asm-um/host_ldt-x86_64.h
patching file include/asm-um/processor-i386.h
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-um/thread_info.h
patching file include/asm-x86/Kbuild
Hunk #1 succeeded at 22 (offset 1 line).
patching file include/asm-x86/ia32.h
patching file include/asm-x86/ptrace.h
Hunk #2 succeeded at 55 with fuzz 1.
Hunk #3 succeeded at 251 with fuzz 2 (offset 6 lines).
patching file include/asm-x86/siginfo.h
patching file include/asm-x86/thread_info_32.h
Hunk #1 succeeded at 141 with fuzz 2 (offset -1 lines).
Hunk #2 FAILED at 161.
1 out of 2 hunks FAILED -- saving rejects to file 
include/asm-x86/thread_info_32.h.rej
patching file include/asm-x86/thread_info_64.h
Hunk #1 FAILED at 125.
Hunk #2 FAILED at 147.
2 out of 2 hunks FAILED -- saving rejects to file 
include/asm-x86/thread_info_64.h.rej
patching file include/asm-x86/unistd_32.h
patching file include/asm-x86/unistd_64.h
patching file include/linux/init_task.h
Hunk #1 succeeded at 176 (offset -17 lines).
patching file include/linux/ptrace.h
patching file include/linux/sched.h
Hunk #1 succeeded at 64 (offset -1 lines).
Hunk #2 succeeded at 1024 (offset 32 lines).
Hunk #3 succeeded at 1154 (offset 32 lines).
Hunk #4 succeeded at 1842 (offset 72 lines).
patching file include/linux/signalfd.h
patching file kernel/Makefile
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file kernel/Makefile.rej
patching file kernel/exit.c
Hunk #1 succeeded at 186 (offset 11 lines).
patching file kernel/fork.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file kernel/fork.c.rej
patching file kernel/ptrace.c
Hunk #1 succeeded at 410 (offset -10 lines).
Hunk #2 succeeded at 474 (offset 1 line).
patching file kernel/signal.c
Hunk #1 FAILED at 1785.
Hunk #2 succeeded at 2077 (offset -32 lines).
Hunk #3 succeeded at 2097 (offset -32 lines).
1 out of 3 hunks FAILED -- saving rejects to file kernel/signal.c.rej
patching file kernel/vcpu.c
patching file mm/Makefile
Hunk #1 succeeded at 4 with fuzz 1.
patching file mm/mmfs.c

Regards,
Benedict


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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