Re: *Still* getting X server hangs under 2.2.x

Nicholas R LeRoy (nick.leroy@norland.com)
Mon, 25 Oct 1999 10:34:44 -0500


Mike...

On Oct 19, 5:20am, Mike Galbraith wrote:

> We found a problem with soft-lockup detection. A small but critical
> bit fell on the floor at some point in time :*/ Please apply the
> below patchlet. The oopsen you've received to date have been flawed
> because of this missing bit.
>
> --- linux-2.2.12.ikd7/kernel/sched.c.org Tue Oct 19 05:08:18 1999
> +++ linux-2.2.12.ikd7/kernel/sched.c Tue Oct 19 05:11:34 1999
> @@ -826,6 +826,9 @@
>
> kstat.context_swtch++;
> get_mmu_context(next);
> +#ifdef CONFIG_DEBUG_SOFTLOCKUP
> + prev->deadlock_count=CONFIG_SOFTLOCKUP_THRESHOLD;
> +#endif
> switch_to(prev, next, prev);
> __schedule_tail(prev);
>

I applied this patch this weekend, and, wholla (how the hell is this
"word" supposed to be spelled?), I've been running an 2.2.13pre15+ikd
with SOFTLOCKUP enabled for over 2 days now. Looks like that fixes
the SOFTLOCKUP stability problems, at least as far as I can tell.
I'll run it for a few more days before booting up 2.2.13 to test that.
Good job!

BYW, the latest IKD patch does not apply cleanly to 2.2.13 -- is there
an ikd patch that does? I didn't take the time to find out exactly
what was the problem, though -- I was in too much of a hurry at the
time. Also, is there an "official" ikd patch that incorporates the
above patch? I can't seem to get to 'e-mind.com' to check, but it's
not out on andrea's page on SuSE.

That's it for now.

-Nick

-- 
+-------------------------------+--------------------------------------------+
| /`--_   Nicholas R LeRoy      | In a world without fences, Who needs Gates?|
|{     }/ Norland Corporation   |        ---- Experience Linux! ----         |
| \ *  / W6340 Hackbarth Rd     | http://www.linux.org | http://www.ssc.com  |
| |___| Fort Atkinson, WI 53538 +--------------------------------------------+
|      nick.leroy@norland.com   | #include <disclaimer.h>                    |
|http://www3.norland.com/~nleroy| These are my own ideas, not my employer's. |
+----------------------------------------------------------------------------+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/