Re: what's parisc execve_wrapper doing in the end?

Al Viro
2012-10-10T04:26:21Z

On Tue, Oct 09, 2012 at 10:55:21AM +0100, James Bottomley wrote:
> On Mon, 2012-10-08 at 12:28 +0100, James Bottomley wrote:
> > Even with the patch applied, it's hanging on boot around the first
> > kthread spawns. I'm investigating.
>
> Actually an obvious fix: you can't set up ksp and then zero the
> registers.
>
> I note that the stack frame you're creating is too big since
> THREAD_SZ_ALGN includes space for a stack frame by design so adding
> another one is redundant. However, this confusion seems to permeate the
> syscall code as well, so perhaps fixing it up later is better.
>
> With this patch applied, I can now boot up successfully to a login
> prompt.

Thanks. Folded and pushed with the rebase - it's in experimental-kernel_thread
pushed right now. Should propagate to git.kernel.org shortly...