Messages in this thread |  | | From | "David S. Miller" <> | Date | Mon, 2 Jul 2001 01:48:16 -0700 (PDT) |
| |
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/
|  |