Re: uml doesn't work on 2.6.24-rc2

Miklos Szeredi
2007-11-14T10:36:20Z

> 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 = EINVAL"
>
> This is PTRACE_ARCH_PRCTL failing and the only EINVAL I see is
> do_arch_prctl getting a bogus operation - something other than
> ARCH_[GS]ET_[FG]S, which is strange because UML never would have
> worked if it were passing in bogus arguments.

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.

Maybe this is a fallout from the x86 architecture merge?

Tglx and mingo cc-d.

Miklos