X11R3 fails on Sun386i, mmap: no such address or device
Brad Clements
bkc at sun.soe.clarkson.edu
Tue Feb 14 05:32:35 AEST 1989
Hi,
I'm trying to get X11R3 to run under Sun OS 4.0.1 on a Sun 386i w/
standard monochrome monitor. The Xsun server fails with
mapping BW2 : No such address or Device
Suntools works fine, and the system startup reports
bwtwo0: resolution 1024 x 768
Apparently the mmap call in server/ddx/sun/sunBW2.c fails
The documentation in the sun manual about mmap says that either the fd
doesn't refer to a mappable device (but it really does) or the MAP_REMAP
option was specified and the device doesn't support it. (MAP_REMAP isn't
specified, but _MAP_NEW is)
The only thing I can think of is that the len parameter is the wrong size
in the mmap call. In /usr/include/sundev/bw2reg.h the frame buffer size
appears to be mapped as BW2_FBSIZE_HIRES even though it really isn't a
hires device.
Has anyone gotten this to work under sun386i and how did you do it?
Thanks
Brad Clements
Network Engineer
Clarkson University
More information about the Comp.sys.sun
mailing list