progress... now the patch files are here but the build fails...
my box is running kernel 2.6.30-gentoo-r1
Code: Select all
>>> Emerging (1 of 1) x11-drivers/ati-drivers-9.6
* ati-driver-installer-9-6-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.30-gentoo-r1/build
* Found sources for kernel version:
* 2.6.30-gentoo-r1
* You have to Enable unused/obsolete exported symbols in Kernel hacking section of kernel config for fglrx to load
* Kernels newer then 2.6.28 are heavily patched and might result in runtime failitures.
* Consider them as unsupported by us.
* All bug reports are needed to be tested with 2.6.28 kernel
>>> Unpacking source...
* Applying ati-drivers-xen-8.552.patch ... [ ok ]
* Applying 2.6.29.patch ... [ ok ]
* Applying 2.6.30-enable_msi.patch ... [ ok ]
* Applying 2.6.30-irqreturn_t.patch ... [ ok ]
* Applying 2.6.30-rt_compat.patch ... [ ok ]
* Applying 2.6.30-tlb_flush.patch ... [ ok ]
* Applying ati-powermode-opt-path-2.patch ... [ ok ]
* Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/extra
>>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-9.6/work
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-9.6/work ...
* Preparing fglrx module
make -j 7 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.30-gentoo-r1 KDIR=/usr/src/linux kmod_build
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r1'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:44:2: error: #error unknown or undefined architecture configured
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function 'KCL_DEBUG_Print':
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:96: warning: format not a string literal and no format arguments
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function '__ke_printk':
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:157: warning: format not a string literal and no format arguments
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/acpi/platform/aclinux.h:55,
from include/acpi/platform/acenv.h:141,
from include/acpi/acpi.h:56,
from include/linux/acpi.h:39,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:19:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/acpi/platform/aclinux.h:55,
from include/acpi/platform/acenv.h:141,
from include/acpi/acpi.h:56,
from include/linux/acpi.h:39,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:19:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/device.h:22,
from include/linux/pci.h:53,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.c:35:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/device.h:22,
from include/linux/pci.h:53,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.c:35:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:97:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:97:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.30-gentoo-r1/arch/x86/include/asm/pci.h:4,
from include/linux/pci.h:1098,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.c:35:
include/linux/mm.h:446:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:494:62: warning: "NR_PAGEFLAGS" is not defined
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/sched.h:75,
from include/linux/poll.h:12,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:41:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/sched.h:75,
from include/linux/poll.h:12,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:41:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o] Error 1
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/device.h:22,
from include/linux/pci.h:53,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/device.h:22,
from include/linux/pci.h:53,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.c:35:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.c:35:
include/linux/mmzone.h:290: error: 'MAX_NR_ZONES' undeclared here (not in a function)
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o] Error 1
In file included from /usr/src/linux-2.6.30-gentoo-r1/arch/x86/include/asm/pci.h:4,
from include/linux/pci.h:1098,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:104:
include/linux/mm.h:446:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:494:62: warning: "NR_PAGEFLAGS" is not defined
In file included from /usr/src/linux-2.6.30-gentoo-r1/arch/x86/include/asm/pci.h:4,
from include/linux/pci.h:1098,
from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mm.h:446:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:494:62: warning: "NR_PAGEFLAGS" is not defined
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o] Error 1
In file included from /var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:437:
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info':
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t'
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageCache_Array':
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1236: warning: unused variable 'ret'
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1235: warning: unused variable 'i'
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_flush_tlb_onepage':
/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2355: warning: passing argument 1 of 'on_each_cpu' from incompatible pointer type
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-9.6/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r1'
make: *** [kmod_build] Error 2
*
* ERROR: x11-drivers/ati-drivers-9.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3350: Called linux-mod_src_compile
* environment, line 2533: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.30-gentoo-r1 KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-9.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-9.6/temp/environment'.
*
>>> Failed to emerge x11-drivers/ati-drivers-9.6, Log file:
>>> '/var/tmp/portage/x11-drivers/ati-drivers-9.6/temp/build.log'
* Messages for package x11-drivers/ati-drivers-9.6:
* You have to Enable unused/obsolete exported symbols in Kernel hacking section of kernel config for fglrx to load
* Kernels newer then 2.6.28 are heavily patched and might result in runtime failitures.
* Consider them as unsupported by us.
* All bug reports are needed to be tested with 2.6.28 kernel
*
* ERROR: x11-drivers/ati-drivers-9.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3350: Called linux-mod_src_compile
* environment, line 2533: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.30-gentoo-r1 KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-9.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-9.6/temp/environment'.
*
Please keep up the good work my portage maintainers friends, coz I really need this one for my new HD4770 :
- xf86-video-radeonhd does not support it
- x11-drivers/xf86-video-ati-9999 builds and loads but I have no xv, no GLX_texture_from_pixmap, etc. so I can run neither compiz nor mplayer , and there is no power mgmt so the gpu fan spins quite loud
TIA