[comp.windows.x] X11R3, sun386 & 15"mono display

jip@nih-csl.UUCP (john powell) (02/25/89)

Scenerio .... Sun 386i running SunOS4.0.1 with the 15" Monochrome display
Video display (501-1443-01).  On boot, indicates:

bwtwo0 at obmem 0xa0200000 <6>
bwtwo0: resolution 1024 x 768

There is no /dev/cg* 

Trying to run X11R3 thru patch level 3 (NOTE: the X11 code is NFS mounted
and the same code is running fine on sun386i color and 386i 19" Mono
systems)  with /dev/bwtwo0 we get:

mapping BW2: No such device or address

Fatal server bug!
Can't find any displays
 

If we remove /dev/bwtwo0 we just get


Fatal server bug!
Can't find any displays

Question - Are we doing anything wrong, or do we have a problem with out
sun386i?   (NOTE: All else seems to run fine, ie it works Ok with SUNVIEW, but
if we run the hardaware diagnostics it says there is no video display 
installed.  This is a different video display part number than the one
with the 19" monochrome unit.)



				John Powell (301) 496-2963
				National Institutes of Health
				DCRT, CSL
				Bldg. 12-A, Rm 2031
				Bethesda, Md. 20892

	uucp -			uunet!nih-csl!jip
	Internet -		jip@alw.nih.gov

bkc@sun.soe.clarkson.edu (Brad Clements) (02/28/89)

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