Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!bkc From: bkc@sun.soe.clarkson.edu (Brad Clements) Newsgroups: comp.windows.x Subject: Re: X11R3, sun386 & 15"mono display Message-ID: <2560@sun.soe.clarkson.edu> Date: 27 Feb 89 17:59:28 GMT References: <921@nih-csl.UUCP> Sender: bkc@sun.soe.clarkson.edu Lines: 32 From article <921@nih-csl.UUCP>, by jip@nih-csl.UUCP (john powell): > Scenerio .... Sun 386i running SunOS4.0.1 with the 15" Monochrome display > Video display (501-1443-01). On boot, indicates: > > > mapping BW2: No such device or address > > Fatal server bug! > Can't find any displays I wrote to this list several weeks ago complaining of the same problem. No one was able to help me so I fixed it myself as follows: In ../server/ddx/sun/sunBW2.c in routine sunBW2Probe() the second mmap call (for non-hires) uses sizeof(BW2Rec). This value is incorrect as it corresponds to the size of a 19" 1152 x 900 display. I replaced sizeof(BW2Rec) with fbType.fb_size (which is the actual size of the frame buffer as determined by the preceeding sunOpenFrameBuffer() call. works great now. Of course, what I'd really like is to be able to run MSDOS under X windows... Second to that I'd like to be able to switch between Sunview and Xwindows quickly. Brad Clements Network Engineer Clarkson University