* strace and DGA broken on linux/AXP? 2 Bug reports
@ 1998-04-27 4:00 bmeyer
0 siblings, 0 replies; only message in thread
From: bmeyer @ 1998-04-27 4:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-27 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-27 4:00 strace and DGA broken on linux/AXP? 2 Bug reports bmeyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox