Darryl L. Miles schrieb:
The exact patch for kernel/module.c that was marked for 2.6.11-rcX hit general release in patch-2.6.12.
That explains a lot. Thanks for clarification : )
What $PID is bash running as ? Martin's comments on this are seem most relevant.The initramfs contains /init which is a shell script, while /bin/sh is bash. So I figure bash is running with PID 1, but I'll verify that by adding echo $$ to the init script.
Can you build your own (2 pages of code) init process, that does something along the lines ofI'm not (yet) too much into C programming, so I'm afraid I won't be able to do that. As this problem arises only due to my own early-userspace setup, I'd rather try using different shells for init-as-shell-script, and maybe do some not-so-clean hacks to get the bigger picture.* gracefully handles SIGCHLD * forks * executes bash * waits for bash to exit much like the patch doesSo bash is not running a pid 1. While nash is expected to run as init, bash is not, so fixing bash might also break it (its a complex beast).
As this is not a kernel issue, I'd rather take this one off LKML and write a success report once appropriate.
Thanks for your help to everyone involved : )
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: "Darryl L. Miles" <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: Andrew Morton <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: "Darryl L. Miles" <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: Christian Trefzer <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: Toon van der Pas <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: "Darryl L. Miles" <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: Christian Trefzer <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- From: "Darryl L. Miles" <[email protected]>
- Re: 2.6.12 initrd module loading seems parallel on bootup
- Prev by Date: Re: route reload after interface restart
- Next by Date: Re: [PATCH] Kprobes: Verify probepoint in register_jprobe()
- Previous by thread: Re: 2.6.12 initrd module loading seems parallel on bootup
- Next by thread: Re: 2.6.12 initrd module loading seems parallel on bootup
- Index(es):