Bug#333522: possible problem cause: wait4(-1)

2005-10-18 Thread Martin Wilck
Rusty Russell wrote: Martin Wilck <[EMAIL PROTECTED]> wrote: 0. the module loading tool runs during boot with PID 1. I do not understand how this can happen. request_module() cannot occur until usermodehelper_init() is called. This is only done once the init thread is spawned,

Bug#333522: possible problem cause: wait4(-1)

2005-10-13 Thread Martin Wilck
=> unresolved symbols Possible workarounds: a) check PID returned by wait4() and only continue if it matches the forked insmod's PID b) fork() right after tool startup so that the calling tool isn't running with PID 1. Could this be the problem cause here, too? Regar