Re: UML (user-mode-linux) kernel-2.6.x

From: The NeverGone
Date: Sun Jan 11 2004 - 17:16:37 EST


On Sun, 11 Jan 2004, Tupshin Harper wrote:

> Is that guest 2.4.23 kernel stock, with only the mentioned patch (pasted
> below) applied?
>
> Are you absolutely positive that you rebuilt that guest kernel with the
> patch???(I'm guessing that this is really the problem)
>
> Are you still getting the same error message? ("I'm tracing myself...")
>
> -Tupshin
>
> --- 1.5/arch/um/os-Linux/process.c Sat Jan 18 12:29:27 2003
> +++ 1.6/arch/um/os-Linux/process.c Thu Oct 2 14:27:57 2003
> @@ -7,6 +7,7 @@
> #include <stdio.h>
> #include <errno.h>
> #include <signal.h>
> +#include <linux/unistd.h>
> #include <sys/mman.h>
> #include <sys/wait.h>
> #include "os.h"
> @@ -87,7 +88,8 @@
>
> void os_usr1_process(int pid)
> {
> - kill(pid, SIGUSR1);
> + syscall(__NR_tkill, pid, SIGUSR1);
> +/* tkill(pid, SIGUSR1);*/
> }
>
> int os_getpid(void)

Hi...

It's also included in the host kernel (2.6.1-mm2) ...

Thx...

The NeverGone :)

==============================================================
--------- Csatlakozz: http://arenaportal.hix.com/ ---------
----- http://arenazo.cjb.net/ -- http://ironiq.hu/aDP/ -----
--- Kurucz "The NeverGone" Istvan: never@xxxxxxxxxxxxxx ---
-------------- http://delfin.klte.hu/~ki0029/ --------------
==============================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/