[lkml]   [2001]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-2.4.12 breaks debian install disks
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

 \ /
  Last update: 2005-03-22 13:08    [W:0.023 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site