[uml-user] impact on erlang?

2011-12-13 Thread Matthias Rieber
Hi, I've a strange problem with ejabberd(a jabber server written in Erlang) running under the user mode linux kernel. Almost everything works as expected but a certain function, pubsub/pep, doesn't work. When I run the very same installation in a chroot environment on the host, it behaves correctl

Re: [uml-user] impact on erlang?

2011-12-13 Thread richard -rw- weinberger
On Tue, Dec 13, 2011 at 1:10 PM, Matthias Rieber wrote: > Hi, > > I've a strange problem with ejabberd(a jabber server written in Erlang) > running under the user mode linux kernel. Almost everything works as > expected but a certain function, pubsub/pep, doesn't work. When I run > the very same i

Re: [uml-user] impact on erlang?

2011-12-13 Thread Matthias Rieber
Hello, On 13.12.2011 13:54, richard -rw- weinberger wrote: > On Tue, Dec 13, 2011 at 1:10 PM, Matthias Rieber > wrote: >> Hi, >> >> I've a strange problem with ejabberd(a jabber server written in Erlang) >> running under the user mode linux kernel. Almost everything works as >> expected but a ce

Re: [uml-user] impact on erlang?

2011-12-13 Thread richard -rw- weinberger
On Tue, Dec 13, 2011 at 2:55 PM, Matthias Rieber wrote: > Hello, > > On 13.12.2011 13:54, richard -rw- weinberger wrote: >> On Tue, Dec 13, 2011 at 1:10 PM, Matthias Rieber >> wrote: >>> Hi, >>> >>> I've a strange problem with ejabberd(a jabber server written in Erlang) >>> running under the use

Re: [uml-user] impact on erlang?

2011-12-13 Thread Matthias Rieber
Hi, On 13.12.2011 16:13, richard -rw- weinberger wrote: > On Tue, Dec 13, 2011 at 2:55 PM, Matthias Rieber > wrote: >>> Maybe Erlang makes use of a system call which is not available on UML... >>> You can try strace... >> >> I'll try that. What should I grep for in the strace log? >> > > For an

Re: [uml-user] impact on erlang?

2011-12-13 Thread Matthias Rieber
Hi, Am 13.12.2011 16:13, schrieb richard -rw- weinberger: > I'll try that. What should I grep for in the strace log? > > For anything which can cause your problem. > E.g. Failing system calls which should not fail... > > We've had problems with java and glibc where glibc used x86 specific > futex

Re: [uml-user] impact on erlang?

2011-12-13 Thread Riccardo Murri
Hi Matthias, On Tue, Dec 13, 2011 at 20:21, Matthias Rieber wrote: > Am 13.12.2011 16:13, schrieb richard -rw- weinberger: >> I'll try that. What should I grep for in the strace log? >> >> For anything which can cause your problem. >> E.g. Failing system calls which should not fail... >> >> We've

Re: [uml-user] impact on erlang?

2011-12-13 Thread Matthias Rieber
Hi, Am 13.12.2011 20:44, schrieb Riccardo Murri: >> I traced a larger part and it seems that erlang causes many futex calls >> on the hostsystem and none on the uml kernel. >> > I think you should run the strace *in* the UML, not on the host. I run it on the uml kernel and host kernel to find the

Re: [uml-user] impact on erlang?

2011-12-13 Thread richard -rw- weinberger
On Tue, Dec 13, 2011 at 8:21 PM, Matthias Rieber wrote: > Hi, > > Am 13.12.2011 16:13, schrieb richard -rw- weinberger: > >> I'll try that. What should I grep for in the strace log? >> >> For anything which can cause your problem. >> E.g. Failing system calls which should not fail... >> >> We've h

[uml-user] Setting up NAT: uml can ping remote PC, but not the other way around

2011-12-13 Thread ning ji
Hi all, 1. I run uml in linux1, ./umlinux ubda=my_rootfs mem=128M eth0=tuntap,,,192.117.0.254 2. after it boot up, i set the uml ip to be 192.117.0.7route add default gw 192.117.0.254 3. in the linux1, i addiptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 4. linux 1 and linux 2 can ping