[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

Re: [uml-user] Memory Usage Issue

2008-04-28 Thread Jeff Dike
On Mon, Apr 28, 2008 at 04:55:44PM -0400, Jonas Meyer wrote: > I don't seem to have a "slabinfo" in my /proc directory. According to > some google searching, this is due to a bug in ubuntu gutsy. Should I > upgrade to hardy to fix this so I can give you the data you want, or > would that potentia

Re: [uml-user] Memory Usage Issue

2008-04-28 Thread Jonas Meyer
I don't seem to have a "slabinfo" in my /proc directory. According to some google searching, this is due to a bug in ubuntu gutsy. Should I upgrade to hardy to fix this so I can give you the data you want, or would that potentially break our ability to nail down this bug? Jonas On Mon, 2008-04-

Re: [uml-user] Memory Usage Issue

2008-04-28 Thread Jeff Dike
On Mon, Apr 28, 2008 at 01:09:48PM -0400, Jonas Meyer wrote: > I'm not sure if this is a UML issue, but my machine is acting very > strange, so I'm wondering if it is. > > I have a guest that has 512Mb of memory assigned to it. After running > mysql, apache, and mongrel (ruby on rails application

Re: [uml-user] Problems setting guest instance memory limits

2008-04-28 Thread robl
Jeff Dike wrote: > On Mon, Apr 28, 2008 at 04:21:41PM +0100, robl wrote: >> I've recently upgraded my UML setup from a 2.6.8+skas3 host kernel to a >> 2.6.18+skas on debian etch. I've also upgraded to using the nagafix >> kernel32-2.6.24.3 kernel to run my guest instances in. >> >> I uses to be a

Re: [uml-user] How do you actually enable humfs?

2008-04-28 Thread Jeff Dike
On Thu, Apr 24, 2008 at 03:05:13PM +0200, Joel Palmius wrote: > I've been trying to get humfs to work, but I can't find it in 2.6.25. I never sent it to mainline because of bugs I never fixed. > Is humfs a patch you need to download or something? Yup - see http://user-mode-linux.sourceforge.net

[uml-user] Memory Usage Issue

2008-04-28 Thread Jonas Meyer
I'm not sure if this is a UML issue, but my machine is acting very strange, so I'm wondering if it is. I have a guest that has 512Mb of memory assigned to it. After running mysql, apache, and mongrel (ruby on rails application server) for several days, the machine has killed off mysql and mongrel

Re: [uml-user] UML on non x86/ppc

2008-04-28 Thread Jeff Dike
On Fri, Apr 25, 2008 at 04:02:26PM +0200, Daniel Janzon wrote: > Are there any reasons UML will not be able to run on for instance ARM > platforms? Nope. > I see in arch/um that there is some processor-dependent code > for x86 and ppc. Is this code strictly needed in order to run UML? Or is > on

Re: [uml-user] Libs inside fs and UML kernel

2008-04-28 Thread Jeff Dike
On Sat, Apr 26, 2008 at 10:44:13AM -0400, lanas wrote: > That system tries to load ipSec and in turn ipSec complains that > the /lib/modules/2.6.24.2 directory can't be found. > > Of course it won't be found because that system was initially built > using 2.6.18-6-gx1. I copied it into a flat

Re: [uml-user] Problems setting guest instance memory limits

2008-04-28 Thread Jeff Dike
On Mon, Apr 28, 2008 at 04:21:41PM +0100, robl wrote: > I've recently upgraded my UML setup from a 2.6.8+skas3 host kernel to a > 2.6.18+skas on debian etch. I've also upgraded to using the nagafix > kernel32-2.6.24.3 kernel to run my guest instances in. > > I uses to be able to specify mem=3072

[uml-user] Problems setting guest instance memory limits

2008-04-28 Thread robl
Hi, I've recently upgraded my UML setup from a 2.6.8+skas3 host kernel to a 2.6.18+skas on debian etch. I've also upgraded to using the nagafix kernel32-2.6.24.3 kernel to run my guest instances in. I uses to be able to specify mem=3072M to the guest instance, but when I try this now I see :