проблема с ati-drivers

не устанавливается ati-drivers-8.28.8 (Radeon 9200) причем последняя версия драйверов устанавливается
ядро 2.6.22, X Window System Version 1.3.0

вот лог установки

>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.28.8 to /
* ati-driver-installer-8.28.8.run RMD160 ;-) ... [ ok ]
* ati-driver-installer-8.28.8.run SHA1 ;-) ... [ ok ]
* ati-driver-installer-8.28.8.run SHA256 ;-) ... [ ok ]
* ati-driver-installer-8.28.8.run size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking ati-driver-installer-8.28.8.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.22-gentoo/build
* Found sources for kernel version:
* 2.6.22-gentoo
* Checking for MTRR support enabled ...
[ ok ]
* Checking for AGP support enabled ...
[ ok ]
* Checking for DRM support disabled ...
[ ok ]
* X11 implementation is xorg-x11.
>>> Unpacking source...
* Unpacking Ati drivers ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.28.8 ...
* Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.22-gentoo'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:89:26: error: linux/config.h: Нет такого файла или каталога
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: expected declaration specifiers or ‘...’ before ‘mlock’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: expected declaration specifiers or ‘...’ before ‘addr’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: expected declaration specifiers or ‘...’ before ‘len’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:182: предупреждение: по умолчанию возвращаемый тип функции - ‘int’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c: В функции ‘_syscall2’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:182: ошибка: expected declaration specifiers before ‘_syscall2’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:215: ошибка: parameter ‘__ke_debuglevel’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:216: ошибка: parameter ‘__ke_moduleflags’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:219: ошибка: класс хранения в декларации параметра ‘__mod_author219’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:219: ошибка: parameter ‘__mod_author219’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:219: предупреждение: ‘__used__’ attribute ignored
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:219: ошибка: section attribute not allowed for ‘__mod_author219’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:220: ошибка: класс хранения в декларации параметра ‘__mod_description220’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:220: ошибка: parameter ‘__mod_description220’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:220: предупреждение: ‘__used__’ attribute ignored
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:220: ошибка: section attribute not allowed for ‘__mod_description220’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: expected declaration specifiers before ‘;’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: класс хранения в декларации параметра ‘__param_perm_check_firegl’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: parameter ‘__param_perm_check_firegl’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: класс хранения в декларации параметра ‘__param_str_firegl’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: parameter ‘__param_str_firegl’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: класс хранения в декларации параметра ‘__param_firegl’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: parameter ‘__param_firegl’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: предупреждение: ‘__used__’ attribute ignored
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: section attribute not allowed for ‘__param_firegl’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: alignment may not be specified for ‘__param_firegl’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: ‘firegl’ undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: (Each undeclared identifier is reported only once
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: for each function it appears in.)
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: класс хранения в декларации параметра ‘__mod_firegltype224’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: parameter ‘__mod_firegltype224’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: предупреждение: ‘__used__’ attribute ignored
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:224: ошибка: section attribute not allowed for ‘__mod_firegltype224’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:227: ошибка: класс хранения в декларации параметра ‘__mod_license227’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:227: ошибка: parameter ‘__mod_license227’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:227: предупреждение: ‘__used__’ attribute ignored
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:227: ошибка: section attribute not allowed for ‘__mod_license227’
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:233: ошибка: parameter ‘__ke_UTS_RELEASE’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:233: ошибка: ‘UTS_RELEASE’ undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:234: ошибка: parameter ‘__ke_PAGE_SHIFT’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:235: ошибка: parameter ‘__ke_PAGE_SIZE’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:236: ошибка: parameter ‘__ke_PAGE_MASK’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:237: ошибка: parameter ‘__ke_LINUX_VERSION_CODE’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:244: ошибка: parameter ‘__ke_MODVERSIONS_State’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:252: ошибка: parameter ‘__ke_SMP_State’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:258: ошибка: parameter ‘__ke_PAE_State’ is initialized
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:269: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:271: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:273: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:275: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
............................................
и так далее
............................................
var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3656: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3665: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3696: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3707: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3713: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3779: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3785: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3856: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3872: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3878: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3889: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3910: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3997: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:4039: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:4049: ошибка: старый стиль деклараций параметров в определении функции с прототипом
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: опущено имя параметра
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: опущено имя параметра
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:180: ошибка: опущено имя параметра
/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:4049: ошибка: expected ‘{’ at end of input
make[1]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Ошибка 1
make: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod] Ошибка 2
make: Leaving directory `/usr/src/linux-2.6.22-gentoo'
* DRM module not built
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.28.8

>>> Install ati-drivers-8.28.8 into /var/tmp/portage/x11-drivers/ati-drivers-8.28.8/image/ category x11-drivers
* Installing fglrx module
install: невозможно выполнить stat для `fglrx.ko': Нет такого файла или каталога
*
* ERROR: x11-drivers/ati-drivers-8.28.8 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_install
* ebuild.sh, line 1083: Called qa_call 'src_install'
* ebuild.sh, line 44: Called src_install
* ati-drivers-8.28.8.ebuild, line 192: Called linux-mod_src_install
* linux-mod.eclass, line 546: Called die
*
* doins fglrx.ko failed

Что не так? Что не правильно делаю?

Тут смотрели

Тут смотрели http://www.gentoo.org/doc/ru/ati-faq.xml
Была аналогичная ситуация видюха 9600ХТ.
Пока ядро не настроешь, работать толком не будет!

Еще смотри тут http://www.gentoo.org/doc/en/dri-howto.xml

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".