Re: RE : RE : [Linux-decnet-user] X and Decnet Freeze
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Patrick C. <pa...@ty...> - 2003-09-05 10:41:31
|
On Fri, Sep 05, 2003 at 12:35:13PM +0200, BASSIR Mohcine wrote:
> Ok, if i think well, it seems the same freeze problem appear on the 2.5. So it is not a good solution for me to increase the 2.4 version to 2.5 with all the patchs.
>
> At this time i'm in locked state.
> Could you tell me the Patrick patch which reduces the number of hangs a lot ?
> Is it a patch to add to the last send by Patrick ?
>
> **************
> Last Patrick patch:
>
> --- net/decnet/af_decnet.c.old 2002-11-04 14:12:26.000000000 -0200
> +++ net/decnet/af_decnet.c 2002-11-04 12:45:24.000000000 -0200
> @@ -1771,7 +1771,7 @@
> goto out;
>
> if (signal_pending(current)) {
> - rv = -ERESTARTSYS;
> + rv = -EAGAIN;
> goto out;
> }
>
> @@ -1964,7 +1964,8 @@
> goto out;
>
> if (signal_pending(current)) {
> - err = -ERESTARTSYS;
> + /* VMH - testing X crash - printk("DECnet 6\n"); */
> + err = -EAGAIN;
> goto out;
> }
> ********************
That's the patch I'm using at the moment. The changes for 2.6 are similar (with
an additional one for dnetd).
With that in place I can run X sessions for several hours at a time but they
still can die. I haven't done any more investigation into this. I suppose what
needs doing is to strace the Xserver for a whole day, or until the problem
happens and then have a look at the last few (hundred!) lines.
patrick
|