Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: bmeyer@bruce.cs.monash.edu.au
Subject: strace and DGA broken on linux/AXP? 2 Bug reports
Date: 1998/04/27	[thread overview]
Message-ID: <6i1o1c$9g4$1@wombat.cs.monash.edu.au> (raw)


Hi,

back from slaying the beast of "damnit, why doesn't anything show up
on screen", I have a couple of bug reports to make....

a) strace: I haven't been able to find an strace build that correctly
           shows the parameters of the mmap() call on linux/AXP. Upon
           investigating, it turns out that the syscallent.h file for
           linux/AXP has mmap() as a one parameter call. Of course, in
           reality it has 6, and the routine handling it accesses 6 
           parameters as well. Changed that, now it works.

b) XFree86, DGA extension: It seems that the DGA library does not take
           into account the remapping of PCI bus addresses. Thus, when
           starting up DGA on an ALPHA, it simply tries to mmap() the
           address as seen on the PCI bus (in my case, 0x1800000), rather 
           than the address the kernel (and thus /dev/mem) sees the card
           at (in my case, 0xfffffc8601800000). The X server knows how
           to do this (I got the address by stracing the server ;-),
           and doing things "by hand" makes DGA work.

Just thought I'd let you guys know, in case you have been trying to do
the same thing ;-)

Bernie


    
-- 
============================================================================
"It's a magical world, Hobbes ol' buddy...
    	                                   ...let's go exploring"
Calvin's final words, on December 31st, 1995



                 reply	other threads:[~1998-04-27  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox