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

From: Tupshin Harper
Date: Sun Jan 11 2004 - 17:11:41 EST


The NeverGone wrote:

On Sun, 11 Jan 2004, Tupshin Harper wrote:



The guest UML kernel??? Works for me. What guest kernel are you running?



The guest UML using 2.4.23, and it works properly with 2.4.24 host kernel,
but not with 2.6.x ...


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)




-
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/