[comp.unix.sysv386] Problem with X386

chris@alderan.uucp (Christoph Splittgerber) (04/06/91)

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.

Has anybody seen this before ?

 Thanks in advance,
                    Chris
-- 
************************ Brain fault (core dumped) *************************
Replies-To:  chris@alderan.uucp        UUCP: uunet!mcsun!unido!alderan!chris 
Phone:       +49 711 344375            Fax:  +49 711 3460684

mckim@mildred.lerc.nasa.gov (Jim McKim) (04/09/91)

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
----------------