* RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
@ 2006-08-25 19:07 Clonch, Christopher A (Chris)
2006-08-25 20:34 ` Ferris McCormick
0 siblings, 1 reply; 3+ messages in thread
From: Clonch, Christopher A (Chris) @ 2006-08-25 19:07 UTC (permalink / raw
To: gentoo-sparc; +Cc: x11, jbarnes
Ferris,
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.
-Chris
-----Original Message-----
From: Ferris McCormick [mailto:fmccor@gentoo.org]
Sent: Thursday, August 24, 2006 2:50 PM
To: Gentoo Sparc
Cc: x11@gentoo.org; jbarnes@virtuousgeek.org
Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3]
Is anyone in a position to verify this? It's basically a proposed
one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and
if it works, it's better than remove-altix.
The actual proposed patch looks like
========================
--- hw/xfree86/os-support/bus/linuxPci.c- 2006-08-24
18:32:52.000000000 +0000
+++ hw/xfree86/os-support/bus/linuxPci.c 2006-08-24
18:37:10.000000000 +0000
@@ -84,7 +84,11 @@
/* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr,
#else
/* pciAddrHostToBus */ pciAddrNOOP,
+#ifdef __ia64__
/* pciAddrBusToHost */ linuxTransAddrBusToHost,
+#else
+/* pciAddrBusToHost */ pciAddrNOOP,
+#endif
#endif
/* pciControlBridge */ NULL,
===========================
I have attached it as jparnes.patch, as well. I have verified that the
patch installs, and that linuxPci.c compiles with it applied, but I do
not have a mach64 system on which to test it.
-------- Forwarded Message --------
From: bugzilla-daemon@annarchy.freedesktop.org
To: fmccor@gentoo.org
Subject: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3
Date: Wed, 23 Aug 2006 09:20:20 -0700 (PDT)
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=3914
------- Additional Comments From jbarnes@virtuousgeek.org 2006-08-23 09:20 -------
The snippet below (from the revert patch) removes the new
linuxTransAddrBusToHost routine from the PCI mapping function table. This
routine is *supposed* to be generic, but it may well be broken on some sparc64
configurations. Can you try building a tree without the revert patch but with
that line protected #if defined(__ia64__) ... #endif instead of removed
entirely? That would tell us for sure if the xf86GetOSOffsetFromPCI routine
was the culprit (it probably is, it has quite a few shortcomings).
If that works, simply protecting that line with an #ifdef __ia64__ might be a
good short term fix...
Thanks,
Jesse
--- a/hw/xfree86/os-support/bus/linuxPci.c
+++ b/hw/xfree86/os-support/bus/linuxPci.c
@@ -63,7 +63,6 @@ #include "Pci.h"
static CARD32 linuxPciCfgRead(PCITAG tag, int off);
static void linuxPciCfgWrite(PCITAG, int off, CARD32 val);
static void linuxPciCfgSetBits(PCITAG tag, int off, CARD32 mask, CARD32 bits);
-static ADDRESS linuxTransAddrBusToHost(PCITAG tag, PciAddrType type, ADDRESS
addr);
#if defined(__powerpc__)
static ADDRESS linuxPpcBusAddrToHostAddr(PCITAG, PciAddrType, ADDRESS);
static ADDRESS linuxPpcHostAddrToBusAddr(PCITAG, PciAddrType, ADDRESS);
@@ -84,7 +83,7 @@ #if defined(__powerpc__)
/* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr,
#else
/* pciAddrHostToBus */ pciAddrNOOP,
-/* pciAddrBusToHost */ linuxTransAddrBusToHost,
+/* pciAddrBusToHost */ pciAddrNOOP,
#endif
/* pciControlBridge */ NULL,
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
=================================================
Thanks,
Ferris
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
--
gentoo-sparc@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
2006-08-25 19:07 [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3] Clonch, Christopher A (Chris)
@ 2006-08-25 20:34 ` Ferris McCormick
0 siblings, 0 replies; 3+ messages in thread
From: Ferris McCormick @ 2006-08-25 20:34 UTC (permalink / raw
To: gentoo-sparc; +Cc: x11, jbarnes
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
On Fri, 2006-08-25 at 15:07 -0400, Clonch, Christopher A (Chris) wrote:
> Ferris,
> 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.
>
> -Chris
Thanks, any testing is appreciated. Gustavo says he has had good luck
with it, so you should expect success. So, here's hoping. :)
>
> -----Original Message-----
> From: Ferris McCormick [mailto:fmccor@gentoo.org]
> Sent: Thursday, August 24, 2006 2:50 PM
> To: Gentoo Sparc
> Cc: x11@gentoo.org; jbarnes@virtuousgeek.org
> Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3]
>
> Is anyone in a position to verify this? It's basically a proposed
> one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and
> if it works, it's better than remove-altix.
>
>
>
>
>
Regards,
Ferris
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
@ 2006-09-29 18:16 Clonch, Christopher A (Chris)
0 siblings, 0 replies; 3+ messages in thread
From: Clonch, Christopher A (Chris) @ 2006-09-29 18:16 UTC (permalink / raw
To: gentoo-sparc; +Cc: x11, jbarnes
I've been running 7.1.1 since the beginning of Sept using the ati drivers with no problems, so I might not be able to try out the mach64 patch after all. But let me confirm a few things.
I have VIDEO_CARDS="mach64 ati sunffb vesa" in /etc/make.conf, although mach64 and sunffb are the only ones that xorg-server compiled. I have Mach64 support, CT/VT/GT/LT support, and Mach64 GX support complied in kernel. Also have DRM enabled and ATI Rage 128 and ATI Radeon as modules. Using xorg's config utility, it picked the ati driver. So it would seem that I'm using the ati driver after all?!
Also I am not able to get GL working, but maybe the hardware doesn't support it. Enabling it, then running a GL screensaver causes X to crash...
Anyone running a SB100 confirm that I have things setup correctly?
Thanks,
-Chris
Copious amounts of info follow...
Relevant lines of /etc/make.conf:
USE="-gtk bzip2 hal dbus nptl opengl alsa gtk2 gnome samba syslog nfs bitmap-fonts truetype-fonts type1-fonts"
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="mach64 ati sunffb vesa"
emerge -pv xorg-server:
These are the packages that would be merged, in order:
Calculating dependencies \b\b... done!
[ebuild R ] x11-base/xorg-server-1.1.1-r1 USE="dri nptl sdl xorg (-3dfx) -debug -dmx -ipv6 -kdrive -minimal -xprint" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa (-synaptics) -tek4957 -ur98 (-vmmouse) -void (-wacom)" VIDEO_CARDS="mach64 sunffb (-apm) (-ark) (-chips) (-cirrus) (-cyrix) -dummy -epson -fbdev (-fglrx) -glint (-i128) (-i740) (-i810) (-impact) (-imstt) -mga (-neomagic) (-newport) (-nsc) (-nv) (-nvidia) -r128 -radeon (-rendition) (-s3) (-s3virge) -savage (-siliconmotion) (-sis) -sisusb -sunbw2 -suncg14 -suncg3 -suncg6 -sunleo -suntcx -tdfx (-tga) (-trident) (-tseng) -v4l (-vesa) (-vga) (-via) (-vmware) -voodoo" 9,170 kB
Total size of downloads: 9,170 kB
Relevant lines of /etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
#Load "glx"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Sun"
ModelName "DP17MO"
HorizSync 30-75
VertRefresh 50-160
EndSection
Section "Device"
Option "reference_clock" "28.636 MHz"
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "Rage XL"
#ChipSet "ati"
#ChipId 0x4752
#ChipRev 0x27
#BusID "PCI:0:19:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Subsection "Display"
Depth 16
Modes "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
EndSection
emerge --info:
Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r7 sparc64)
=================================================================
System uname: 2.6.17-gentoo-r7 sparc64 sun4u
Last Sync: Wed, 27 Sep 2006 07:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X alsa apache2 arts avi berkdb bitmap-fonts bzip2 cli crypt cups dba dbus dlloader dri eds elibc_glibc encode esd fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk2 hal imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux libwww mad mikmod motif mpeg ncurses nfs nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 readline reflection samba sdl session spell spl ssl syslog tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_ati video_cards_mach64 video_cards_sunffb vorbis xml xmms xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-----Original Message-----
From: Ferris McCormick [mailto:fmccor@gentoo.org]
Sent: Friday, August 25, 2006 4:35 PM
To: gentoo-sparc@lists.gentoo.org
Cc: x11@gentoo.org; jbarnes@virtuousgeek.org
Subject: RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
On Fri, 2006-08-25 at 15:07 -0400, Clonch, Christopher A (Chris) wrote:
> Ferris,
> 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.
>
> -Chris
Thanks, any testing is appreciated. Gustavo says he has had good luck
with it, so you should expect success. So, here's hoping. :)
>
> -----Original Message-----
> From: Ferris McCormick [mailto:fmccor@gentoo.org]
> Sent: Thursday, August 24, 2006 2:50 PM
> To: Gentoo Sparc
> Cc: x11@gentoo.org; jbarnes@virtuousgeek.org
> Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3]
>
> Is anyone in a position to verify this? It's basically a proposed
> one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and
> if it works, it's better than remove-altix.
>
>
>
>
>
Regards,
Ferris
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
--
gentoo-sparc@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-29 18:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 19:07 [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3] Clonch, Christopher A (Chris)
2006-08-25 20:34 ` Ferris McCormick
-- strict thread matches above, loose matches on Subject: below --
2006-09-29 18:16 Clonch, Christopher A (Chris)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox