Announcement

Collapse
No announcement yet.

fglrx 8.7 & linux 2.6.27-rc1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • fglrx 8.7 & linux 2.6.27-rc1

    I was trying to compile fglrx 8.7 for linux 2.6.27-rc1..

    CC [M] /var/lib/dkms/fglrx/8.512/build/firegl_public.o
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘__ke_vm_phys_addr_str’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:3994: warning: return makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:3995: warning: return makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:3996: warning: return makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:3998: warning: return makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4029: warning: passing argument 2 of ‘vm_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4029: warning: passing argument 3 of ‘vm_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4029: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_shm_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4048: warning: passing argument 2 of ‘vm_shm_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4048: warning: passing argument 3 of ‘vm_shm_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4048: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_dma_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4061: warning: passing argument 2 of ‘vm_dma_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4061: warning: passing argument 3 of ‘vm_dma_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4061: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_kmap_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4068: warning: passing argument 2 of ‘vm_kmap_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4068: warning: passing argument 3 of ‘vm_kmap_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4068: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_pcie_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4075: warning: passing argument 2 of ‘vm_pcie_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4075: warning: passing argument 3 of ‘vm_pcie_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4075: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘ip_vm_gart_nopage’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4082: warning: passing argument 2 of ‘vm_gart_nopage’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4082: warning: passing argument 3 of ‘vm_gart_nopage’ makes integer from pointer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4082: warning: assignment makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: At top level:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4089: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4107: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4114: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4121: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4128: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4135: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4142: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4151: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘KCL_CallFuncOnOtherCpus’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4833: error: too many arguments to function ‘smp_call_function’
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘KCL_enable_pat’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4944: error: too many arguments to function ‘smp_call_function’
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘KCL_disable_pat’:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4962: error: too many arguments to function ‘smp_call_function’
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c: At top level:
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:6681: warning: initialization from incompatible pointer type
    /var/lib/dkms/fglrx/8.512/build/firegl_public.c:6707: warning: initialization from incompatible pointer type
    make[2]: *** [/var/lib/dkms/fglrx/8.512/build/firegl_public.o] Error 1
    make[1]: *** [_module_/var/lib/dkms/fglrx/8.512/build] Error 2
    make: *** [kmod_build] Error 2

    Anyone working with a patch?
    Last edited by jjjj; 08-04-2008, 03:51 PM.

  • #2
    With some hacking of firegl_public.c fglrx 8.7 seems to be working with 2.6.27-rc1

    Comment


    • #3
      Please post hack or link to it.

      Is this the same thing needed for catalyst 8.4 with the 2.6.25 kernel?

      Comment


      • #4
        I am also looking for a solution. I am testing 2.6.27-rc1 for the new ath9k driver. Can anyone shed any light?

        Comment


        • #5
          Simple... the API has changed for this function: smp_call_function

          Code:
          /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4833: error: too many arguments to function ‘smp_call_function’
          /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘KCL_enable_pat’:
          /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4944: error: too many arguments to function ‘smp_call_function’
          /var/lib/dkms/fglrx/8.512/build/firegl_public.c: In function ‘KCL_disable_pat’:
          /var/lib/dkms/fglrx/8.512/build/firegl_public.c:4962: error: too many arguments to function ‘smp_call_function’
          try to understand which argument is not passed more, and how, and you've done your job

          where can we find documentation or tracks on these changes?

          Comment


          • #6
            Yes, this is what I did. Removed the extra arguments from the smpXXX call.
            I gave up on running 2.6.27-rc1 and patched fglrx because it's rather unstable. Hangups after couple of hours, amarok playing music very poorly etc..

            Comment


            • #7
              Originally posted by jjjj View Post
              Yes, this is what I did. Removed the extra arguments from the smpXXX call.
              I gave up on running 2.6.27-rc1 and patched fglrx because it's rather unstable. Hangups after couple of hours, amarok playing music very poorly etc..
              well the release is the first rc, and the hack is an ugly hack... I would have expected more problems than what you got XD

              Comment


              • #8
                Unfortunately I've been having very weird lockups with linux 2.6.26.1 and fglrx 8.7. Leaving the keyboard for 10 minutes and after getting back system is half-frozen (well, maybe not all related to fglrx but...). only Magic unmount/reboot(Alt-SysRq-S,U,B) works. Not even Caps-lock key is working..

                Comment

                Working...
                X