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.
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; 02-21-2009 at 09:12 PM.
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.
ati 92 stiil can not work on kernel 2.6.29.* .
just waitiing for a patch or ATI update the driver ?
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.
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
but they seem to be harmless.[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
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; 02-28-2009 at 07:15 PM.
missed a piece from jpelcis,
patch is now here -- USE AT YOUR OWN RISK:
http://pastebin.com/f38ca14ee
(messages still there)
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:
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:(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
But, there's still some problem for me, since I can't find any supported adapter...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
Maybe after a reboot, since I have compiled more support for ATI into the kernel after this module install...aticonfig: No supported adapters detected