[uml-user] NULL skbuff netfilter hook

2008-04-28 Thread Hayim Shaul
Hi All, I wrote a module that puts a netfitler hook on receiving IP packets (NF_IP_PRE_ROUTING). I want to debug it using UML, but strangely, the skbuf I get in the hook is always NULL. This looks strange to me as the module has worked in real linux pretty well. I use linux version 2.6.24.1 f

[uml-user] compiling 2.6.17.x on FC5

2006-07-12 Thread Hayim Shaul
I recently tried to compile a new UML on a new installation of FC5 (comes with gcc-4.1.0). It failed to compile arch/um/os-Linux/sys-i386/registers.c as it didn't know JB_PC, JB_SP and JB_BP. These consts were defined in /usr/include/bits/setjmp.h (on FC4). On FC5 I couldn't find their defini

Re: [uml-user] linux is stuck

2005-11-07 Thread Hayim Shaul
*) Try using a different UML version - there is my -bs tree, on my homepage (see signature), which is more up-to-date than -stable kernels (applies on them though). It has fixes for -skas0 mode (it's a recent introduction so still to be perfected a bit). The UML under http://www.user-mode-lin

Re: [uml-user] linux is stuck

2005-11-07 Thread Hayim Shaul
On Fri, 4 Nov 2005, Blaisorblade wrote: On Thursday 03 November 2005 08:19, Hayim Shaul wrote: I saw the problem recurring. Wait a moment, just noticed after all the rest - you are another user (we discussed the rmmod crash, I've finished and maybe posted a patch for it) and getting the

Re: [uml-user] linux is stuck

2005-11-02 Thread Hayim Shaul
I saw the problem recurring. Surprisingly when I changed the location of the linux exceutable it ran as expected. under /bin/linux it froze, but under /usr/bin/linux it ran OK. Also when I tried to `strace -f /usr/bin/linux` it froze as well. I checked the starce output. From what I gathere

Re: [uml-user] UML crash on rmmod

2005-10-27 Thread Hayim Shaul
On Thu, 27 Oct 2005, Blaisorblade wrote: On Thursday 27 October 2005 08:52, Hayim Shaul wrote: I've been working with UML for quite a while. Lately I upgraded to FC4 (which has forced me to upgrade the UML as well). So I now have a 2.6.13.3 UML kernel, root_fs=FC2. Since this upgrade th

Re: [uml-user] UML crash on rmmod

2005-10-27 Thread Hayim Shaul
On Thu, 27 Oct 2005, Jeff Dike wrote: On Thu, Oct 27, 2005 at 08:52:49AM +0200, Hayim Shaul wrote: Lately I upgraded to FC4 (which has forced me to upgrade the UML as well). Why is this? FC4 comes with gcc-4.0, which is a more strict compiler. linux-2.6.8.1 did not compile with gcc-4.0 so

[uml-user] UML crash on rmmod

2005-10-26 Thread Hayim Shaul
I've been working with UML for quite a while. Lately I upgraded to FC4 (which has forced me to upgrade the UML as well). So I now have a 2.6.13.3 UML kernel, root_fs=FC2. Since this upgrade the UML seems a lot more unstable. It crashes a lot (wher it almost never crashed before). One major b