[...]

And aparently I can't use a kernel prior to 2.4.2x on a 2.6.x  host. I
f..ed up, am I?


If you want to run a not so recent 2.4 guest on a 2.6 host you have to apply a very small patch. The patch is as follows, it does not apply properly, but it is easy enough to apply by hand

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




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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