Bug#368802: fglrx-kernel-src: fglrx modules fail to build against Xen patched 2.6.16-14 kernel
Be glad to help; Though as soon as 8.28 is gone, my 8500DV is no longer supported. I will test this in the next 24h against curent xen-linux-system-2.6.18-2-k7 packages I am running on this box. I note that 8.30 is upstream in experimental, so I may hold on to this patched source 'forever' :) or until hardwareGL for R200 finds its way into Xorg driver or 2.6 builds against 8.28 begin to fail. I am not sure if you have/heard an idea for a permanent home for 8.28, as once 8.30 is mainstream I suspect Radeon 8XXX 9XXX users may try to file bugs due to the discontinued product support. It might be one reason to keep 8.28 as the Etch standard if no too many upstream bugs suggest otherwise. thanks for keeping ATI alive in Debian, iMac tags 368802 + pending thanks Loïc Minier wrote: The attached trivial patch permits building fglrx under Xen for me, and the resulting driver seems to work like a charm. Thanks. The patch looks obviously correct, but before I upload it, it would be great if the original reporter could check if this works for him. -- Ciao, Flavio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#368802: fglrx-kernel-src: fglrx modules fail to build against Xen patched 2.6.16-14 kernel
tags 368802 + pending thanks Loïc Minier wrote: The attached trivial patch permits building fglrx under Xen for me, and the resulting driver seems to work like a charm. Thanks. The patch looks obviously correct, but before I upload it, it would be great if the original reporter could check if this works for him. -- Ciao, Flavio
Bug#368802: fglrx-kernel-src: fglrx modules fail to build against Xen patched 2.6.16-14 kernel
tags 368802 + patch confirmed upstream stop Hi, On Wed, May 24, 2006, Ian B. MacDonald wrote: /usr/src/modules/fglrx/firegl_public.h:274:5: warning: FIREGL_VMA_INFO is not defined I don't get this error, I simply get a #error unknown or undefined architecture configured with the current fglrx-driver. The attached trivial patch permits building fglrx under Xen for me, and the resulting driver seems to work like a charm. Flavio, let me know if you want me to upload it. Bye, -- Loïc Minier [EMAIL PROTECTED] --- fglrx-driver-8.28.8/debian/changelog +++ fglrx-driver-8.28.8/debian/changelog @@ -1,3 +1,10 @@ +fglrx-driver (8.28.8-3.1) unstable; urgency=low + + * Non-maintainer upload. + * New patch, 12-CONFIG_X86_XEN, to allow building for Xen; closes: #368802. + + -- Loic Minier [EMAIL PROTECTED] Fri, 10 Nov 2006 11:30:48 +0100 + fglrx-driver (8.28.8-3) unstable; urgency=low * Explicitly call moc-qt3, not just moc, when building the control panel. --- fglrx-driver-8.28.8.orig/debian/patches/12-CONFIG_X86_XEN.patch +++ fglrx-driver-8.28.8/debian/patches/12-CONFIG_X86_XEN.patch @@ -0,0 +1,18 @@ +--- firegl_public.c2006-11-10 11:29:11.0 +0100 firegl_public.c2006-11-10 11:29:35.0 +0100 +@@ -36,6 +36,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 +53,7 @@ + #endif + #endif + #endif ++#endif + #endif /* LINUX_VERSION_CODE */ + + /* The dirty-page-tracking patch included in NLD 9 SMP kernels defines
Bug#368802: fglrx-kernel-src: fglrx modules fail to build against Xen patched 2.6.16-14 kernel
Package: fglrx-kernel-src Version: 8.24.8-1 Severity: important Recently Xen 3.0 appeared in Debian repositories. With Debian kernel sources patched with the matching Debian Xen patch (9681)from here: https://alioth.debian.org/project/showfiles.php?group_id=30894 I was able to sucessfully build fglrx kernel modules against the 2.6.16-14 Debian kernel source by following the patch outlined here. http://lists.xensource.com/archives/html/xen-devel/2005-02/msg00332.html The 2D works, but the 3D/glx_gears is broken. It is worth noting that the agpgart_be.c patch is trivial, however the firegl_public.c patch is no longer consistent. Basically I added the CONFIG_XEN lines at the top to the second file, and that was it. Anything else I tried made the build fail. I am content with 2D for my usage right now. Since linux-image w/Xen now exist in the Debian repositories, http://packages.debian.org/unstable/base/linux-image-2.6-xen-k7 I am hoping that someone with a little more knowledge can merge the above xen fixes into the fglrx source to make it work properly for others using Xen, and particularily those looking for full GLX support. Since Xen has made it down into Etch, it seems important to have support. Below is the mangled output containing the warnings from my make-kpkg modules_image command. Hope that helps, iMac /usr/src/modules/fglrx/firegl_public.h:274:5: warning: FIREGL_VMA_INFO is not defined In file included from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:335: /usr/src/modules/fglrx/drmP.h:561:5: warning: __HAVE_VBL_IRQ is not defined /usr/src/modules/fglrx/drmP.h:664:5: warning: __HAVE_VBL_IRQ is not defined /usr/src/modules/fglrx/drmP.h:936:5: warning: __HAVE_SG is not defined /usr/src/modules/fglrx/firegl_public.c:411:5: warning: FIREGL_VMA_INFO is not defined /usr/src/modules/fglrx/firegl_public.c:430:5: warning: FIREGL_VMA_INFO is not defined /usr/src/modules/fglrx/firegl_public.c: In function 'firegl_stub_register': /usr/src/modules/fglrx/firegl_public.c:607: warning: assignment from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: At top level: /usr/src/modules/fglrx/firegl_public.c:3596: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3597: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3598: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3599: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3600: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3601: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3602: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3603: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3605: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:3615: warning: function declaration isn't a prototype /usr/src/modules/fglrx/firegl_public.c: In function 'test_inter_module_interface': /usr/src/modules/fglrx/firegl_public.c:3620: warning: assignment from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_allocate_memory_phys_list': /usr/src/modules/fglrx/firegl_public.c:3945: warning: passing argument 3 of 'im_fglrx_agp_stub-allocate_memory_phys_list' makes integer from pointer without a cast /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_bind_memory': /usr/src/modules/fglrx/firegl_public.c:3984: warning: passing argument 1 of 'im_fglrx_agp_stub-bind_memory' from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_unbind_memory': /usr/src/modules/fglrx/firegl_public.c:3997: warning: passing argument 1 of 'im_fglrx_agp_stub-unbind_memory' from incompatible pointer type