This is a question for anyone who knows anything about the SPARC port
:-) I compiled and configured v4.3.0 under Solaris 8/gcc 3.2.2 for a
SS-20 with an SX/CG14 fb, but kept receiving AddScreen/ScreenInit failed
for driver 0.
This inspired me to put some debugging messages in 
/usr/src/xc/programs/Xserver/hw/xfree86/drivers/suncg14/cg14_driver.c
before all the places where it can "return FALSE".
Consequently, I found that it dies when it is trying
to map the XLUT region of memory:

pCg14->xlut = xf86MapSbusMem (pCg14->psdp, CG14_XLUT_VOFF, 4096);

then I check all the pointers and write a message using xf86DrvMsg():
if (!pCg14->fb) xf86DrvMsg(pScrn->scrnIndex,X_WARNING,"pCg14->fb null");
if (!pCg14->x32) xf86DrvMsg(pScrn->scrnIndex,X_WARNING,"pCg14->x32
null");
if (!pCg14->xlut) xf86DrvMsg(pScrn->scrnIndex,X_WARNING,"pCg14->xlut
null");

In my output logfile, I see the message "xlut null" before the
inevitable failure. I have tried to get in contact with Dave Miller or
Jakub at RedHat, but they have not responded. Just throwing it out there
in case someone knows, because Sun's X server just blows. :-(

-- 
Mike Russo <[EMAIL PROTECTED]>
ReadQ Systems, Inc.

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to