Re: [PATCH] Re: 8139too: defunct threads

Rod Stewart (stewart@dystopia.lab43.org)
Sun, 15 Apr 2001 01:08:13 -0400 (EDT)


On Sat, 14 Apr 2001, Manfred Spraul wrote:
> From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
> >
> > That has an implicit race, a zombie can always appear as we are
> execing init.
> > I think init wants fixing
> >
> Rod, could you boot again with the unpatched kernel and send a sigchild
> to init?
>
> #kill -CHLD 1
>
> If I understand the init code correctly the sigchild handler reaps all
> zombies, but probably the signal got lost because the children died
> before the parent was created ;-)

That doesn't 'fix' it. The thing I find funny is that it only appears
when IP_PNP is compiled in. It is as if the driver ends up in some weird
state when IP_PNP is used. According to ps, from my limited
understanding, the thread is stuck in do_exit

[root@stewart-nw34 /root]# ps elaxww|grep eth
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
044 0 7 1 9 0 0 0 do_exi Z ? 0:00 [eth0 <defunct>]
044 0 8 1 9 0 0 0 do_exi Z ? 0:00 [eth1 <defunct>]
044 0 9 1 9 0 0 0 do_exi Z ? 0:00 [eth2 <defunct>]
040 0 229 1 9 0 0 0 rtl813 SW ? 0:00 [eth1]

Thanks for helping with this,
-Rms

-
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/