Скачав ati-driver-installer-8.35.5-x86.x86_64.run з офіційного зайту. Виконав, ніби встановилось все вірно.
deb:/lib/modules/fglrx/build_mod# deb:/tmp# ./ati-driver-installer-8.35.5-x86.x86_64.run
Created directory fglrx-install.Je9960
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.35.5.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Detected configuration:
Architecture: i686 (32-bit)
X Server: X.Org 7.1.x
loki_setup: 2 Unable to find file 'install/usr/X11R6/lib/modules/dri/atiogl_a_dri.so' in '/tmp/fglrx-install.Je9960'
Removing temporary directory: fglrx-install.Je9960
deb:/tmp#
Для того, щоб створити (сгенерувати) мудуль ядра використовую стандартниц "генератор", який какже
deb:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-and-4-deb/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Вхожу у каталог "/usr/src/linux-2.6.20"
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: expected declaration specifiers or ‘...’ before ‘mlock’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: expected declaration specifiers or ‘...’ before ‘addr’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: expected declaration specifiers or ‘...’ before ‘len’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:210: warning: return type defaults to ‘int’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘_syscall2’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:210: error: expected declaration specifiers before ‘_syscall2’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:243: error: parameter ‘__ke_debuglevel’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:244: error: parameter ‘__ke_moduleflags’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:247: error: storage class specified for parameter ‘__mod_author247’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:247: error: parameter ‘__mod_author247’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:247: warning: ‘__used__’ attribute ignored
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:247: error: section attribute not allowed for ‘__mod_author247’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:248: error: storage class specified for parameter ‘__mod_description248’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:248: error: parameter ‘__mod_description248’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:248: warning: ‘__used__’ attribute ignored
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:248: error: section attribute not allowed for ‘__mod_description248’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: expected declaration specifiers before ‘;’ token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: storage class specified for parameter ‘__param_perm_check_firegl’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: parameter ‘__param_perm_check_firegl’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: storage class specified for parameter ‘__param_str_firegl’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: parameter ‘__param_str_firegl’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: storage class specified for parameter ‘__param_firegl’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: parameter ‘__param_firegl’ is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: warning: ‘__used__’ attribute ignored
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: section attribute not allowed for ‘__param_firegl’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: alignment may not be specified for ‘__param_firegl’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: ‘firegl’ undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:252: error: storage class specified for parameter
...,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5989: error: old-style parameter declarations in prototyped function definition
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: parameter name omitted
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: parameter name omitted
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:208: error: parameter name omitted
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5989: error: expected ‘{’ at end of input
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Помилка 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Помилка 2
make[1]: Залишаю каталог "/usr/src/linux-2.6.20"
make: *** [kmod_build] Помилка 2
build failed with return value 2
deb:/lib/modules/fglrx/build_mod#
Що мені з цим робити? Чи потрібно встановити якісь додаткові пакети?
Система Dedian Etch. Kernel-2.6.20 власної компіляції.