Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Miklos Szeredi
> On Wed, Nov 14, 2007 at 04:26:11PM +0100, Miklos Szeredi wrote: > > This one fixed the EINVAL messages, and now UML boots, but consumes > > 100% CPU constantly. > > Can you disable NO_HZ and try the patch below, which WorksForMe (TM)? Yes, it fixes the busy looping for me as well. Thanks! The

Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 04:26:11PM +0100, Miklos Szeredi wrote: > This one fixed the EINVAL messages, and now UML boots, but consumes > 100% CPU constantly. Can you disable NO_HZ and try the patch below, which WorksForMe (TM)? Jeff -- Work email - jdike at linux

Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > nanosleep({0, 0}, {0, 0}) = 0 > gettimeofday({1195075504, 182333}, NULL) = 0 > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, > {it_interval={0, 0}, it_value={0, 0}}) = 0 > nanosleep({0, 0}, {0, 0})

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > nanosleep({0, 0}, {0, 0}) = 0 > gettimeofday({1195075504, 182333}, NULL) = 0 > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, > {it_interval={0, 0}, it_value={0, 0}}) = 0 > nanosleep({0, 0}, {0, 0})

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-23 Thread WANG Cong
On Fri, Nov 23, 2007 at 11:54:41AM +0100, Jiri Olsa wrote: >Hi, > >after applying following changes, the mainline is working for me. > Hi, I have already mentioned this. Follow this link[1]. ;^) [1] http://lkml.org/lkml/2007/11/20/10 - To unsubscribe from this list: send the line "unsubscribe l

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-23 Thread Jiri Olsa
Hi, after applying following changes, the mainline is working for me. Jiri Olsa diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386 index e0ac74e..234fcb4 100644 --- a/arch/um/Kconfig.i386 +++ b/arch/um/Kconfig.i386 @@ -8,6 +8,13 @@ config UML_X86 bool default y +config X

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-23 Thread Karol Swietlicki
On 23/11/2007, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Thu, Nov 22, 2007 at 07:08:47PM +0100, Miklos Szeredi wrote: > > Thanks. My other problem is (probably you are aware) that recent -mm > > kernels don't compile for UML. > > The patch below fixes the build for rc3-mm1 for me. > >

Re: uml doesn't work on 2.6.24-rc2

2007-11-23 Thread Miklos Szeredi
> On Thu, Nov 22, 2007 at 07:08:47PM +0100, Miklos Szeredi wrote: > > Thanks. My other problem is (probably you are aware) that recent -mm > > kernels don't compile for UML. > > The patch below fixes the build for rc3-mm1 for me. Yeah, I got as far as that (sorry about the incomplete report), bu

Re: uml doesn't work on 2.6.24-rc2

2007-11-22 Thread Jeff Dike
On Thu, Nov 22, 2007 at 07:08:47PM +0100, Miklos Szeredi wrote: > Thanks. My other problem is (probably you are aware) that recent -mm > kernels don't compile for UML. The patch below fixes the build for rc3-mm1 for me. Jeff -- Work email - jdike at linux dot in

Re: uml doesn't work on 2.6.24-rc2

2007-11-22 Thread Miklos Szeredi
> On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > > Config attached. > > Thanks - this reproduces it for me. > > BTW, you can work around this by enabling NO_HZ. Thanks. My other problem is (probably you are aware) that recent -mm kernels don't compile for UML. Miklos - To un

Re: uml doesn't work on 2.6.24-rc2

2007-11-16 Thread Jeff Dike
On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > Config attached. Thanks - this reproduces it for me. BTW, you can work around this by enabling NO_HZ. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send th

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Miklos Szeredi
> > This one fixed the EINVAL messages, and now UML boots, but consumes > > 100% CPU constantly. > > Can you strace it and see if you are seeing zero-length nanosleeps, > and then send me your config file? I've had one other report of this, > but haven't reproduced it here. Yes: nanosleep({0, 0

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
On Wed, Nov 14, 2007 at 04:26:11PM +0100, Miklos Szeredi wrote: > This one fixed the EINVAL messages, and now UML boots, but consumes > 100% CPU constantly. Can you strace it and see if you are seeing zero-length nanosleeps, and then send me your config file? I've had one other report of this, bu

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Miklos Szeredi
> > Note, this is 32bit UML on 64bit host, to complicate matters. So I > > think it's not PTRACE_ARCH_PRCTL, but PTRACE_SET_THREAD_AREA. > > Oh, that changes things. In this case, I believe this problem is fixed > by fd181c72a3c202a3986bcee7551c0838265aec2a. This one fixed the EINVAL messages,

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
On Wed, Nov 14, 2007 at 11:35:56AM +0100, Miklos Szeredi wrote: > Note, this is 32bit UML on 64bit host, to complicate matters. So I > think it's not PTRACE_ARCH_PRCTL, but PTRACE_SET_THREAD_AREA. Oh, that changes things. In this case, I believe this problem is fixed by fd181c72a3c202a3986bcee75

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Miklos Szeredi
> On Wed, Nov 14, 2007 at 12:32:43AM +0100, Miklos Szeredi wrote: > > UML doesn't run on 2.6.24-rc2 as host (config attached). Guest is > > 2.6.23-mm1, but I guess it's irrelevant. 2.6.23 as host was OK. > > > > When booting there are zillions of lines like this: > > > > "arch_switch_tls failed

Re: uml doesn't work on 2.6.24-rc2

2007-11-13 Thread Jeff Dike
On Wed, Nov 14, 2007 at 12:32:43AM +0100, Miklos Szeredi wrote: > UML doesn't run on 2.6.24-rc2 as host (config attached). Guest is > 2.6.23-mm1, but I guess it's irrelevant. 2.6.23 as host was OK. > > When booting there are zillions of lines like this: > > "arch_switch_tls failed, errno = EINV

uml doesn't work on 2.6.24-rc2

2007-11-13 Thread Miklos Szeredi
UML doesn't run on 2.6.24-rc2 as host (config attached). Guest is 2.6.23-mm1, but I guess it's irrelevant. 2.6.23 as host was OK. When booting there are zillions of lines like this: "arch_switch_tls failed, errno = EINVAL" then it finally fails with: "BUG: spinlock cpu recursion on CPU#0, sys