[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch that reproduces the crash I see with fuse



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: