Problem with X386

Jim McKim mckim at mildred.lerc.nasa.gov
Tue Apr 9 03:17:22 AEST 1991


In article <378 at alderan.uucp> chris at 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 at mildred.lerc.nasa.gov	    pts bt obts cmd
Phone: +1 216 891 2977  /  Packet: kb8dcr at kb8dcr.ampr.org   nms isnt 1 of thm
----------------



More information about the Comp.unix.sysv386 mailing list