2 Replies Latest reply on Mar 4, 2010 8:44 PM by bridgman

    ATI Proprietary driver won't compile with Linux kernel 2.6.33

    rherbert

      Hi.

      With the recent release of Linux kernel 2.6.33, I downloaded and compiled it to give it a try.  No go with the 10.2 version of the ATI Proprietary Linux driver.  I've attached the contents of fglrx-install.log so you can see what's going on.

      BTW, my graphics card is an HD 5770.

      Thanks.

      Richard Herbert

      [Message] Kernel Module : Trying to install a precompiled kernel module. [Message] Kernel Module : Precompiled kernel module version mismatched. [Message] Kernel Module : Found kernel module build environment, generating kernel module now. AMD kernel module generator version 2.1 doing Makefile based build for kernel 2.6.x and higher rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers make -C /lib/modules/2.6.33/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/home/rherbert/src/linux-2.6.33' CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:443: /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info': /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t' /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageCache_Array': /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1316: warning: passing argument 1 of 'KCL_ConvertPageToKernelAddress' makes pointer from integer without a cast /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke__cmpxchg': /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__ret' declared void /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__old' declared void /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__new' declared void /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MapPageToPfn': /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1615: warning: unused variable 'bus_addr' make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/home/rherbert/src/linux-2.6.33' make: *** [kmod_build] Error 2 build failed with return value 2 [Error] Kernel Module : Failed to compile kernel module - please consult readme.

        • ATI Proprietary driver won't compile with Linux kernel 2.6.33
          rherbert

          Here is the contents of fglrx-install.log which were lost when my message was moved (I took care of the "missing" autoconf.h and utsrelease.h problems):

          [Message] Kernel Module : Trying to install a precompiled kernel module.
          [Message] Kernel Module : Precompiled kernel module version mismatched.
          [Message] Kernel Module : Found kernel module build environment, generating kernel module now.
          AMD kernel module generator version 2.1
          doing Makefile based build for kernel 2.6.x and higher
          rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
          make -C /lib/modules/2.6.33/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
          make[1]: Entering directory `/home/rherbert/src/linux-2.6.33'
            CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
          In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:443:
          /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info':
          /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t'
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageCache_Array':
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1316: warning: passing argument 1 of 'KCL_ConvertPageToKernelAddress' makes pointer from integer without a cast
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke__cmpxchg':
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__ret' declared void
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__old' declared void
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__new' declared void
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MapPageToPfn':
          /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1615: warning: unused variable 'bus_addr'
          make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
          make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
          make[1]: Leaving directory `/home/rherbert/src/linux-2.6.33'
          make: *** [kmod_build] Error 2
          build failed with return value 2
          [Error] Kernel Module : Failed to compile kernel module - please consult readme.