Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15696 - xfree 4.2.1 trident driver has undefined symbol xf86MapDomainMemory
Summary: xfree 4.2.1 trident driver has undefined symbol xf86MapDomainMemory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-14 10:49 UTC by Hamilton Coutinho
Modified: 2003-05-19 08:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hamilton Coutinho 2003-02-14 10:49:05 UTC
The trident driver of XFree86 4.2.1 does not load because there is an unresolved  
symbol: xf86MapDomainMemory. I tracked it down to  
XFree86-4.2.1-patches-1.2.tar.bz2:  
patch/036_all_4.2.0-trident-driver-update-cvs-20021112.patch.bz2:  
patchfs/xc_cvs/programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c.diff. 
The relevant chunk is: 
@@ -2315,8 +2488,8 @@ 
        pTrident->IOBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, 
                pTrident->PciTag, pTrident->IOAddress, mapsize); 
     else { 
-       pTrident->IOBase = xf86MapVidMem(pScrn->scrnIndex, VIDMEM_MMIO, 
-               pTrident->IOAddress, 0x1000); 
+       pTrident->IOBase = xf86MapDomainMemory(pScrn->scrnIndex, 
VIDMEM_MMIO, 
+               pTrident->PciTag, pTrident->IOAddress, 0x1000); 
        pTrident->IOBase += 0xF00; 
     }
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2003-03-07 06:00:39 UTC
Sorry, I don't run Xfree on my box with the trident card anymore so I can't test the 
patch. 
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2003-03-21 19:23:45 UTC
I have such a video card and am willing to test the pach... is anyone still interested? I am asking this because my laptop is a slow one, and compiling XFree takes quite a long time...
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-04-19 06:07:10 UTC
I'm willing to test a patch for this.  It not clear to me what
the proper fix is though.  Should the patch below be reversed?

If a fix is added to to the 4.2.1-r2 ebuild, I'll certainly try it out
and report back here.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-18 03:39:56 UTC
is this an issue with 4.3.0?
Comment 5 Michele Noberasco (RETIRED) gentoo-dev 2003-05-18 11:14:05 UTC
No... 4.3.0 works great on my box.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-18 15:49:49 UTC
closing
Comment 7 Hamilton Coutinho 2003-05-19 08:00:09 UTC
No. I upgraded to 4.3.0 and the trident driver worked without a hitch. Thanks.