Summary: | fails to build on linux/alpha | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Julien Cristau <jcristau> | ||||
Component: | Server/General | Assignee: | Ian Romanick <idr> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | idr, mattst88 | ||||
Version: | unspecified | ||||||
Hardware: | Alpha | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 10101 | ||||||
Attachments: |
|
Description
Julien Cristau
2008-03-22 10:20:32 UTC
(In reply to comment #0) > 1.4.99.901 fails to build on linux/alpha: and making it build by updating axpPci.c to the new interfaces doesn't seem to give a working server. Ian, any chance you could take a look at this, since it's pciaccess-related? Created attachment 16834 [details] [review] Make xserver build on Alpha As per our discussion on IRC, the attached patch makes the xserver build on Alpha. In my testing with MGA, it runs until the driver tries to map its BARs. It appears that /sys/bus/pci/devices/0000:00:0b.0/resource0 and friends are missing on Alpha Linux. libpciaccess mmaps these files to give the driver access to the BARs. Without these files, libpciaccess based X-servers are (currently) DOA. We either need to get the resource# mappings supported by the kernel on Linux or add all the Alpha-specific cruft (from axpPci.c) and /dev/mem mapping support to libpciaccess. Committed that patch to server 1.5 and master. I'm of the opinion that the alpha port in the kernel needs to get with the program, so I'm closing this one as fixed. If someone really wants to add axp stuff to libpciaccess, reopen, but otherwise, go fix the kernel. For good measure, the kernel bug in question is http://bugzilla.kernel.org/show_bug.cgi?id=10893 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.