lkml.org 
[lkml]   [2001]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date

Paul Mackerras writes:
> What was happening was rather interesting. The init process was stuck
> inside prepare_namespace(), in the while loop here (this is lines 749
> - 751 of init/main.c):
>
> pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
> if (pid>0)
> while (pid != wait(&i));
>
...
[ no signal delivery due to returning to kernel space, blah blah blah
:-) ]

For 2.4.x I'd just check for sigpending in this wait loop.

Longer term (ie. 2.5.x and onward) we should look into ideas like those
mentioned by Ben. I for one would not complain about seeing dhcp
getting removed from the kernel :-)

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [from the cache]
©2003-2011 Jasper Spaans