Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: bkc@sun.soe.clarkson.edu (Brad Clements) Newsgroups: comp.sys.sun Subject: X11R3 fails on Sun386i, mmap: no such address or device Message-ID: <2417@sun.soe.clarkson.edu> Date: 13 Feb 89 19:32:35 GMT Sender: usenet@rice.edu Organization: Clarkson University, Potsdam, NY Lines: 29 Approved: Sun-Spots@rice.edu Original-Date: 2 Feb 89 20:53:03 GMT X-Sun-Spots-Digest: Volume 7, Issue 151, message 3 of 16 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