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
                 /usr/src/modules/fglrx/firegl_public.c: In function
                 '__ke_smp_call_function':
                 /usr/src/modules/fglrx/firegl_public.c:4226: warning:
                 statement with no effect
                   LD [M]  /usr/src/modules/fglrx/fglrx.o
                     Building modules, stage 2.
                       MODPOST
                       *** Warning: "xen_invlpg"
                       [/usr/src/modules/fglrx/fglrx.ko] undefined!


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fglrx-kernel-src depends on:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  debhelper                     5.0.35     helper programs for debian/rules
ii  make                          3.81-2     The GNU version of the "make" util

Versions of packages fglrx-kernel-src recommends:
ii  kernel-package                10.047     A utility for building Linux kerne
ii  module-assistant              0.10.4     tool to make module package creati

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to