setrq panic

Chris Torek chris at umcp-cs.UUCP
Fri Oct 4 11:41:54 AEST 1985


I cannot guess the cause of your setrq panic; but you can prevent
the secondary panic and subsequent update failure by altering the
sleep code.  Add the "if (panicstr) {" ... "}" part:

sleep(chan, pri)
	...
	s = spl6();
	if (panicstr) {
		/*
		 * Let interrupts in for a moment, then just return.
		 * The splnet() really ought to be spl0(), but I'm
		 * too timid to do that.
		 */
		(void) splnet();
		splx(s);
		return;
	}
	if (chan == 0 || rp->p_stat != SRUN || rp->p_rlink)
		panic("sleep");
	...
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.bugs.4bsd.ucb-fixes mailing list