Два офигенных релиза и такие же новости при установке.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'cpu_tlbstate'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
Quasar linux # mkdir -p /etc/portage/patches/sys-kernel/gentoo-sources/
вставляем patch:
Quasar linux # cat /etc/portage/patches/sys-kernel/gentoo-sources/gentoo-sources-4.0-no-GPL.patch
--- arch/x86/mm/init.c 2015-04-13 01:12:50.000000000 +0300
+++ arch/x86/mm/init.c 2015-04-14 18:01:22.963651359 +0300
@@ -744,7 +744,7 @@
#endif
.cr4 = ~0UL, /* fail hard if we screw up cr4 shadow initialization */
};
-EXPORT_SYMBOL_GPL(cpu_tlbstate);
+EXPORT_SYMBOL(cpu_tlbstate);
void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache)
{
Устанавливаем ядро смотрим сроку с патчем:
Quasar linux # emerge sys-kernel/gentoo-sources --ignore-default-opts --jobs=1 --quiet-build=n
...
* Applying user patches from /etc/portage/patches/sys-kernel/gentoo-sources ...
* gentoo-sources-4.0-no-GPL.patch ...
Пересобираем ядро:
Quasar linux #
make oldconfig && make && make modules_install
теперь можно устанавливать сам frglx
Quasar linux # emerge x11-drivers/ati-drivers --ignore-default-opts --jobs=1 --quiet-build=n
...
* Applying ati-drivers-15.1-kernel-4.0.patch ... [ ok ]
* Applying ati-drivers-15.1-kernel-4.0.2.patch ... [ ok ]
>>> Installing (1 of 1) x11-drivers/ati-drivers-15.1-r1::aweal