Re: linux-2.4.12 breaks debian install disks

From: Paul Mackerras (
Date: Fri Oct 12 2001 - 00:48:54 EST

Gerhard Mack writes:

> When trying to load a reiserfs enabled boot disk on a Dell PowerEdge
> I get:
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeimg unused kernel memory: 192k freed
> (hangs here)
> The problem appears on 2.4.11-pre6 and 2.4.12 but 2.4.9 was fine.
> This problem appears both whith and without the Dell AACraid patches.

This could be the same problem that I reported some time ago, where if
you send a signal to the init process while it is running /linuxrc,
the system will hang. In my case the problem was with this code in
prepare_namespace() in init/main.c:

        pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
        if (pid>0)
                while (pid != wait(&i));

If a signal becomes pending, the wait will not block, but the signal
never gets delivered because the process is still running inside the
kernel (signals only get delivered on the exit from kernel to user

One solution would be to change it to something like this (caution,
completely untested):

        pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
        if (pid > 0) {
                while (pid != wait(&i)) {
                        if (signal_pending(current)) {

Another alternative would be to block signals like request_module() in
kernel/kmod.c does.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:43 EST