From: Bernd Meyer (umisef@mcshh.Hanse.DE)
Date: 10/05/92


From: umisef@mcshh.Hanse.DE (Bernd Meyer)
Subject: X2.0, kernel 0.98 TCP problems
Date: 5 Oct 1992 22:33:57 GMT

When trying to compile and run xtrek on my linux system, I encountered
some strange problem.
First of all, I use X11V2.0beta, linux 0.98 with tcp compiled in,
and have grabbed the configuration files posted some days ago.
I then changed every "xavier" into "linux" (that's what my machine
is called), and now I can telnet to my own machine.
ftp connections get refused (any idea?), but in X, the
display option of most programs seems to work.
Only... something is going wrong. After several requests (actual
number depending on program, but reproducable), I get a message like this:
# xcalc -display linux:0
XIO: fatal IO error 22 (Invalid argument) on X server "linux:0.0"
      after 633 requests (620 known processed) with 0 events remaining.

This is definitly no error with xcalc, as
# xcalc -display unix:0
works fine.
Speaking of xtrek: it opens a window and draws
some details in it, and debugging gave me lots
of well-handled expose-events. The function
that gave the error was:

XPending(display),

with display at the value of 0x64000, which has worked several
times before.
Maybe it's of some interest that I took out the wd device
from the kernel (loopback's next_device entry is NULL).

Well, I don't have any idea what is responsible for this. TCP?
X? Maybe even the socket code? Any help would be extremly
welcome.

Thanks in advance,
     Bernie

umisef@mcshh.hanse.de