Re: [uml-devel] SKAS-v8: RC2 released against 2.6.7 - 2.6.11-rc3-bk6 kernels
Christopher S. Aker wrote: I just rolled a 2.6.11-rc4+cfq-ts-21 host kernel and I'll be testing this today. 2.6.11 doesn't seem to be ready for host duty yet: Yes. There is a bug in the v8-rc2 patch for 2.6.11 Try the attached fix, please. Bodo To BlaisorBlade: I tested the v8-rc2 for 2.6.9, too. It works fine for me. From: Bodo Stroesser <[EMAIL PROTECTED]> This patch fixes a bug in SKAS3 host patch v8-rc2 for 2.6.11, that causes syscalls not to be intercepted, when PTRACE_SYSEMU is used. Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]> --- --- linux-2.6.11-rc4/arch/i386/kernel/ptrace.c.orig 2005-02-15 15:33:26.0 +0100 +++ linux-2.6.11-rc4/arch/i386/kernel/ptrace.c 2005-02-15 15:58:18.0 +0100 @@ -802,7 +802,7 @@ int do_syscall_trace(struct pt_regs *reg if (is_singlestep) send_sigtrap(current, regs, 0); - if (!test_thread_flag(TIF_SYSCALL_TRACE)) + if (!test_thread_flag(TIF_SYSCALL_TRACE) && !is_sysemu) return 0; /* the 0x80 provides a way for the tracing parent to distinguish
[uml-devel] problems making UML binary
Hello, Could you please help me with the following problem? Here's a problem I've encountered when trying to compile an UML (User Mode Linux) linux binary: Details: 1) I am working with Mandrake 10.1 Official distribution 2) I got 2.4.27 kernel and uml patch 2.4.27-1 3) Applied the patch - worked well 4) Did make xconfig ARCH=um and saved standard configuration 5) Then I've tried make linux ARCH=um but got problems: a) with gcc 3.4.1 that I started with (standard Mandrake 10.1 instalation) I've got a lot of errors like: "sched.c:839: error: conflicting types for 'sleep_on_timeout' /home/adam/work/UML/linux-2.4.27/include/linux/sched.h:598: error: previous declaration of 'sleep_on_timeout' was here" So I guessed it was a gcc/Mandrake problem.. b) with gcc 3.3.1-2mdk or gcc 2.96-063mdk I got another problem - make linux ARCH=um runs smooth until it gets to linking: here is what I've got: "ld -r -o unmap_fin.o unmap.o -lc -L/usr/lib ld: cannot find -lc make[3]: *** [unmap_fin.o] Error 1 make[3] Leaving directory `/home/adam/work/UML/linux-2.4.27/arch/um/kernel/tt' ..." Could anybody please help me? My goal is to get UML in order to make some changes to kernel (A patch I've got to write), so downloading binary linux with maps&config is no solution - I need to be able to compile this. And I guess I need to start with raw UML working :\ What should I do? P.S As you can see, I am not building it in /usr/src/linux Thank you, Adam --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
