1 |
Ferris, |
2 |
I might be able to help. I have a SunBlade 100 with the ATI Rage XL chip. If I remember correctly, this uses the mach64 drivers in xorg-7.x (6.8.x used ati). However, I am a couple days away from even getting through the modular migration. Right now I am stuck on getting mesa-6.5 compiled. |
3 |
|
4 |
-Chris |
5 |
|
6 |
-----Original Message----- |
7 |
From: Ferris McCormick [mailto:fmccor@g.o] |
8 |
Sent: Thursday, August 24, 2006 2:50 PM |
9 |
To: Gentoo Sparc |
10 |
Cc: x11@g.o; jbarnes@××××××××××××.org |
11 |
Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3] |
12 |
|
13 |
Is anyone in a position to verify this? It's basically a proposed |
14 |
one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and |
15 |
if it works, it's better than remove-altix. |
16 |
|
17 |
The actual proposed patch looks like |
18 |
======================== |
19 |
--- hw/xfree86/os-support/bus/linuxPci.c- 2006-08-24 |
20 |
18:32:52.000000000 +0000 |
21 |
+++ hw/xfree86/os-support/bus/linuxPci.c 2006-08-24 |
22 |
18:37:10.000000000 +0000 |
23 |
@@ -84,7 +84,11 @@ |
24 |
/* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr, |
25 |
#else |
26 |
/* pciAddrHostToBus */ pciAddrNOOP, |
27 |
+#ifdef __ia64__ |
28 |
/* pciAddrBusToHost */ linuxTransAddrBusToHost, |
29 |
+#else |
30 |
+/* pciAddrBusToHost */ pciAddrNOOP, |
31 |
+#endif |
32 |
#endif |
33 |
|
34 |
/* pciControlBridge */ NULL, |
35 |
=========================== |
36 |
I have attached it as jparnes.patch, as well. I have verified that the |
37 |
patch installs, and that linuxPci.c compiles with it applied, but I do |
38 |
not have a mach64 system on which to test it. |
39 |
|
40 |
|
41 |
-------- Forwarded Message -------- |
42 |
From: bugzilla-daemon@××××××××××××××××××××.org |
43 |
To: fmccor@g.o |
44 |
Subject: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3 |
45 |
Date: Wed, 23 Aug 2006 09:20:20 -0700 (PDT) |
46 |
|
47 |
Please do not reply to this email: if you want to comment on the bug, go to |
48 |
|
49 |
the URL shown below and enter yourcomments there. |
50 |
|
51 |
https://bugs.freedesktop.org/show_bug.cgi?id=3914 |
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
------- Additional Comments From jbarnes@××××××××××××.org 2006-08-23 09:20 ------- |
58 |
The snippet below (from the revert patch) removes the new |
59 |
linuxTransAddrBusToHost routine from the PCI mapping function table. This |
60 |
routine is *supposed* to be generic, but it may well be broken on some sparc64 |
61 |
configurations. Can you try building a tree without the revert patch but with |
62 |
that line protected #if defined(__ia64__) ... #endif instead of removed |
63 |
entirely? That would tell us for sure if the xf86GetOSOffsetFromPCI routine |
64 |
was the culprit (it probably is, it has quite a few shortcomings). |
65 |
|
66 |
If that works, simply protecting that line with an #ifdef __ia64__ might be a |
67 |
good short term fix... |
68 |
|
69 |
Thanks, |
70 |
Jesse |
71 |
|
72 |
--- a/hw/xfree86/os-support/bus/linuxPci.c |
73 |
+++ b/hw/xfree86/os-support/bus/linuxPci.c |
74 |
@@ -63,7 +63,6 @@ #include "Pci.h" |
75 |
static CARD32 linuxPciCfgRead(PCITAG tag, int off); |
76 |
static void linuxPciCfgWrite(PCITAG, int off, CARD32 val); |
77 |
static void linuxPciCfgSetBits(PCITAG tag, int off, CARD32 mask, CARD32 bits); |
78 |
-static ADDRESS linuxTransAddrBusToHost(PCITAG tag, PciAddrType type, ADDRESS |
79 |
addr); |
80 |
#if defined(__powerpc__) |
81 |
static ADDRESS linuxPpcBusAddrToHostAddr(PCITAG, PciAddrType, ADDRESS); |
82 |
static ADDRESS linuxPpcHostAddrToBusAddr(PCITAG, PciAddrType, ADDRESS); |
83 |
@@ -84,7 +83,7 @@ #if defined(__powerpc__) |
84 |
/* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr, |
85 |
#else |
86 |
/* pciAddrHostToBus */ pciAddrNOOP, |
87 |
-/* pciAddrBusToHost */ linuxTransAddrBusToHost, |
88 |
+/* pciAddrBusToHost */ pciAddrNOOP, |
89 |
#endif |
90 |
|
91 |
/* pciControlBridge */ NULL, |
92 |
|
93 |
|
94 |
-- |
95 |
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email |
96 |
|
97 |
------- You are receiving this mail because: ------- |
98 |
You are on the CC list for the bug, or are watching someone who is. |
99 |
|
100 |
================================================= |
101 |
|
102 |
Thanks, |
103 |
Ferris |
104 |
-- |
105 |
Ferris McCormick (P44646, MI) <fmccor@g.o> |
106 |
Developer, Gentoo Linux (Devrel, Sparc) |
107 |
|
108 |
-- |
109 |
gentoo-sparc@g.o mailing list |