Re: [uml-user] How to build UML 32-bit on a 64-bit linux host?

2013-01-24 Thread Matthias Rieber
Hello, Am 24.01.2013 22:03, schrieb Han: > Hi, > > I am trying to build UML (User Mode Linux) kernel in 32-bit on a > 64-bit linux host. How can I do that? > > I was able to build UML kernel in 64-bit like following: > > make defconfig ARCH=um > make ARCH=um try ARCH=um SUBARCH=i386 Matthias -

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

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 ev

[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

[uml-user] Skas3 patch for debian lenny kernels greater than 2.6.26-21

2010-06-29 Thread Matthias Rieber
Hi, to the debian lenny kernels greater than 2.6.26-21 a patch has been applied that causes hunks in sys_ia32.c, sys_i386_32.c and sys_x86_64.c. This patchset is called untangle-the-do_mremap-mess. Exists a skas3 patch that works with that kernels? Regards, Matthias

Re: [uml-user] possible data corruption with uml guest 2.6.32

2010-03-17 Thread Matthias Rieber
Hi, Am 16.03.2010 22:29, schrieb Janjaap Bos: > On Sat, 2010-03-13 at 11:37 +0100, Matthias Rieber wrote: > >> Hi, >> >> I tried the kernel 2.6.33 and I still have the data corruption problems. >> When I remount the partition with the sync option and repeat the

Re: [uml-user] possible data corruption with uml guest 2.6.32

2010-03-13 Thread Matthias Rieber
Hi, I tried the kernel 2.6.33 and I still have the data corruption problems. When I remount the partition with the sync option and repeat the test, all files seem to be intact. I'm using an ext3 filesystem on a lvm volume for my UMLs. matthias

Re: [uml-user] possible data corruption with uml guest 2.6.32

2010-03-10 Thread Matthias Rieber
Hi, Am 09.03.2010 22:41, schrieb Janjaap Bos: > On Mon, 2010-03-08 at 19:25 +0100, Matthias Rieber wrote: > >> This happens with 2.6.32.8 and .9 (9 with the fixed rlimit patch). Is >> this a know issue? Wrong kernel config? >> >> matthias >> > &g

[uml-user] possible data corruption with uml guest 2.6.32

2010-03-08 Thread Matthias Rieber
Hello, when I run the following lines within an 2.6.32 guest kernel dd if=/dev/urandom of=1/test.bin bs=1M count=50 for i in `seq 2 8`;do sync echo 1 > /proc/sys/vm/drop_caches echo 2 >/proc/sys/vm/drop_caches echo 3 > /proc/sys/vm/drop_caches cp 1/test.bin $i/ done; find . -name "

Re: [uml-user] Debian Kernel (2.6.26-21lenny3)

2010-03-08 Thread Matthias Rieber
Hi, Am 03.03.2010 09:11, schrieb Matthias Rieber: > Hi, > > it seems that there is a change between the debian patched kernels > 2.6.26-21lenny2 and 2.6.26-21lenny3 which introduces (patch) problems > with the skas3 patch. It's not obvious for me to adjust the patch.

[uml-user] Debian Kernel (2.6.26-21lenny3)

2010-03-03 Thread Matthias Rieber
Hi, it seems that there is a change between the debian patched kernels 2.6.26-21lenny2 and 2.6.26-21lenny3 which introduces (patch) problems with the skas3 patch. It's not obvious for me to adjust the patch. I've attached the original files and the rejects. Maybe someone can help. kind rega

[uml-user] uml vs. io load

2008-03-28 Thread Matthias Rieber
Hi, it's quite easy to halt my user-mode-linuxes with heavy io operation like hashing big files. I'm not sure of I setup something wrong or this behaviour can't be changed. My host system is debian etch, default kernel with skas patch: 2.6.18-6-vserver+skas-k7 Guest systems are debian etch,