Bug 94886 - Cant install xorg/sparc64/Creator3D
Summary: Cant install xorg/sparc64/Creator3D
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: 5.5-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: lesi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 23:00 UTC by andrew
Modified: 2006-04-20 11:50 UTC (History)
0 users

See Also:


Attachments
xo-server-sunffb.patch (3.84 KB, patch)
2006-03-31 18:31 UTC, Dejan Lesjak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2006-03-23 23:00:29 UTC
Cannot do 
startx -configure 
(or use my own config file)
log shows
dlopen: /usr/X11R6/lib/modules/drivers/sunffb_drv.so Undefined symbol "cfbPutImage" 
Failed to load, etc.

I have tried cvsup, and rebuilding, and using an xorg.conf copied from the internet. The result is the same. 

I had alook at the source, and was not able to understand the structure enough to fix it.

Fix: 

none known.
How-To-Repeat: On a u60 with a Creator3d, try to install and configure xorg
Comment 1 marius 2006-03-29 12:01:39 UTC
On Thu, Mar 23, 2006 at 10:53:50PM +0000, Andrew Grillet wrote:
> >Environment:
> FreeBSD u60.grillet.home 5.5-PRERELEASE #1 Mon Mar 20 22:18:31 GMT 2006 andrew@u60.grillet.home:/usr/obj/usr/src/sys/U60 sparc64 
> >Description:
> Cannot do 
> startx -configure 
> (or use my own config file)
> log shows
> dlopen: /usr/X11R6/lib/modules/drivers/sunffb_drv.so Undefined symbol "cfbPutImage" 
> Failed to load, etc.
> 

It should work if you put 'Load "cfb"' and 'Load "cfb32"' into the
'Module' section of your xorg.conf. Note that if you plan to use
creator(4) you really should use FreeBSD 6.0 or later as there a
couple of bugs like the screen corruption when switching to a
VTY from X or when shutting down the X server are fixed.
Dejan, can you tell whether sunffb_drv.so is missing dependencies
on libcfb.so and libcfb32.so or these are meant to be explicitly
loaded with Xorg server versions that use shared objects for
drivers?

Marius

-- 
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.
Comment 2 Dejan Lesjak 2006-03-30 22:15:41 UTC
On Wednesday 29 March 2006 13:01, Marius Strobl wrote:
> On Thu, Mar 23, 2006 at 10:53:50PM +0000, Andrew Grillet wrote:
> > >Environment:
> >
> > FreeBSD u60.grillet.home 5.5-PRERELEASE #1 Mon Mar 20 22:18:31 GMT 2006
> > andrew@u60.grillet.home:/usr/obj/usr/src/sys/U60 sparc64
> >
> > >Description:
> >
> > Cannot do
> > startx -configure
> > (or use my own config file)
> > log shows
> > dlopen: /usr/X11R6/lib/modules/drivers/sunffb_drv.so Undefined symbol
> > "cfbPutImage" Failed to load, etc.
>
> It should work if you put 'Load "cfb"' and 'Load "cfb32"' into the
> 'Module' section of your xorg.conf. Note that if you plan to use
> creator(4) you really should use FreeBSD 6.0 or later as there a
> couple of bugs like the screen corruption when switching to a
> VTY from X or when shutting down the X server are fixed.
> Dejan, can you tell whether sunffb_drv.so is missing dependencies
> on libcfb.so and libcfb32.so or these are meant to be explicitly
> loaded with Xorg server versions that use shared objects for
> drivers?

As far as I can tell cfb was rather completely removed from X.org. I'll see if 
it is feasible to make a patch to remove the references instead.
Comment 3 lesi freebsd_committer freebsd_triage 2006-03-30 22:56:08 UTC
State Changed
From-To: open->analyzed

Incorporating post-7.0 changes from X.org CVS should fix this. 


Comment 4 lesi freebsd_committer freebsd_triage 2006-03-30 22:56:08 UTC
Responsible Changed
From-To: freebsd-sparc64->lesi

Grab.
Comment 5 Dejan Lesjak 2006-03-31 18:31:18 UTC
Please try if this patch works.
Comment 6 mmuthmann 2006-04-19 16:32:38 UTC
The patch works with a slight modification:
You have to delete the following lines from ffb_driver.c (after applying
the patch, of course).
>     if (xf86LoadSubModule(pScrn, "xf8_32wid") == NULL) {
>       FFBFreeRec(pScrn);
>       return FALSE;
>     }
>

-- 
Matthias Muthmann <mmuthmann@gmx.net>
Comment 7 lesi freebsd_committer freebsd_triage 2006-04-20 11:49:47 UTC
State Changed
From-To: analyzed->closed

Commited with ffb_driver.c part of patch. 
Thanks!