That’s it guys. I have successfully installed the proprietary ati drivers in past 6.34 and 6.35 kernels but not in latest .6.36.
I’m wondering if this have something to do with compatibility or not.
Installation log shows me some errors I can’t recognize:
[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.36-90-desktop/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.36-90-obj/i386/desktop'
make -C ../../../linux-2.6.36-90 O=/usr/src/linux-2.6.36-90-obj/i386/desktop/. modules
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:410:5: error: unknown field ‘ioctl’ specified in initializer
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:410:5: warning: initialization from incompatible pointer type
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.36-90-obj/i386/desktop'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : mkinitrd
Great that seems to work but before I try anything, would you tell me how do I apply these patches? I have seen somewhere that it needs the “patch” command but cannot find it even as root.
On 11/07/2010 12:36 PM, faco84 wrote:
>
> lwfinger;2249513 Wrote:
>> ATI seems to be a bit brain-dead when it comes to following kernel ABI
>> changes.
>>
>> According to
>> ‘AMD Game Forums - ati-driver-installer-10-10-x86.x86_64.run does not
>> work on linux kernel 2.6.36’
>> (http://forums.amd.com/game/messageview.cfm?catid=279&threadid=141734),
>> you need
>> to download and apply 4 patches from:
>>
>> ‘Index of /mirror/patch’ (http://www.cosmicencounter.net/mirror/patch/)
>>
>> ati-drivers-2.6.36.patch
>> arch-2.6.36.patch
>> ati-drivers-fix_compilation-bug-297322.patch
>> sema_init.patch
>
> Great that seems to work but before I try anything, would you tell me
> how do I apply these patches? I have seen somewhere that it needs the
> “patch” command but cannot find it even as root.
Whenever a command is missing, use the “cnf” command to find what package
contains it. On my system,
~> cnf patch
Program ‘patch’ is present in package ‘patch’.
This will create a new folder (/fglrx-install.****). Apply all patches to this new folder. It’s necessary to specify the sub-directory /common. Execute the following line for each patch and if it can’t find the right file try avoiding the /common folder
:
Make sure you’ve got all the right packages for current kernel version and hopefully from same source.
PS: BTW just realized you are asking about compiling and in my case I made a new kernel installation from repositories (multiple kernels). If so I’m not sure if this helps you.
Can’t yet find the changelog. We have to find if it supports or not the 6.36 kernel. However someone at forosuse.org mention that these patches works also for catalyst 10.11. Guess we have to make the try