Newsgroups: comp.unix.sysv386
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!ukma!usenet.ins.cwru.edu!eagle!mildred!mckim
From: mckim@mildred.lerc.nasa.gov (Jim McKim)
Subject: Re: Problem with X386
Message-ID: <1991Apr8.171722.23156@eagle.lerc.nasa.gov>
Keywords: X386, X11, Roell
Sender: news@eagle.lerc.nasa.gov
Reply-To: mckim@mildred.UUCP (Jim McKim)
Organization: NASA/Lewis Research Center, Cleveland
References: <378@alderan.uucp>
Date: Mon, 8 Apr 1991 17:17:22 GMT

In article <378@alderan.uucp> chris@alderan.uucp (Christoph Splittgerber) writes:
>After successfully starting up X386 for about 15 times
>the server reports:
>-------
>
>Fatal server bug!
>failed to add io-addr
>
>XIO:  fatal IO error 5 (I/O error) on X server "L	"
>      after 0 requests (0 known processed) with 0 events remaining.
>-------
>
>The only thing which helps is rebooting the system (ISC 2.0.2).
>After the reboot the server starts up fine for another 15 times
>and then reports the same error.

My creaky old version of unix does the same thing.  Short of rebooting
you will have to add a little patch to vga.c and rebuild X386.


diff -rc ./mit/server/ddx/at386/vga/vga.c.x ./mit/server/ddx/at386/vga/vga.c
*** ./mit/server/ddx/at386/vga/vga.c.x	Sun Mar 24 17:04:07 1991
--- ./mit/server/ddx/at386/vga/vga.c	Sun Mar 24 17:57:33 1991
***************
*** 307,312 ****
--- 307,313 ----
     * This ioctl call may fail on abnormal server abort ...
     * BUGALLERT: Make this also usable for SCO !!!
     */
+   ioctl(consoleFd, KDDELIO, 0x3BF);
    ioctl(consoleFd, KDUNMAPDISP, 0);
  #endif
    
***************
*** 368,374 ****
     * BUGALLERT: Make this also usable for SCO !!!
     */
    if (ioctl(consoleFd, KDADDIO, 0x3BF) < 0) {
!     FatalError ("failed to add io-addr\n");
    }
  
    vgaDSC.vaddr    = (char *)vgaBase;
--- 369,375 ----
     * BUGALLERT: Make this also usable for SCO !!!
     */
    if (ioctl(consoleFd, KDADDIO, 0x3BF) < 0) {
!     Error ("failed to add io-addr 0x%x\n", 0x3bf);
    }
  
    vgaDSC.vaddr    = (char *)vgaBase;

--
----------------					    unx hs its wk
Jim McKim  /  Internet: mckim@mildred.lerc.nasa.gov	    pts bt obts cmd
Phone: +1 216 891 2977  /  Packet: kb8dcr@kb8dcr.ampr.org   nms isnt 1 of thm
----------------
