[lkml]   [2001]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread

    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 :-)

    David S. Miller

    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 12:55    [W:0.021 / U:1.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site