Re: [uml-devel] [PATCH 2/2] um: Disable CONFIG_CMPXCHG_LOCAL

2011-04-13 Thread Pekka Enberg
d introduce > too much complexity. So just disable it. > > LKML-Reference: <20110412192014.gf16...@mtj.dyndns.org> > Reported-by: Sergei Trofimovich > Signed-off-by: Richard Weinberger Acked-by: Pekka Enberg

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Pekka Enberg
On Tue, Apr 12, 2011 at 08:41:11PM +0200, Richard Weinberger wrote: >> Am Dienstag 12 April 2011, 20:10:37 schrieb Christoph Lameter: >> > On Tue, 12 Apr 2011, Richard Weinberger wrote: >> > > This patch implements this_cpu_cmpxchg16b_emu() for UML. >> > >> > Is this really necessary? Just undefine

Re: [uml-devel] [PATCH 1/1] um: fix global timer issue when using CONFIG_NO_HZ

2010-10-20 Thread Pekka Enberg
On Sun, Oct 17, 2010 at 10:23 PM, Pekka Enberg wrote: > On 16.10.2010 18.23, Richard Weinberger wrote: >> >> This fixes a issue which was introduced by fe2cc53e. >> timeval_to_ns() returns long long and not int. >> Due to that UML's timer did not work proper and

Re: [uml-devel] [PATCH 1/1] um: fix global timer issue when using CONFIG_NO_HZ

2010-10-17 Thread Pekka Enberg
, max = UM_NSEC_PER_SEC / UM_HZ; > > if (setitimer(ITIMER_VIRTUAL,&time,&time)< 0) > printk(UM_KERN_ERR "disable_timer - setitimer failed, " Acked-by: Pekka Enberg

Re: [uml-devel] [REGRESSION] um: rcu_sched_state detected stall on CPU 0

2010-10-15 Thread Pekka Enberg
housekeeping timer into a deferable timer, >>>     which means that the timer does not interrupt idle, but just runs >>>     at the next event that wakes the cpu up. >>> >>>     The impact is that the timer likely runs a bit later, but during the >>>     d

Re: [uml-devel] [PATCH][UML] Boot broken due to buffer overrun

2008-11-29 Thread Pekka Enberg
Maybe mention that ->sun_path in struct sockaddr_un is UNIX_PATH_MAX long which causes the problem? > Reported-by: Vikas K Managutte <[EMAIL PROTECTED]> > Reported-by: Sarvesh Kumar Lal Das <[EMAIL PROTECTED]> > Signed-off-by: Balbir Singh <[EMAIL PROTECTED]>

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-04 Thread Pekka Enberg
Hi Steve, On Wed, Sep 3, 2008 at 6:42 PM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: > But which bits of a slab object should be marked as initialized at > kmem_cache_alloc() time? We can't mark all of them as initialized > because the constructor may not initialize all of them (in fact, I've >

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Pekka Enberg
On Wed, Sep 3, 2008 at 12:27 PM, Pekka Enberg <[EMAIL PROTECTED]> wrote: > On Wed, Sep 3, 2008 at 8:08 AM, Steve VanDeBogart > <[EMAIL PROTECTED]> wrote: >> Ideally, we'd tell Valgrind that the bytes of a free'd slab object are >> no longer accessible, but

Re: [uml-devel] [PATCH 4/6] VM: Annotate pagealloc

2008-09-03 Thread Pekka Enberg
Hi Steve, On Wed, Sep 3, 2008 at 8:25 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: >>> Index: linux-2.6.27-rc5/mm/page_alloc.c >>> @@ -1080,6 +1081,7 @@ >>> if (!page) >>> goto failed; >>> } >>> + VALGRIND_MAKE_MEM_UNDEFINED(page_address(page), P

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Pekka Enberg
Hi Steve, On Wed, Sep 3, 2008 at 8:08 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: > Thank you for pointing out the location of the kmemcheck code. I looked > around briefly but didn't find the latest version. It does seem that > kmemcheck and Valgrind annotations want to live in the same pl

Re: [uml-devel] [PATCH 4/6] VM: Annotate pagealloc

2008-08-30 Thread Pekka Enberg
Hi Steve, On Sat, Aug 30, 2008 at 2:16 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: > Valgrind annotations for valgrind: memory is addressable once it's been > alloced, and unaddressable when it is freed again. Can't use malloc-like > and free-like because valgrind considers a malloc-like chu

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-08-30 Thread Pekka Enberg
Hi Steve, On Sat, Aug 30, 2008 at 2:17 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: > Valgrind annotations for the slab allocator: Malloc-like and free-like > for cache_alloc and free. Telling Valgrind a region is free-like clears > all the valid bits, so slabs with constructors need differe

Re: [uml-devel] UML hang with 100% CPU

2007-02-08 Thread Pekka Enberg
Hi, On Thu, Feb 08, 2007 at 07:46:47PM +0100, Miklos Szeredi wrote: > > It boots fine, then usually just after logging in and before starting > > the shell (but sometimes after the shell started) it gets into some > > loop. Looking at the strace shows that two processes are > > sending/receiving

Re: [uml-devel] [Fwd: Re: More uml build failures on 2.16.19-rc3 and 2.6.18.1]

2006-10-24 Thread Pekka Enberg
Hi, On 10/24/06, Mitch <[EMAIL PROTECTED]> wrote: > Yup, did do 'make mrproper'. config attached. Works for me. Perhaps the UML people can figure out what's going on. Pekka - Using Tomca

Re: [uml-devel] UML hangs after forking gettys

2006-07-27 Thread Pekka Enberg
On Thu, 2006-07-27 at 11:15 -0400, Jeff Dike wrote: > This makes me suspicious of the contents of your inittab. Generally, > if the getty lines refer to non-existent devices, this will happen. Aah, you're absolutely right. I was missing /dev/tty[1-6] device nodes. Thanks!

Re: [uml-devel] UML hangs after forking gettys

2006-07-22 Thread Pekka Enberg
Hi, On Sat, Jul 22, 2006 at 02:22:31PM +0300, Pekka Enberg wrote: > > This is a new installation for me, so anything I should check? On Sat, 2006-07-22 at 08:05 -0400, Jeff Dike wrote: > I.e. both a new kernel and new filesystem? If so, can you vary them > to see which is at fa

Re: [uml-devel] UML hangs after forking gettys

2006-07-22 Thread Pekka Enberg
Hi, On Sat, 2006-07-22 at 07:02 -0400, Jeff Dike wrote: > On Sat, Jul 22, 2006 at 11:46:37AM +0300, Pekka Enberg wrote: > > I have a problem with UML compiled from 2.6.18-rc2 git head. The kernel > > boots fine and starts up the userspace but hangs completely after > > forkin

Re: [uml-devel] UML hangs after forking gettys

2006-07-22 Thread Pekka Enberg
On Sat, Jul 22, 2006 at 11:46:37AM +0300, Pekka Enberg wrote: > > I have a problem with UML compiled from 2.6.18-rc2 git head. The kernel > > boots fine and starts up the userspace but hangs completely after > > forking gettys. I have port-helper in /usr/lib/uml but it doesn'

Re: [uml-devel] UML hangs after forking gettys

2006-07-22 Thread Pekka Enberg
On Sat, 2006-07-22 at 07:02 -0400, Jeff Dike wrote: > On Sat, Jul 22, 2006 at 11:46:37AM +0300, Pekka Enberg wrote: > > I have a problem with UML compiled from 2.6.18-rc2 git head. The kernel > > boots fine and starts up the userspace but hangs completely after > > forkin

[uml-devel] UML hangs after forking gettys

2006-07-22 Thread Pekka Enberg
Hi, I have a problem with UML compiled from 2.6.18-rc2 git head. The kernel boots fine and starts up the userspace but hangs completely after forking gettys. I have port-helper in /usr/lib/uml but it doesn't seem to start up. The host is Ubuntu Dapper Drake running on Intel Core Duo.

[uml-devel] [PROBLEM] uml refuses to boot

2006-01-25 Thread Pekka Enberg
Hi, UML in 2.6.16-rc1-git4 fails to boot a Debian 3.0r2 image. The same image works boots properly with 2.6.15. Here's the error: [EMAIL PROTECTED] ~/src/linux/2.6 $ ./linux ubd0=/home/penberg/virtualized/Debian-3.0r2.ext2 Checking that ptrace can change system call numbers...OK Checking syscall

[uml-devel] Re: Ho ho ho.. Linux 2.6.15-rc7

2005-12-27 Thread Pekka Enberg
On 12/25/05, Linus Torvalds <[EMAIL PROTECTED]> wrote: > Please do give it a try, and if you have any issues/regressions, send out > a note (even if you sent one earlier) so that we don't forget about it. Hmm. Somebody broke UML compile for my config again... CC arch/um/sys-i386/stub_segv.

[uml-devel] [PATCH] um: fix compile error for tt

2005-12-06 Thread Pekka Enberg
undeclared identifier is reported only once arch/um/kernel/tt/uaccess.c:11: error: for each function it appears in.) The error only happens when I disable CONFIG_MODE_SKAS. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- uaccess-tt.h |1 + 1 file changed, 1 insertion(+) Index: 2.6/a

[uml-devel] Re: [PATCH 2.6] 4/7 replace uml_strdup by kstrdup

2005-02-01 Thread Pekka Enberg
On Tue, 1 Feb 2005 03:28:31 +, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > diff -buprN -X dontdiff > vanilla-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c > linux-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c > --- vanilla-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_use