Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.bugs.4bsd Subject: Re: setrq panic Message-ID: <1749@umcp-cs.UUCP> Date: Thu, 3-Oct-85 21:41:54 EDT Article-I.D.: umcp-cs.1749 Posted: Thu Oct 3 21:41:54 1985 Date-Received: Thu, 10-Oct-85 05:39:58 EDT References: <102@ascvax.UUCP> Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 24 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@umcp-cs ARPA: chris@mimsy.umd.edu