DragonFly bugs List (threaded) for 2003-09
Re: Re2: panic: cpu_switch: not SRUN
On Mon, Sep 15, 2003 at 07:34:18PM -0700, Matthew Dillon wrote:
> :I've been getting these panics under moderate load,
> :panic: cpu_switch: not SRUN
> : David P. Reese, Jr. daver@xxxxxxxxxxxx
> Here. Before you waste time trying to get a core dump, please try this
> patch. I believe what is happening is that a user program is calling
> exit1() and an interrupt is preempting it just after exit1() sets
> p_stat to SZOMB. This is perfectly legal to do and the DIAGNOSTIC code
> is improperly panicing.
> That's my guess, anyway. If the patch solves the problem then we will
> know that is what it was.
I'm a good way through buildworld with the patch. Looks like this solves
the problem. Thanks!
David P. Reese, Jr. daver@xxxxxxxxxxxx