panic: cpu_switch: not SRUN

Matthew Dillon dillon at
Mon Sep 15 19:11:05 PDT 2003

    Interesting.   It looks like it is preempting a thread which has just
    begun to exit.  Can you get a kernel core (and kernel.debug) out of it?
    It ought to be easy to track down.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

:I've been getting these panics under moderate load,
:panic: cpu_switch: not SRUN
:Stopped at      Debugger+0x34:  movb    $0,in_Debugger.330
:db> tr
:Debugger(c02ba7ed) at Debugger+0x34
:panic(c0292d84,c018470e,c0318fa8,c6b97b80,c0318fa8) at panic+0x8b
:sw0_2(0,e,c763ed84,c016da18,e) at sw0_2
:ithread_done(e) at ithread_done+0x65
:ithread_handler(e,0,0,0,0) at ithread_handler+0x8c
:kthread_exit() at kthread_exit
:This is on an MP board that is running with a UP kernel.
:   David P. Reese, Jr.                                     daver at xxxxxxxxxxxx

More information about the Bugs mailing list