Re: [uml-user] [PATCH 1/1] um: ubd: Fix data corruption

2010-10-05 Thread richard -rw- weinberger
On Wed, Sep 29, 2010 at 7:21 AM, Jens Axboe jax...@fusionio.com wrote: I think we need to find the real fix here, just disabling merging is not a fix (it's just a nasty work-around for the real bug). Jens, Do you have an idea which parts of the code are buggy? -- Cheers, //richard

Re: [uml-user] [PATCH 1/1] um: ubd: Fix data corruption

2010-10-15 Thread richard -rw- weinberger
On Thu, Oct 14, 2010 at 3:14 PM, Tejun Heo hte...@gmail.com wrote: Hello, Can you please try this one then?  It seems to work here but I can't reproduce the original problem reliably so I'm not really sure. Thanks. diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index

Re: [uml-user] [uml-devel] immediately segfault with con0=tty:/dev/ttyXY

2010-11-22 Thread richard -rw- weinberger
On Mon, Nov 22, 2010 at 12:06 PM, Nico Rittner nritt...@cs.atlas-brb.de wrote: immediately segfault with con0=tty:/dev/tty10 Calling UML with con0=tty:/dev/tty10 immediately leads to segfault. uml : ~ $ bin/image initrd=bin/initrd init=/linuxrc mem=256M umid=app.dev.dpvw

Re: [uml-user] [RFC][PATCH v2 21/23] (um) __vmalloc: add gfp flags variant of pte and pmd allocation

2011-03-14 Thread richard -rw- weinberger
On Mon, Mar 14, 2011 at 7:12 PM, Prasad Joshi prasadjoshi...@gmail.com wrote: diff --git a/arch/um/include/asm/pgalloc.h b/arch/um/include/asm/pgalloc.h index 32c8ce4..8b6257e 100644 --- a/arch/um/include/asm/pgalloc.h +++ b/arch/um/include/asm/pgalloc.h @@ -27,6 +27,7 @@ extern pgd_t

Re: [uml-user] UML hangs with con=fd:0,fd:1 if stdin is no tty

2011-04-29 Thread richard -rw- weinberger
On Fri, Apr 29, 2011 at 6:10 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hi Richard, On Fri, Apr 29, 2011 at 5:47 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: Anyway, what is the exact command-line which causes UML to hang? Can you provide me a stand alone test case

Re: [uml-user] UML hangs with con=fd:0,fd:1 if stdin is no tty

2011-04-29 Thread richard -rw- weinberger
On Fri, Apr 29, 2011 at 7:05 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: But I can still redirect stdin from a named FIFO and attach a silent process to it: Sure, but you'll still need a wrapper script which creates this FIFO in the grid node. I've had enough fun with sge, lsf, ... ;)

Re: [uml-user] Why am I receiving an abort signal when running UML?

2011-05-04 Thread richard -rw- weinberger
On Wed, May 4, 2011 at 4:29 AM, Edmundo Carmona eantor...@gmail.com wrote: Could it be a compiler problem? I just found this piece from someone with the same problem I'm facing: http://us.generation-nt.com/answer/gcc-4-6-0-breaks-user-mode-linux-help-202788512.html I adjusted the kernel code

Re: [uml-user] uml issue - Read-only file system

2011-05-06 Thread richard -rw- weinberger
On Fri, May 6, 2011 at 10:51 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Hi - I'm encountering some strange issue with UML. I built the uml kernel from src and started them with root_fs(F14). (downloaded from http://fs.devloop.org.uk/) . Its fine for the first time. Next time(after

Re: [uml-user] uml issue - Read-only file system

2011-05-06 Thread richard -rw- weinberger
On Fri, May 6, 2011 at 11:14 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Is this really a UML issue? Tell the kernel to mount the rootfs rw... When booted it for the first with same command ,its worked fine.  After doing init 0 and starting again it becomes read-only. What ext version

Re: [uml-user] uml issue - Read-only file system

2011-05-06 Thread richard -rw- weinberger
On Fri, May 6, 2011 at 2:28 PM, Lakshmipathi.G lakshmipath...@gmail.com wrote: I'm not sure as I didn't create them ,manually.But Its not working after initial shutdown. I guess the root fs was damaged. Are you using ext4 to read ext2/3? Yes,its ext4 root_fs after logged into uml, I tried to

Re: [uml-user] uml issue - Read-only file system

2011-05-06 Thread richard -rw- weinberger
Antoine, On Fri, May 6, 2011 at 5:06 PM, Antoine Martin anto...@nagafix.co.uk wrote: On 05/06/2011 06:59 PM, richard -rw- weinberger wrote: On Fri, May 6, 2011 at 11:14 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Is this really a UML issue? Tell the kernel to mount the rootfs rw

Re: [uml-user] Help with installing UML

2011-06-08 Thread richard -rw- weinberger
On Wed, Jun 8, 2011 at 8:43 PM, Naman Muley naman.g.mu...@gmail.com wrote: Hey, I check out that thread. It containted a link to a HOWTO webpage. I followed it (http://hanez.org/howto-user-mode-linux.html). Here's what I got. After spending more than 7 hours at this, I think there seems to be a

Re: [uml-user] What is causing this error?

2011-06-14 Thread richard -rw- weinberger
On Tue, Jun 14, 2011 at 11:35 AM, Naman Muley naman.g.mu...@gmail.com wrote: Hi,       Can anybody help me with this error:  .. ..       UML running in SKAS0 mode Adding 3194880 bytes to physical memory to account for exec-shield gap Is this a hand compiled kernel? Version? Defaultconfig?

Re: [uml-user] threads in x86_64 UML

2011-06-23 Thread richard -rw- weinberger
On Thu, Jun 23, 2011 at 5:38 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hello, I'm trying to run some MatLab compiled code in a x86_64 Debian squeeze UML; unfortunately, the code crashes and the backtrace indicates that the problem is due to a failing clone() call. UML had some

Re: [uml-user] threads in x86_64 UML

2011-06-23 Thread richard -rw- weinberger
Riccardo, On Thu, Jun 23, 2011 at 11:16 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Being MatLab stuff, I'm afraid I cannot provide a full test case; this is the top of the stack as it gets dumped out after the crash:    [...]    [ 13] 0x452951c3

Re: [uml-user] threads in x86_64 UML

2011-06-24 Thread richard -rw- weinberger
On Thu, Jun 23, 2011 at 11:16 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Being MatLab stuff, I'm afraid I cannot provide a full test case; this is the top of the stack as it gets dumped out after the crash: BTW: What exactly are you doing with MatLab? I have access to various MatLab

Re: [uml-user] Cannot find a stable version

2011-06-24 Thread richard -rw- weinberger
On Fri, Jun 24, 2011 at 11:30 AM, Gordon Russell drgruss...@gmail.com wrote: Hi All. I have been using user mode linux since 2004, but I have decided to update my images to fedora 15. However I cannot get a stable uml kernel to run this image. For instance 2.6.39.1 crashes when I try yum

Re: [uml-user] Cannot find a stable version

2011-06-25 Thread richard -rw- weinberger
On Sat, Jun 25, 2011 at 1:14 AM, Gordon Russell drgruss...@gmail.com wrote: I have never tried a bisect, but the online guides seem clear enough, except they seem to require a starting point which is a good kernel version. Which version has Commit 482db6? The changelogs have commits which have

Re: [uml-user] missing syslog messages

2011-07-12 Thread richard -rw- weinberger
2011/7/12 Toralf Förster toralf.foers...@gmx.de: Hello, when I start my user mdoe linux to use a tap device, I see this in the guesgt kernel log : 2011-07-12T15:39:48.316+02:00 n22_uml kernel: Netdevice 0 (7a:cf:14:11:67:01) : This printk() just sucks. drivers/net_kern.c:

Re: [uml-user] v3.0-6726-g250f8e3 core dumped in arch/um/os-Linux/sys-i386/task_size.c:31

2011-07-31 Thread richard -rw- weinberger
On Sun, Jul 31, 2011 at 6:50 PM, Manfred Haertel, DB3HM manfred.haer...@rz-online.de wrote: Toralf Förster wrote: tfoerste@n22 ~/devel/linux $ gdb linux GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

Re: [uml-user] kernel 3.0.0+ core dumped - core file analyzed

2011-08-01 Thread richard -rw- weinberger
2011/8/1 Toralf Förster toralf.foers...@gmx.de: Hello, this is a follow-up of [uml-user] v3.0-6726-g250f8e3 core dumped in arch/um/os-Linux/sys-i386/task_size.c:31 The current UML kernel v3.0-6862-g3da3f87 core dumped with this command line : $ ./linux

Re: [uml-user] kernel 3.0.0+ core dumped - core file analyzed

2011-08-01 Thread richard -rw- weinberger
2011/8/1 Toralf Förster toralf.foers...@gmx.de: Hello, this is a follow-up of [uml-user] v3.0-6726-g250f8e3 core dumped in arch/um/os-Linux/sys-i386/task_size.c:31 The current UML kernel v3.0-6862-g3da3f87 core dumped with this command line : $ ./linux

Re: [uml-user] kernel 3.0.0+ core dumped - core file analyzed

2011-08-01 Thread richard -rw- weinberger
2011/8/1 Toralf Förster toralf.foers...@gmx.de: Good luck, BTW I tried to bisect it 2 times in a row, but got always this (wrong) result commit : aa63418aa7 I fear there's another commit, which produces coredump and therefore confuses git-bisect (and me). I fear today UML gets more love

Re: [uml-user] core dump for kernel 3.0 and CIFS

2011-08-02 Thread richard -rw- weinberger
2011/8/2 Toralf Förster toralf.foers...@gmx.de: If I try to mount a CIFS directory I get this from the created core file : Core was generated by `/usr/local/bin/linux-v3.0 earlyprintk ubda=/home/tfoerste/virtual/uml/gentoo_ro'. Program terminated with signal 6, Aborted. #0  0xb788f424 in

Re: [uml-user] UML, threads and memory usage

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 5:42 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hello, I see that each UML instance starts a variable number of threads/processes. I'm using UML in a batch system (Sun Grid Engine 6.2); SGE kills my jobs because they exceed the allowed memory reservation.  My

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 5:19 PM, Gordon Russell drgruss...@gmail.com wrote: Thoughts? FC15 x86_64 or x86_32? Which host kernel are you using? -- Thanks, //richard -- BlackBerryreg; DevCon Americas, Oct. 18-20, San

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 7:53 PM, Gordon Russell drgruss...@gmail.com wrote: 2.6.40-4.fc15.x86_64 My user mode linux kernels are all compiled statically on a fedora 32 bit machine. Can I compile uml as a 64 bit executable instead? I keep thinking uml must be compiled as a 32 bit executable...

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 8:30 PM, Gordon Russell drgruss...@gmail.com wrote: Recompiled it on an up to date 64 bit fedora 15 machine. Thats much easier, but unfortunately just the same error message when I run it. Disabling SELINUX makes no difference btw. Ok, I'll look at the issue. First, I

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 8:30 PM, Gordon Russell drgruss...@gmail.com wrote: Recompiled it on an up to date 64 bit fedora 15 machine. Thats much easier, but unfortunately just the same error message when I run it. Disabling SELINUX makes no difference btw. On a FC15 LiveCD UML works fine. Are

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 9:45 PM, Gordon Russell drgruss...@gmail.com wrote: Did the livecd have 2.6.40-4 as the host kernel? It is just a feeling but I thought it was working ok on my development server before I rolled it out over the other servers, and originally fedora 15 as installed was

Re: [uml-user] Running User Mode Linux in fedora 15

2011-08-04 Thread richard -rw- weinberger
On Thu, Aug 4, 2011 at 10:56 PM, Gordon Russell drgruss...@gmail.com wrote: Thanks for looking into this for me. Ideally could you file the bug report? If they ask any followon questions you will probably know the answer! Let me know the bug number and I will put in me too if that will help.

Re: [uml-user] Running a 32 bit Filesystem on a 64 bit kernel

2011-08-13 Thread richard -rw- weinberger
On Sat, Aug 13, 2011 at 7:23 AM, Aniruddha Laud trojan.of.t...@gmail.com wrote: Hi, The file system I have has some files in 64-bit ELF format and some in 32-bit. Is it possible to run such a file system with a 64-bit Linux kernel compiled as UML with ARCH=um ? Normally, if I start up the

Re: [uml-user] Running a 32 bit Filesystem on a 64 bit kernel

2011-08-14 Thread richard -rw- weinberger
On Sat, Aug 13, 2011 at 6:42 PM, Aniruddha Laud trojan.of.t...@gmail.com wrote: Is there any particular reason as to why UML doesn't have this while Linux on hardware does? Thanks. Not really. Nobody implemented it jet. :-) -- Thanks, //richard

Re: [uml-user] java exceptions in UML

2011-08-15 Thread richard -rw- weinberger
On Mon, Aug 15, 2011 at 11:09 AM, Gunnar Lindroth gunnarlindr...@hotmail.com wrote: Hi, I'm trying to run a Java application in my 64-bit UML. Unfortunately I have experienced a lot of SIGSEGV's when running my application which makes it next to unusable (it crashes maybe 80% of the time). The

Re: [uml-user] java exceptions in UML

2011-08-18 Thread richard -rw- weinberger
On Tue, Aug 16, 2011 at 8:37 AM, Gunnar Lindroth gunnarlindr...@hotmail.com wrote: Hi Richard, Unfortunately I will not be able to bisect the issue - I really don't have the knowledge to do that. My best contribution will probably be the testing of a future solution, please let me know if you

Re: [uml-user] getcap/setcap in UML?

2011-09-19 Thread richard -rw- weinberger
On Mon, Sep 19, 2011 at 11:44 PM, Chris Frey cdf...@foursquare.net wrote: When I run it manually, I get: [root@fedora15 ~]# getcap /usr/libexec/pt_chown Failed to get capabilities of file `/usr/libexec/pt_chown' (Operation not supported) Can you run strace on it? Let's see what the system

Re: [uml-user] getcap/setcap in UML?

2011-09-19 Thread richard -rw- weinberger
On Tue, Sep 20, 2011 at 12:27 AM, Chris Frey cdf...@foursquare.net wrote: On Tue, Sep 20, 2011 at 12:28:53AM +0200, richard -rw- weinberger wrote: Can you run strace on it? Let's see what the system call returns... I get this: capget(0x20080522, 0, NULL)             = 0 getxattr(/usr

Re: [uml-user] Adding bytes to physical memory to account for exec-shield gap Aborted

2011-09-21 Thread richard -rw- weinberger
On Wed, Sep 21, 2011 at 11:33 AM, ratheesh kannoth ratheesh@gmail.com wrote: Hi, i downloaded linux 2.6.31 version and compiled for  ARCH=um SUBARCH=i386 ( 32bit uml) my linux machine (64bit ubunt lucid )  gcc  version is  (Ubuntu 4.4.3-4ubuntu5) 4.4.3 Can you please try a newer

Re: [uml-user] udev hangs on boot when using a cow file

2011-09-28 Thread richard -rw- weinberger
On Tue, Sep 27, 2011 at 7:09 PM, Dan Bassett dbass...@oreilly.com wrote: I did some more digging after finding some more debugging flags for start_udev and I have more information today.  After serializing udev's startup process, it looks like the boot process always hangs in the same spot.  

Re: [uml-user] udev hangs on boot when using a cow file

2011-09-28 Thread richard -rw- weinberger
On Tue, Sep 27, 2011 at 7:09 PM, Dan Bassett dbass...@oreilly.com wrote: I did some more digging after finding some more debugging flags for start_udev and I have more information today.  After serializing udev's startup process, it looks like the boot process always hangs in the same spot.  

Re: [uml-user] udev hangs on boot when using a cow file

2011-09-28 Thread richard -rw- weinberger
On Wed, Sep 28, 2011 at 10:04 PM, Dan Bassett dbass...@oreilly.com wrote: On 09/28/2011 02:53 PM, richard -rw- weinberger wrote: On Tue, Sep 27, 2011 at 7:09 PM, Dan Bassettdbass...@oreilly.com  wrote: I did some more digging after finding some more debugging flags for start_udev and I

Re: [uml-user] UML for ARM processors?

2011-10-03 Thread richard -rw- weinberger
On Mon, Oct 3, 2011 at 9:32 AM, Troy Piggins troy_...@piggo.com wrote: Hi there.  I'm running an ARM-based Dreamplug with Debian Squeeze on it.  Contemplating trying UML virtual machines on it, but not sure if that's possible.  Any ideas or pointers? No. Currently UML runs on only on

Re: [uml-user] skas patches?

2011-10-05 Thread richard -rw- weinberger
On Wed, Oct 5, 2011 at 10:01 PM, Dan Bassett dbass...@oreilly.com wrote: Is anybody maintaining the skas3 (and/or skas4) patches anymore? AFAIK no. I haven't used skas3/4 for years, skas0 is fine for my use cases. -- Thanks, //richard

Re: [uml-user] Compiling UML for x86 (32bit) on an x86_64 machine

2011-10-24 Thread richard -rw- weinberger
On Mon, Oct 24, 2011 at 4:42 PM, Luca Saiu luca.s...@lipn.univ-paris13.fr wrote: Sorry for asking such an obvious question, but we couldn't find any information on the official documentation: how do we cross-compile a UML kernel for a 32-bit x86 machine on an x86-64 machine? Try: make linux

Re: [uml-user] swapoff killed by OOM despite there is enough RAM available

2011-11-30 Thread richard -rw- weinberger
On Tue, Nov 29, 2011 at 6:39 PM, Dmitry Panov dmitry.pa...@yahoo.co.uk wrote: Hi guys, I'm having an issue with swapoff which gets killed by OOM. I was able to reproduce it with UML guests running different kernel versions, starting from 2.6.26 to  3.1.3. The only difference is with latest

Re: [uml-user] swapoff killed by OOM despite there is enough RAM available

2011-11-30 Thread richard -rw- weinberger
On Wed, Nov 30, 2011 at 3:12 PM, Dmitry Panov dmitry.pa...@yahoo.co.uk wrote: On 30/11/2011 14:00, richard -rw- weinberger wrote: On Tue, Nov 29, 2011 at 6:39 PM, Dmitry Panovdmitry.pa...@yahoo.co.uk  wrote: Hi guys, I'm having an issue with swapoff which gets killed by OOM. I was able

Re: [uml-user] Can i run uml in the background ?

2011-12-02 Thread richard -rw- weinberger
On Fri, Dec 2, 2011 at 11:39 PM, ning ji nin...@hotmail.com wrote: without sudo, i got this Is your disk image only root-readable? Nobody runs UML as root. -- Thanks, //richard -- All the data continuously generated

Re: [uml-user] UML, threads and memory usage

2011-12-06 Thread richard -rw- weinberger
Hi, On Tue, Dec 6, 2011 at 7:48 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: If I got it right:  - The UML kernel runs in its own process (hence kernel space    separation, enforced by the host kernel), which is the parent of    all the UML processes (one per guest process). The

Re: [uml-user] UML, threads and memory usage

2011-12-06 Thread richard -rw- weinberger
On Tue, Dec 6, 2011 at 10:31 PM, clow...@clownix.net wrote: Is there still a chance that the skas0 patch will end up in the mainline? It is already in mainline. -- Thanks, //richard -- Cloud Services Checklist:

Re: [uml-user] UML, threads and memory usage

2011-12-06 Thread richard -rw- weinberger
On Tue, Dec 6, 2011 at 11:40 PM, clow...@clownix.net wrote: I did not read everything carefully but I thought that with the skas0, I would see only one uml linux process in the host for the whole uml machine, and also that it would not take the /dev/shm memory anymore. No. Maybe your are

Re: [uml-user] slow ubd performance

2011-12-08 Thread richard -rw- weinberger
On Thu, Dec 8, 2011 at 12:38 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hi *, the file-backed `ubd` devices in my UML instances are terribly slow, and generate a lot of iowait load on the host.  It looks like as if filesystems mounted from `ubd` devices were using the `sync` option.

Re: [uml-user] impact on erlang?

2011-12-13 Thread richard -rw- weinberger
On Tue, Dec 13, 2011 at 1:10 PM, Matthias Rieber suppor...@sucksass.de 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

Re: [uml-user] impact on erlang?

2011-12-13 Thread richard -rw- weinberger
On Tue, Dec 13, 2011 at 2:55 PM, Matthias Rieber suppor...@sucksass.de wrote: Hello, On 13.12.2011 13:54, richard -rw- weinberger wrote: On Tue, Dec 13, 2011 at 1:10 PM, Matthias Rieber suppor...@sucksass.de wrote: Hi, I've a strange problem with ejabberd(a jabber server written in Erlang

Re: [uml-user] xterm got kill when i run application in uml, how come ?

2011-12-24 Thread richard -rw- weinberger
On Sat, Dec 24, 2011 at 4:42 AM, ning ji nin...@hotmail.com wrote: I left the error message in the company, but briefly the TAP devices have issues. Without the exact message nobody can help you. So far this project turns out to be a mess and i'm praying they won't fire me. If UML is the

Re: [uml-user] xterm got kill when i run application in uml, how come ?

2012-01-03 Thread richard -rw- weinberger
On Tue, Jan 3, 2012 at 6:01 PM, ning ji nin...@hotmail.com wrote: Starting system logger: [  OK  ] Retrigger failed udev events[  OK  ] [  156.81] helper_wait : waitpid process 13447 failed, errno = 10 [  156.81] * modprobe tun [  156.81] * ifconfig tap4 10.38.145.169 netmask

Re: [uml-user] SKAS host patches and wiki

2012-01-19 Thread richard -rw- weinberger
On Thu, Jan 19, 2012 at 3:23 PM, Nick Cripps nick.cri...@gmail.com wrote: I saw this thread: http://sourceforge.net/mailarchive/forum.php?thread_name=CAFLxGvz2wdfRtryzJ1t0G11rxzOmhdNEVi6A%3DXS5uLG0PA7VAQ%40mail.gmail.comforum_name=user-mode-linux-user which seems to indicate that SKAS3 isn't

Re: [uml-user] SKAS host patches and wiki

2012-01-19 Thread richard -rw- weinberger
On Thu, Jan 19, 2012 at 5:40 PM, Nick Cripps nick.cri...@gmail.com wrote: Thanks for the quick reply. What options do I need to have enabled in the host kernel to support SKAS0? There is no need to enable SKAS0 in the host kernel. -- Thanks, //richard P.s: Please don't top-post.

Re: [uml-user] Running 32bit binaries in a 64bit UML instance

2012-01-20 Thread richard -rw- weinberger
On Sat, Jan 21, 2012 at 12:56 AM, Nick Cripps nick.cri...@gmail.com wrote: Hi, When running 'make menuconfig ARCH=uml' there is no 'Executable file formats / Emulations' menu. I guess this makes sense since I guess that only binaries that can be run on the host kernel can be run from UML.

Re: [uml-user] SKAS host patches and wiki

2012-01-20 Thread richard -rw- weinberger
On Thu, Jan 19, 2012 at 7:41 PM, Antoine Martin anto...@nagafix.co.uk wrote: On 01/19/2012 10:01 PM, richard -rw- weinberger wrote: On Thu, Jan 19, 2012 at 3:23 PM, Nick Cripps nick.cri...@gmail.com wrote: I saw this thread: http://sourceforge.net/mailarchive/forum.php?thread_name

Re: [uml-user] do UML guests need NTP?

2012-02-11 Thread richard -rw- weinberger
On Thu, Feb 9, 2012 at 3:14 PM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hello, is NTP needed on UML VMs? Or does the UML kernel take the time from the host kernel? (so it's enough if the host runs NTP) UML takes the timer tick from the host. But it has it's own timekeeping. But I

Re: [uml-user] SELinux inside a UML

2012-02-11 Thread richard -rw- weinberger
On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche nicolas.grene...@univ-paris13.fr wrote: Hi, I would like to create a SELinux aware UML. I compiled a ARCH=um kernel with SELinux activated. Are you sure? The UML starts but SELinux seems to be disabled. Libselinux is installed so I have

Re: [uml-user] uml stuck on Locating the top of the address space

2012-02-12 Thread richard -rw- weinberger
On Sun, Feb 12, 2012 at 9:23 PM, Joakim Arfvidsson joa...@arfvidsson.com wrote: It finds the bottom address, but is stuck forever on top address. This is all on an Amazon EC2 instance (so it's running within some Xen vm). Host is running 32 bit RedHat. Command line and results:

Re: [uml-user] uml stuck on Locating the top of the address space

2012-02-12 Thread richard -rw- weinberger
On Mon, Feb 13, 2012 at 12:29 AM, Joakim Arfvidsson joa...@arfvidsson.com wrote: Yes, the CPU is pegged while this is happening. I've left it for an hour with no results. I looked at that code and couldn't really see a good reason for it to block forever, except if the address space was so

Re: [uml-user] SELinux inside a UML

2012-02-13 Thread richard -rw- weinberger
On Mon, Feb 13, 2012 at 10:52 AM, Nicolas Greneche nicolas.grene...@univ-paris13.fr wrote: Le 11/02/2012 13:03, richard -rw- weinberger a écrit : On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche nicolas.grene...@univ-paris13.fr  wrote: Hi, I would like to create a SELinux aware UML. I

Re: [uml-user] uml stuck on Locating the top of the address space

2012-02-14 Thread richard -rw- weinberger
On Tue, Feb 14, 2012 at 4:08 AM, Joakim Arfvidsson joa...@arfvidsson.com wrote: To debug, I ran UML in gdb. It segfaulted once during finding the bottom limit, which is expected I guess. gdb has to ignore UML's SIGSEGV. UML is using it to handle page faults. Type handle SIGSEGV noprint nostop

Re: [uml-user] SKAS host patches and wiki

2012-02-15 Thread richard -rw- weinberger
On Wed, Feb 15, 2012 at 9:47 PM, Antoine Martin anto...@nagafix.co.uk wrote: On 01/21/2012 07:14 AM, richard -rw- weinberger wrote: On Thu, Jan 19, 2012 at 7:41 PM, Antoine Martin anto...@nagafix.co.uk wrote: On 01/19/2012 10:01 PM, richard -rw- weinberger wrote: On Thu, Jan 19, 2012 at 3:23

Re: [uml-user] UML not shutting down due to task killall5 blocked for more than 120 seconds

2012-05-09 Thread richard -rw- weinberger
On Wed, May 9, 2012 at 11:35 AM, Riccardo Murri riccardo.mu...@gmail.com wrote: Hello, we're having issues with a UML machine that refuses to shut down: the halt sequence commences and then we get the following kernel error message and backtrace:    Asking all remaining processes to

Re: [uml-user] UML with kernel 2.6.38 does not work a machines running linux kernel 3.1.0

2012-05-27 Thread richard -rw- weinberger
Hi! Running 3.1 x86_64 on top of 3.1 x86_64 works, but 2.6.38 x86_64 on top of 3.1 x86_64 not? Please confirm, so that I can try to produce the issue. However I suspect we have to back port f1c2bb8 (um: implement a x86_64 vDSO). Thanks, //richard

Re: [uml-user] UML with kernel 2.6.38 does not work a machines running linux kernel 3.1.0

2012-05-27 Thread richard -rw- weinberger
So, you're using gcc 4.5. You have to apply the patch below to your UML kernel. Anyway, consider using a recent UML kernel. Or at least one which an active stable tree. commit 534e3adbd22efa327e6ff27cf2d8ebaad8382ecd Author: Richard Weinberger rich...@nod.at Date: Wed Apr 27 15:26:54 2011 -0700

Re: [uml-user] linux-v3.5-rc1: start of a user mode linux produces a core file

2012-06-03 Thread richard -rw- weinberger
On Sun, Jun 3, 2012 at 11:35 AM, Toralf Förster toralf.foers...@gmx.de wrote: Whenever I start an UML image, I get a core file (nevertheless the UML starts up fine). The gdb back trace is : Core was generated by `/usr/local/bin/linux-v3.5-rc1 earlyprintk

Re: [uml-user] sysconf(_SC_NPROCESSORS_CONF) returns incorrect on UML (0)

2012-06-06 Thread richard -rw- weinberger
On Wed, Jun 6, 2012 at 12:56 PM, Lars Ekman G lars.g.ek...@ericsson.com wrote: I am using UML-kernel; 3.0.26 Anyway, this program; #include stdio.h #include unistd.h int main(int argc, char* argv[]) {        printf(_SC_NPROCESSORS_CONF = %d\n, sysconf(_SC_NPROCESSORS_CONF));        

Re: [uml-user] sysconf(_SC_NPROCESSORS_CONF) returns incorrect on UML (0)

2012-06-06 Thread richard -rw- weinberger
On Wed, Jun 6, 2012 at 1:29 PM, Lars Ekman G lars.g.ek...@ericsson.com wrote: Hello, examples/lttng /lib/libc.so.6 GNU C Library stable release version 2.11.1 (20100118), by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for

Re: [uml-user] sysconf(_SC_NPROCESSORS_CONF) returns incorrect on UML (0)

2012-06-06 Thread richard -rw- weinberger
On Wed, Jun 6, 2012 at 1:33 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: Okay, I have an idea what's going on. I'll send a patch ASAP. Does the attached patch solve the problem? -- Thanks, //richard diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index a923483

Re: [uml-user] sysconf(_SC_NPROCESSORS_CONF) returns incorrect on UML (0)

2012-06-06 Thread richard -rw- weinberger
On Wed, Jun 6, 2012 at 4:15 PM, Lars Ekman G lars.g.ek...@ericsson.com wrote: Hello, Yes, it works fine; Okay, I'll queue this patch for -stable. -- Thanks, //richard -- Live Security Virtual Conference Exclusive

Re: [uml-user] UML is wonderful !!!

2012-07-05 Thread richard -rw- weinberger
Hi! On Thu, Jul 5, 2012 at 3:04 PM, James roben james.robe...@gmail.com wrote: All, I recently read an article in Linux Journal 2012 July issue about UML ( http://www.linuxjournaldigital.com/linuxjournal/201207?pg=60#pg60 ). I really came to know the power of UML. The first thing , i

Re: [uml-user] UML is wonderful !!!

2012-07-05 Thread richard -rw- weinberger
On Thu, Jul 5, 2012 at 10:58 PM, Chris Frey cdf...@foursquare.net wrote: On Thu, Jul 05, 2012 at 04:38:51PM +0200, richard -rw- weinberger wrote: The article describes nothing that is not also doable with KVM these days. Anyway, UML is fun and nice to use. :-) Doesn't KVM require the extra VM

Re: [uml-user] entropy hole in UML instances too

2012-07-08 Thread richard -rw- weinberger
On Sun, Jul 8, 2012 at 1:21 AM, Paolo Giarrusso p.giarru...@gmail.com wrote: Nice to hear from you Paolo, are you planning to work again on UML? :) Yep - entropy comes from hardware interrupts, and UML doesn't have enough such interrupts, as far as I remember; I think interrupts might be

Re: [uml-user] linxu kernel 3.5 - first experience

2012-07-22 Thread richard -rw- weinberger
Toralf, On Sun, Jul 22, 2012 at 12:42 PM, Toralf Förster toralf.foers...@gmx.de wrote: With Linux n22 3.5.0-rc7+ as a host kernel and 3.5 as guest kernel my unstable Gentoo system hangs after a while. The back trace derived from gdb shows : please more details. I've told you many times that

Re: [uml-user] linxu kernel 3.5 - first experience

2012-07-22 Thread richard -rw- weinberger
On Sun, Jul 22, 2012 at 2:06 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 07/22/2012 01:18 PM, richard -rw- weinberger wrote: After a given time the system becomes non-reactive. Neither at the command line (xterm) nor via a network connection the systems gave any response

Re: [uml-user] Receive segv when creating unix domain socket on hostfs mounted directory

2012-08-21 Thread richard -rw- weinberger
Hi! On Tue, Aug 21, 2012 at 5:15 PM, 张东亚 fortitude.zh...@gmail.com wrote: Hi, I am running linux 3.4 uml,it works quite well, however recently I want to running openvswitch on the uml instance,I will got an segv fault. What segfaulted? The UML kernel or some user space application? I

Re: [uml-user] TSC register

2012-08-24 Thread richard -rw- weinberger
On Fri, Aug 24, 2012 at 5:09 PM, Dragos Diaconescu diacones...@gmail.com wrote: Can you please give me some directions? Shall I implement in the same manner as is implemented in /arch/x86/lib/delay.c . What are the big differences between this implementation and in an implementation

Re: [uml-user] apache2 won't start with v3.6-rc5 (kernel v3.5 works fine)

2012-09-09 Thread richard -rw- weinberger
On Sun, Sep 9, 2012 at 12:01 PM, Toralf Förster toralf.foers...@gmx.de wrote: Hi, with current git tree 3.6-rc5 I cannot longer start apache2 at a UML image with an unstable Gentoo Linux. The apache error log gives : [Sun Sep 09 11:53:25.225818 2012] [core:emerg] [pid 1054:tid 1078662848]

Re: [uml-user] UML compile error in current git kernel

2012-10-12 Thread richard -rw- weinberger
On Fri, Oct 12, 2012 at 8:58 PM, Toralf Förster toralf.foers...@gmx.de wrote: Hi, $ make ARCH=um -j1 CHK include/generated/uapi/linux/version.h make[3]: Nothing to be done for `all'. make[1]: `arch/x86/um/user-offsets.s' is up to date. CHK include/generated/utsrelease.h CALL

Re: [uml-user] current git UML crashes (git 4d7127d)

2012-10-13 Thread richard -rw- weinberger
On Sat, Oct 13, 2012 at 9:08 PM, Toralf Förster toralf.foers...@gmx.de wrote: The following data I gathered from a UML process running at 100% COU of 1 core : Is something of those data are helpful ? If UML is looping, no. Sorry. -- Thanks, //richard

Re: [uml-user] current git UML crashes (git 4d7127d)

2012-10-14 Thread richard -rw- weinberger
On Sun, Oct 14, 2012 at 6:25 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 10/13/2012 09:42 PM, richard -rw- weinberger wrote: If UML is looping, no. Sorry. Now I got a crash. Running this command at the host: $ for i in $(seq 1 1000); do echo -en $i\r; for p in manual phpsysinfo

Re: [uml-user] RFC: CONFIG_LBDAF should be auto-selected if EXT4 is choosed in Kconfig

2012-10-26 Thread richard -rw- weinberger
On Fri, Oct 26, 2012 at 3:56 PM, Toralf Förster toralf.foers...@gmx.de wrote: otherwise booting an EXT4 image won't work b/c the root fs can't be mounted read-write - and as a side effect no syslog messages points the user to this issue (at least in my setup) ... :-/ Why is this an UML issue?

Re: [uml-user] Recent SKAS3 patches

2012-10-29 Thread richard -rw- weinberger
On Mon, Oct 29, 2012 at 11:12 AM, Stelios M. steli...@gmail.com wrote: Hello all. I'm trying to locate recent version on SKAS3 patches. Is the SKAS3 functionality integrated into the mainline as SKAS0? Yes. SKAS0 does mostly what SKAS3 did without the need of a patched host kernel. --

Re: [uml-user] Recent SKAS3 patches

2012-10-29 Thread richard -rw- weinberger
On Mon, Oct 29, 2012 at 11:22 AM, Stelios M. steli...@gmail.com wrote: Hello Richard. SKAS0 has the same performance as SKAS3 as well? Mostly. SASK0 has no support for /proc/mm. -- Thanks, //richard -- The Windows 8

Re: [uml-user] v3.8-6988-g9e2d59a compile error

2013-02-24 Thread richard -rw- weinberger
On Sun, Feb 24, 2013 at 12:03 PM, Toralf Förster toralf.foers...@gmx.de wrote: Moin, got this wit the attached .config : ... CC kernel/mutex.o CC kernel/hrtimer.o kernel/mutex.c:34:37: error: include/asm-generic/mutex-null.h: Input/output error The compiler got -EIO while

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-05 Thread richard -rw- weinberger
On Tue, Mar 5, 2013 at 4:33 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/05/2013 01:51 AM, Pierluigi Rolando wrote: I think what's going on here is that UML gets a signal it can't handle when you resize. Yes - something _is_ wrong with the signal handling, but my command line

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-05 Thread richard -rw- weinberger
On Tue, Mar 5, 2013 at 6:57 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/05/2013 06:30 PM, richard -rw- weinberger wrote: On Tue, Mar 5, 2013 at 4:33 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/05/2013 01:51 AM, Pierluigi Rolando wrote: I think what's going on here

Re: [uml-user] Not possible to insmod kernel modules when MEM 450MB

2013-03-06 Thread richard -rw- weinberger
On Wed, Jan 23, 2013 at 4:11 PM, Lars-Göran Nordh lars-goran.no...@ericsson.com wrote: Hello, I have built a couple of kernel modules and successfully loaded them using modprobe. Since I needed more memory i changed MEM=1024MB to the kernel start line. The module that earlier was loaded

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-06 Thread richard -rw- weinberger
On Wed, Mar 6, 2013 at 7:10 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/06/2013 12:32 AM, richard -rw- weinberger wrote: What is your console? I suspect it is not stdio_console. I tried both with con=pts con0=fd:0,fd:1 as well as without specifying console/tty at the command line

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-06 Thread richard -rw- weinberger
On Wed, Mar 6, 2013 at 7:24 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: On Wed, Mar 6, 2013 at 7:10 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/06/2013 12:32 AM, richard -rw- weinberger wrote: What is your console? I suspect it is not stdio_console. I tried both

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-07 Thread richard -rw- weinberger
On Thu, Mar 7, 2013 at 5:11 PM, Toralf Förster toralf.foers...@gmx.de wrote: issue is fixed here too - thx. FWIW something like con=pts con0=fd:0,fd:1 is now mandatory, otherwise an xterm is open and user root can login, but I experienced strange things with my Gentoo : So, xterm is broken

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-08 Thread richard -rw- weinberger
On Thu, Mar 7, 2013 at 6:28 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/07/2013 05:34 PM, richard -rw- weinberger wrote: So, xterm is broken in 3.9-rc1? Please bisect it. Cannot be reproduced under host kernel 3.7.10, and host kernel 3.8.2 suffers from a complete hang

Re: [uml-user] resizing a KDE Konsole let a UML instance crash

2013-03-11 Thread richard -rw- weinberger
On Thu, Mar 7, 2013 at 6:28 PM, Toralf Förster toralf.foers...@gmx.de wrote: 2013-03-07T18:23:59.185+01:00 n22stab4 kernel: WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() 2013-03-07T18:23:59.185+01:00 n22stab4 kernel: tty is NULL 2013-03-07T18:23:59.185+01:00 n22stab4

Re: [uml-user] does running trinity within a user mode linux makes sense

2013-03-11 Thread richard -rw- weinberger
On Mon, Mar 11, 2013 at 7:01 PM, Toralf Förster toralf.foers...@gmx.de wrote: On 03/10/2013 10:41 PM, Dave Jones wrote: On Sun, Mar 10, 2013 at 10:25:01PM +0100, Toralf Förster wrote: ? It would need to be ported due to the different syscall table. I wrote aobut this being fairly easy

Re: [uml-user] SLAB + UML : WARNING: at mm/page_alloc.c:2386

2013-03-14 Thread richard -rw- weinberger
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster toralf.foers...@gmx.de wrote: The following WARNING: can be triggered sometimes with trinity [1] under a user mode linux image using the SLUB allocator (and not with SLAB) 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here

Re: [uml-user] SLAB + UML : WARNING: at mm/page_alloc.c:2386

2013-03-14 Thread richard -rw- weinberger
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster toralf.foers...@gmx.de wrote: The following WARNING: can be triggered sometimes with trinity [1] under a user mode linux image using the SLUB allocator (and not with SLAB) 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here

  1   2   3   >