init=/bin/bash

Kacper Kornet kornet at camk.edu.pl
Sun Apr 10 13:33:45 CEST 2005


On Sun, Apr 10, 2005 at 12:20:21AM +0200, Jakub Bogusz wrote:
> On Sat, Apr 09, 2005 at 08:47:27PM +0200, Kacper Kornet wrote:
> > When I run my kernel 2.4.29 with the parameter init=/bin/bash, bash hangs
> > after executing of the first command. I think, that problem is the presence
> > of WCONTINUED in the arguments of waitpid in function waitchld. The patch
> > bash-WCONTINUED.patch is supposed to correct it but does not work in this
> > situation (I don't  know why). I have mananged to correct this problem with
> > the following patch:
> 
> Which version?

bash-2.05b-17

> bash 3 on HEAD and (IIRC) bash 2 on AC-branch are patched with
> bash-WCONTINUED.patch, which causes reverting to old behaviour if
> WCONTINUED is not supported by kernel.

And in general this patch helps. Only when I run the kernel with
init=/bin/bash, bash hangs after the first command. I tried to debug the
problem a littile, and for met it looks that bash is waiting for end of
waitpid()


-- 
  Kacper 




More information about the pld-devel-en mailing list