Patch that reproduces the crash I see with fuse
- Subject: Patch that reproduces the crash I see with fuse
- From: hramrach at centrum.cz (Michal Suchanek)
- Date: Wed, 28 May 2008 17:31:31 +0200
- Message-id: <[🔎] a5d587fb0805280831h13748e8eob222d76eaf5619e2@mail.gmail.com>
- In-reply-to: <a5d587fb0802050613wc69a83u2507bf960e9dc717@mail.gmail.com>
- References: <a5d587fb0802050613wc69a83u2507bf960e9dc717@mail.gmail.com>
On 05/02/2008, Michal Suchanek <hramrach at centrum.cz> wrote:
> Hello
>
> I tried to patch the live script to use the toram code for wget fetch.
> The original reason was that on some boards toram works but fetch
> panics. However, the patch reproduces the panic I see when using fuse
> filesystems with d-l.
>
> The kernel panics about the time it is supposed to switch to the
> normal init with messeges saying something like:
>
> run-init: nuking initramfs: directory not empty
> kernel panic - attempt to kill init
>
> You have to include the wget binary as /bin/wget in the initramfs for
> this patch to "work".
>
> Also attaching the patch to show live script messages and the
> initramfs hook to include wget.
>
Forget this,
This is a design flaw in libklibc's run-init. It requires that
non-removable files or directories are only in / (root) otherwise its
nuke recursion breaks and kills run-init which runs with pid 1.
The result is the observed panic.
The other panic on certain boards went away around the time I upgraded
to kernel 2.6.24.
Thanks
Michal
Reply to: