Announcement

Collapse
No announcement yet.

Can ati 9.1 works on kernel 2.6.29-rc*

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

  • Can ati 9.1 works on kernel 2.6.29-rc*

    I use the fedora 10 ,and ati 8.12-9.1 can works on kernel 2.6.28-* with libdrm-2.4.0-0.11.fc9.i386,but on kernel 2.6.29-rc* ait driver can`t works anyway .

    I have the error , have patch for ati 9.1 on kernel 2.6.29-rc*?

    Code:
    [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.29-rc3/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-2.6.29-rc3'
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_GetEffectiveUid?:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1463: error: ?struct task_struct? has no member named ?euid?
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_PosixSecurityCapSetIPCLock?:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1837: error: ?struct task_struct? has no member named ?cap_effective?
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1841: error: ?struct task_struct? has no member named ?cap_effective?
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_MEM_VM_GetRegionPhysAddrStr?:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3260: warning: return makes pointer from integer without a cast
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3261: warning: return makes pointer from integer without a cast
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3262: warning: return makes pointer from integer without a cast
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3264: warning: return makes pointer from integer without a cast
    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 `/usr/src/linux-2.6.29-rc3'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    [Error] Kernel Module : Failed to compile kernel module - please consult readme.
    Last edited by hades; 21 February 2009, 11:12 PM.

  • #2
    Won't work, cause the whole ACPI-Code of the fglrx glue layer has to be reworked since most of the kernel ACPI-Code was made private to the kernel.

    Comment


    • #3
      Originally posted by PuckPoltergeist View Post
      Won't work, cause the whole ACPI-Code of the fglrx glue layer has to be reworked since most of the kernel ACPI-Code was made private to the kernel.

      so thanks your reply , thanks .
      I will waiting for works patch or ati driver update .

      Comment


      • #4
        ati 92 stiil can not work on kernel 2.6.29.* .

        just waitiing for a patch or ATI update the driver ?

        Comment


        • #5
          AMD's official stance on supporting unreleased kernels (kernels still on RCs) is that they don't. And since fglrx has its own release schedule, you may have to wait even more (1-2 months) before official support. Sucks, I know, but that's how it is.

          Comment


          • #6
            Semi-working patch

            This is pretty hacked together, but http://test.enerecimis.com/2.6.29.patch gives 3d on kernel 2.6.29-rc5-git2.

            Testing with glxgears and WoW doesn't show any problems, and suspend still works with ACPI largely ripped out.

            The error log slowly accumulates errors like
            [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f800cc3c000,handle:0xee000000
            [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f800cc3c000,handle:0xee000000
            but they seem to be harmless.

            Comment


            • #7
              working patch

              private acpi only means, that the acpica.org files aren't reachable by any driver now.

              all what amd has to do is, include the files themself ...
              in a way simmiliar to the patch

              also includes the fixes from the post before, thanks!

              patch is here -- USE AT YOUR OWN RISK:
              (removed, see next post)
              it compiles, but it is stil untested
              Last edited by bugmenot; 28 February 2009, 09:15 PM.

              Comment


              • #8
                updated and working patch

                missed a piece from jpelcis,

                patch is now here -- USE AT YOUR OWN RISK:
                Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                (messages still there)

                Comment


                • #9
                  so thanks and I will try this patch .
                  I will report what happens .

                  Comment


                  • #10
                    Originally posted by hades View Post
                    so thanks and I will try this patch .
                    I will report what happens .
                    Any news with this?

                    I've just compiled kernel 2.6.29.3 (slackware 12.2) and the patch also seems to compile. But there's some manual work to do, unless I did something wrong somewhere. This is how the patching looks like:

                    (Stripping trailing CRs from patch.)
                    patching file Makefile
                    (Stripping trailing CRs from patch.)
                    patching file acpica-acconfig.h
                    (Stripping trailing CRs from patch.)
                    patching file acpica-aclocal.h
                    (Stripping trailing CRs from patch.)
                    patching file acpica-acobject.h
                    (Stripping trailing CRs from patch.)
                    patching file firegl_public.c
                    Hunk #1 succeeded at 1441 (offset 39 lines).
                    (Stripping trailing CRs from patch.)
                    patching file firegl_public.h
                    Hunk #1 succeeded at 593 (offset 4 lines).
                    (Stripping trailing CRs from patch.)
                    patching file kcl_acpi.c
                    patch unexpectedly ends in middle of line
                    It looks like the patch fails, but on a make, compilation succeed! After that I have to move the mod to the right place myself, since installing fails. But it's there, at least. Afterwards I can run dmesg and see this:

                    fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
                    [fglrx] Maximum main memory to use for locked dma buffers: 2892 MBytes.
                    [fglrx] vendor: 1002 device: 950f count: 1
                    [fglrx] vendor: 1002 device: 950f count: 2
                    [fglrx] ioport: bar 4, base 0x9000, size: 0x100
                    [fglrx] ioport: bar 4, base 0xa000, size: 0x100
                    [fglrx] Driver built-in PAT support is enabled successfully
                    [fglrx] module loaded - fglrx 8.60.3 [Apr 1 2009] with 2 minors
                    But, there's still some problem for me, since I can't find any supported adapter...

                    aticonfig: No supported adapters detected
                    Maybe after a reboot, since I have compiled more support for ATI into the kernel after this module install...

                    Comment

                    Working...
                    X