[ltp] ATI fglrx Driver on a FC5 Xen Kernel? - T60p

Michael Olbrich linux-thinkpad@linux-thinkpad.org
Fri, 22 Sep 2006 11:37:49 +0200


--LyciRD1jyfeSSjG0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Sep 21, 2006 at 01:33:50PM -0700, interp01 wrote:
> Has anyone been able to get the fglrx driver to compile and load on a
> FC5 2157 Xen kernel?  I have tried everything under the sun and still
> get compile errors.  Any thoughts would be greatly appreciated.

I needed this patch to compile the fglrx dirver for xen:
-----------------------------------------------------------------------
diff -ur fglrx.old/firegl_public.c fglrx/firegl_public.c
--- fglrx.old/firegl_public.c   2006-09-08 16:20:32.000000000 +0200
+++ fglrx/firegl_public.c       2006-09-08 16:21:32.000000000 +0200
@@ -36,6 +41,7 @@

 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,71)
 #if !defined(CONFIG_X86_PC)
+#if !defined(CONFIG_X86_XEN)
 #if !defined(CONFIG_X86_64)
 #if !defined(CONFIG_X86_VOYAGER)
 #if !defined(CONFIG_X86_NUMAQ)
@@ -52,6 +58,7 @@
 #endif
 #endif
 #endif
+#endif
 #endif /* LINUX_VERSION_CODE */

 /* The dirty-page-tracking patch included in NLD 9 SMP kernels defines
-----------------------------------------------------------------------

michael


--LyciRD1jyfeSSjG0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFE67t3fK8vSqP5HsRAqwVAJ9aeR/kBcaHLs2EN8N5n9BrH9yccQCg2t20
clB+zRwUijGFGghcyFd0VKg=
=mNeZ
-----END PGP SIGNATURE-----

--LyciRD1jyfeSSjG0--