Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: FIX: Permedia 2 driver XFree-4.0
@ 2000-03-17  0:47 Richard Henderson
  2000-03-17  2:15 ` Jay Estabrook
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Henderson @ 2000-03-17  0:47 UTC (permalink / raw)
  To: axp-list

On Thu, Mar 16, 2000 at 06:51:54AM -0500, Peter Petrakis wrote:
> The patch below fixes my problem with the permedia 2 driver.

> -# define BUS_BASE _bus_base()
> +# define BUS_BASE (_bus_base() + 0x200000000)

Um, that means you've got your video card in hose 1, not hose 0.
And now you can't run the same binary on a different machine.

There is currently no libc interface for getting at multiple hoses.
Jay and I talked about adding one last week, but not done it yet.


r~


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <38D2429C.3CA5F950@hw.ac.uk>]
* FIX: Permedia 2 driver XFree-4.0
@ 2000-03-16 11:51 Peter Petrakis
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Petrakis @ 2000-03-16 11:51 UTC (permalink / raw)
  To: axp-list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 2009 bytes --]

The patch below fixes my problem with the permedia 2 driver.
A big thank you to Dr.Glibert and Michel Danzer who helped me 
out alot with this.

Peter

--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."

---------- Forwarded message ----------
Date: Thu, 16 Mar 2000 07:12:45 -0800 (PST)
From: Michel Dänzer <mdaenzer@yahoo.com>
Reply-To: michdaen@iiic.ethz.ch
To: Peter Petrakis <ppetrakis@firestorm.tzo.org>
Subject: Re: Fwd: Re: ev56 mga issues



--- Peter Petrakis <ppetrakis@firestorm.tzo.org> wrote:
> > That's possible (seems like it's at least in the latest 2.2.15-pre .
> > 
> > Anyway, unfortunately it doesn't seem to help according to others...
> > 
> > I'm sorry but I really can't help you more ATM.
> 
> I'll grab the latest 2.2.x kernel and try again with fb support. More
> people are starting to have this problems. Hopefully with enough eyes the
> bug will be found :-). Thanks.

That's alwaysa good method :)


In case you'd like to try more, maybe this patch for the X server can help?

--- Xserver/hw/xfree86/os-support/linux/lnx_video.c.orig        Sat Feb 26
05:43:53 2000
+++ Xserver/hw/xfree86/os-support/linux/lnx_video.c     Thu Mar 16 00:37:34
2000
@@ -66,9 +66,9 @@
 #  define isJensen (!_bus_base())
 # endif
 
-# define needSparse (_bus_base_sparse() != 0)
+# define needSparse (0)
 
-# define BUS_BASE _bus_base()
+# define BUS_BASE (_bus_base() + 0x200000000)
 
 #else


It apparently solves the problem for Hannes Reinecke.


Michel


=====
"Software is like sex; it's better when it's free"
 -- Linus Torvalds

"If you continue running Windows, your system may become unstable."
 -- Windows 95 BSOD

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2000-03-17 22:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-17  0:47 FIX: Permedia 2 driver XFree-4.0 Richard Henderson
2000-03-17  2:15 ` Jay Estabrook
     [not found] <38D2429C.3CA5F950@hw.ac.uk>
2000-03-17 14:44 ` Hannes Reinecke
2000-03-17 16:40   ` Jay Estabrook
2000-03-17 17:06     ` Hannes Reinecke
2000-03-17 20:23       ` Jay Estabrook
2000-03-17 20:31         ` Brian Pomerantz
2000-03-17 22:12         ` Richard Henderson
2000-03-17 21:53   ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2000-03-16 11:51 Peter Petrakis

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