Messages in this thread |  | | Date | Tue, 5 Dec 2000 20:42:15 +0100 | From | Frank van Maarseveen <> | Subject | Re: 2.4.0-test11: kernel: waitpid(823) failed, -512 |
| |
On Tue, Dec 05, 2000 at 12:47:03PM +1100, Andrew Morton wrote: > tytso@mit.edu wrote: > > > > On Sun, Dec 03, 2000 at 11:36:11PM +0100, Frank van Maarseveen wrote: > > > While playing with routing (zebra) and PPP I regularly see this > > > message appearing. It always happens when pppd terminates a connection, > > > e.g: > > > Dec 3 23:09:08 mimas kernel: waitpid(823) failed, -512 > > > > This means a system call returned with an error code of -ERESTARTSYS > > when a signal wasn't pending; this is a kernel bug. > > > > However, I've looked at the code to sys_wait4 (which implements > > waitpid), and I can't see where this might happen. Just before > > end_wait4, it does do something potentially dangerous in that it > > leaves retval set to -ERESTARTSYS, but in all of the code paths I can > > see, retval gets reset before it exits. The only thing I can think of > > is a compiler bug; what version of gcc are you using?
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release), from RH6.1
> > > > Puzzled > > Ted, > > it's caused by exec_usermodehelper().
I'm using modules as much as possible (for the fun of it). something (zebra?) often tries to load net-pf-10 which I believe is ipv6. Not configured however.
I'll try the patch.
-- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |