DragonFly BSD
DragonFly bugs List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Re2: panic: cpu_switch: not SRUN


From: "David P. Reese, Jr." <daver@xxxxxxxxxxxx>
Date: Tue, 16 Sep 2003 00:44:50 -0700

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.
> 						-Matt

I'm a good way through buildworld with the patch.  Looks like this solves
the problem.  Thanks!

-- 
   David P. Reese, Jr.                                     daver@xxxxxxxxxxxx
                                               http://www.gomerbud.com/daver/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]