Subject: Does Xsun24 work?
To: None <port-sparc@netbsd.org>
From: David C. Myers <myers@iname.com>
List: port-sparc
Date: 01/02/2000 10:49:16
Can anyone tell me if the Xsun24 binary shipped with NetBSD (1.4M)
actually works?  It just SIGSEGVs on me:

   196 Xsun24   "/dev/bwtwo1"                      Err#2 ENOENT
   196 Xsun24   "/dev/bwtwo2"                      Err#2 ENOENT
   196 Xsun24   "/dev/cgeight0"                    Err#2 ENOENT
   196 Xsun24   "/dev/fb"                          = 0
   196 Xsun24   open("/dev/fb", 0x2, 0)            = 6
,_IOW('F',0x6,0x58)   196 Xsun24   ioctl(0x6, 0x250100)               =
0
   196 Xsun24   __sysctl(0xeffff688, 0x2, 0x102ea500, 0xeffff684, 0, 0)
= 0
   196 Xsun24   mmap(0, 0, 0x3, 0x1, 0x6, 0, 0, 0) = 270401536
SIGSEGV SIG_DFL
   196 Xsun24   

I'm attempting to use it to drive my Parallax 24-bit dumb framebuffer
through the 'pllx' driver I've written (see a previous message), but
note that the SIGSEGV event is not associated with my driver code, as
far as I can tell.  Debug printf's show my driver's open, ioctl
(FBIOGATTR), and close routines being called, then the seg fault occurs.

Even just running Xsun24 -fbinfo produces:

   /dev/fb is really a MEMCOLOR    (cg8)
   Segmentation fault

Any information greatly appreciated.  I'm rebuilding from the 'xsrc'
tarball right now, just in case...

-David.