From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MDLkI-0006Tc-HA for garchives@archives.gentoo.org; Sun, 07 Jun 2009 17:01:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 955F4E03A1; Sun, 7 Jun 2009 17:01:02 +0000 (UTC) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by pigeon.gentoo.org (Postfix) with ESMTP id 2F0E3E03A1 for ; Sun, 7 Jun 2009 17:01:02 +0000 (UTC) Received: by ewy9 with SMTP id 9so3280859ewy.34 for ; Sun, 07 Jun 2009 10:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Dbnf67RJQY/K8/pJuLka2T8wYvWlXHJUkciESds6MLw=; b=JhfEsCVYzJXE2N+pVBoF/mW00/p6obUM8+CMxpc5lJkspT5OsAsP/ZsexR6BtalbPy 2V7jmioMRdWam/c8GOY41BNzlVIlSUtFD7xLES2WaUtlD1K8ZElpWtg/FXXOPmOl9TSW 8r35MpnN2XGgdR0Cc11eFktVQIhj+ehSkZCgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=coap5JQri6b2SphAZJ0KyqSad1Ly00kwijJTzNIHepteT8j3qIGrEkDenXe4o3TIzR gVGF5zkWJ3akxdKfnpEiARhBuO7eitZ3cAr5Xo9RJL1GLTQSHuz5vo+WAUJ6opsOHPvj LkYziAmrddq78iCzj1zI1ICCEgGgicIqNqoEY= Received: by 10.210.92.5 with SMTP id p5mr5312610ebb.15.1244394053073; Sun, 07 Jun 2009 10:00:53 -0700 (PDT) Received: from energy.localnet (energy.heim10.tu-clausthal.de [139.174.197.94]) by mx.google.com with ESMTPS id 7sm4310168ewy.82.2009.06.07.10.00.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Jun 2009 10:00:51 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Ati-drivers emerge fails. Date: Sun, 7 Jun 2009 19:00:34 +0200 User-Agent: KMail/1.11.90 (Linux/2.6.29.4r4; KDE/4.2.90; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200906071900.35161.volkerarmin@googlemail.com> X-Archives-Salt: 950e853a-f458-48d7-aef7-7771d0415c3c X-Archives-Hash: a76d8b6a67f58f99ecceff6ba3b7fd7c On Sonntag 07 Juni 2009, Hazen Valliant-Saunders wrote: > Good Day; > > ati-drivers fails to emerge; foolowed the somewhat out of date doc's > online. > > > emerge ati-drivers > Calculating dependencies... done! > > >>> Verifying ebuild manifests > >>> > >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.552-r2 > > * ati-driver-installer-8-11-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.29-gentoo-r5/build > * Found sources for kernel version: > * 2.6.29-gentoo-r5 > > >>> Unpacking source... > > Warning: target directory exists > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work > Verifying archive integrity... All good. > Uncompressing ATI Proprietary Linux > Driver-8.552............................................................... >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >.......................................... * 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-8.552-r2/work/extra > > >>> Source unpacked in > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work > > >>> Compiling source in > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work ... > * Preparing fglrx module > make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- > LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.29-gentoo-r5 KDIR=/usr/src/linux kmod_build > make -C /usr/src/linux > M=/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules >/fglrx/build_mod/2.6.x modules > make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5' > CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_agp.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_debug.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_ioctl.o > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_EvalObject': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:229: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:255: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyHandler': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:483: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:485: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:487: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyContext': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:510: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:512: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:514: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyHandler': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:540: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyContext': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:559: error: dereferencing pointer to > incomplete type > make[2]: *** > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/ >fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1429: error: 'struct task_struct' has > no member named 'euid' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function > 'KCL_PosixSecurityCapSetIPCLock': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1784: error: 'struct task_struct' has > no member named 'cap_effective' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1788: error: 'struct task_struct' has > no member named 'cap_effective' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function '__ke_vm_phys_addr_str': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3206: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3207: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3208: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3210: warning: return makes pointer > from integer without a cast > make[2]: *** > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/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-8.552-r2/work/common/lib/ >modules/fglrx/build_mod/2.6.x] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5' > make: *** [kmod_build] Error 2 > * > * ERROR: x11-drivers/ati-drivers-8.552-r2 failed. > * Call stack: > * ebuild.sh, line 48: Called src_compile > * environment, line 3410: Called linux-mod_src_compile > * environment, line 2596: 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=x86_64-pc-linux-gnu-gcc > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 > KVER=2.6.29-gentoo-r5 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-8.552-r2/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/environment'. > * > > Any ideas? > > There are many bugs listed on line but very few resolutions. > > Regards, yes, the driver is from the stone ages. Since binary drivers like ati's can't really be recompiled they become incompatible with newer kernel releases over time. In fact no released ati driver is compatible with 2.6.29 at the moment. Even the latest one (out for weeks but still not in portage), need a patch to compile against 2.6.29. So you have several possible ways to go: - stay with the old, buggy driver and an old kernel. - install a slightly newer driver and use 2.6.27 or 2.6.28. - download this: http://rapidshare.com/files/238417338/ati-drivers.tbz unpack in your overlay/x11-drivers directory (probably /usr/local/portage/x11- drivers) add =x11-drivers/ati-drivers-8.612 ** to /etc/portage/package.keywords emerge the drivers. That said, the ati driver versions in portage are all outdated. This sucks A LOT. And that a driver that is very buggy, whose ebuild was buggy and who is from somewhere summer/fall last year is hilarious - in a very sad way.