Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264021 - x11-drivers/ati-drivers-8.582 fails to build with gentoo-sources-2.6.29
Summary: x11-drivers/ati-drivers-8.582 fails to build with gentoo-sources-2.6.29
Status: RESOLVED DUPLICATE of bug 263686
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 23:29 UTC by Alexander Bartha
Modified: 2009-08-18 17:00 UTC (History)
18 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ati-drivers-8.593.ebuild with kernel 2.6.29 patch (ati-driver.tar,230.00 KB, application/tar)
2009-04-04 10:06 UTC, Andres Kahk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bartha 2009-03-27 23:29:00 UTC
after updating the kernel from gentoo-sources-2.6.28-r4 to gentoo-sources-2.6.29 rebuilding of x11-drivers/ati-drivers-8.582 fails.



Reproducible: Always

Steps to Reproduce:
1.install gentoo-sources-2.6.29
2.and try to install x11-drivers/ati-drivers-8.582
3.

Actual Results:  
make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.29-gentoo KDIR=/usr/src/linux kmod_build
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ?KCL_ACPI_EvalObject?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:229: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:255: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ?KCL_ACPI_GetNotifyHandler?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:483: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:485: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:487: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ?KCL_ACPI_GetNotifyContext?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:510: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:512: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:514: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ?KCL_ACPI_UpdateNotifyHandler?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:540: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ?KCL_ACPI_UpdateNotifyContext?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to incomplete type
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/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.582/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.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_GetEffectiveUid?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1411: error: ?struct task_struct? has no member named ?euid?
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_PosixSecurityCapSetIPCLock?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1785: error: ?struct task_struct? has no member named ?cap_effective?
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1789: error: ?struct task_struct? has no member named ?cap_effective?
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ?KCL_MEM_VM_GetRegionPhysAddrStr?:
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3229: warning: return makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3230: warning: return makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3231: warning: return makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3233: warning: return makes pointer from integer without a cast
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.582/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.582/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo'
make: *** [kmod_build] Error 2
 *
 * ERROR: x11-drivers/ati-drivers-8.582 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3296:  Called linux-mod_src_compile
 *             environment, line 2484:  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.29-gentoo 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/log/portage/x11-drivers:ati-drivers-8.582:20090327-225612.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.582/temp/environment'.
 *



emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Pentium-R-_D_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Fri, 27 Mar 2009 21:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.lagis.at/ ftp://gentoo.lagis.at/source/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr arts avahi avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus divx dri dts dv dvb dvd dvdnav dvdr dvdread eds emboss encode esd evo ffmpeg firefox flac fortran fuse gdbm gif glibc-omitfp glitz gmedia gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg jpeg2k kde lame ldap libnotify live mad matroska mdnsresponder-compat midi mikmod mjpeg mmap mmx mng mp3 mpeg mplayer mudflap mythtv ncurses nls no-helper nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl png pni ppds pppd python qt3 qt3support qt4 quicktime radio readline realmedia reflection samba sdl session slang spell spl sse sse2 ssl startup-notification stream svg svga sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utempter utf8 v4l v4l2 vcd vidix vlm vorbis win32codecs wmp wx x86 xanim xcb xcomposite xine xinerama xml xml2 xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ján Bednár 2009-03-28 12:26:49 UTC
Hi,
the same situation here.
We have to wait for ATI to release new version of their fglrx driver.
Comment 2 Alexander Bartha 2009-03-28 22:45:39 UTC
(In reply to comment #1)
> Hi,
> the same situation here.
> We have to wait for ATI to release new version of their fglrx driver.
> 
i found a solution at german gentoo forum but you have to use the offical ati-driver from ati.com:

download ati-driver-9.2-x86.x86_64.run from ati hompage

download patch: http://liquorix.net/patches/FGLRX-2.6.29-9.2-5.diff

copy patch and ati driver in a folder and change to folder

extract ati driver:
./ati-driver-installer-9.2-x86.x86_64.run --extract a

Patch ati driver:
patch -p0 < FGLRX-2.6.29-9.2-5.diff

Move patched ati driver:
mv a fglrx-2.9_patched

change to folder:
cd fglrx-2.9_patched

Install patched ati-driver:
./ati-installer.sh . --install

Well evening
Thanks to Zappel
Comment 3 Andres Kahk 2009-04-04 10:06:29 UTC
Created attachment 187275 [details]
ati-drivers-8.593.ebuild with kernel 2.6.29 patch

I made myself a ebuild,here it is if anyone want's to use it.
It's newer version ati-drivers but patch works there also.
Also don't enable Processor type and features  ---> x86 PAT support,
I get there only black screen.
Comment 4 DaggyStyle 2009-04-06 06:21:34 UTC
any news on the issue? when it will be resolved?
Comment 5 Thomas Raschbacher gentoo-dev 2009-04-06 08:42:11 UTC
would be nice to see this in the tree ..
Comment 6 DaggyStyle 2009-04-06 11:28:08 UTC
I'm using the ebuild from http://bugs.gentoo.org/show_bug.cgi?id=264011
works but my dmesg is full with this:
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f7f10ca2000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f3ffd8ac000,handle:0xe0000000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400e208000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400ffae000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400ffbe000,handle:0xe10bc000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f4010a5c000,handle:0xe0000000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fc000,handle:0xe11c1000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fd000,handle:0xe11c0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fe000,handle:0xe11bc000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f3ffd8ac000,handle:0xe0000000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400e208000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400ffae000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f400ffbe000,handle:0xe10bc000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f4010a5c000,handle:0xe0000000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fc000,handle:0xe11c1000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fd000,handle:0xe11c0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f40169fe000,handle:0xe11bc000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f7f10ca2000,handle:0xf6df0000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f7f10ca2000,handle:0xf6df0000

if someone uses the build from here, do you have similar errors?
Comment 7 Jeffrey Gardner (RETIRED) gentoo-dev 2009-04-06 13:58:30 UTC
I get the same errors as above with 8.593. I'm going to add the patch for 8.582 which is working better for me.
Comment 8 DaggyStyle 2009-04-06 14:11:05 UTC
(In reply to comment #7)
> I get the same errors as above with 8.593. I'm going to add the patch for 8.582
> which is working better for me.
> 

if it works ok, can you notify me?
Comment 9 brent 2009-04-07 07:06:54 UTC
just wanted to note that the patched ebuild worked great for me- 8.593, x86 arch. let me know if you want any more info
Comment 10 Alexander Bartha 2009-04-07 16:23:41 UTC
(In reply to comment #6)
> I'm using the ebuild from http://bugs.gentoo.org/show_bug.cgi?id=264011
> works but my dmesg is full with this:
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f7f10ca2000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f3ffd8ac000,handle:0xe0000000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400e208000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400ffae000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400ffbe000,handle:0xe10bc000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f4010a5c000,handle:0xe0000000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fc000,handle:0xe11c1000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fd000,handle:0xe11c0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fe000,handle:0xe11bc000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f3ffd8ac000,handle:0xe0000000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400e208000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400ffae000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f400ffbe000,handle:0xe10bc000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f4010a5c000,handle:0xe0000000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fc000,handle:0xe11c1000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fd000,handle:0xe11c0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f40169fe000,handle:0xe11bc000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f7f10ca2000,handle:0xf6df0000
> [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close]
> *ERROR* map not found -> inconsistent kernel data!!!
> vma_start:0x7f7f10ca2000,handle:0xf6df0000
> 
> if someone uses the build from here, do you have similar errors?
> 

I have the same errors with this package. This evening i will try the patched ebuild from Comment #3  (Andres Kahk).  
Comment 11 Alexander Bartha 2009-04-07 20:16:16 UTC
Now i have tried the posted ebuild ati-driver.tar.gz from Andres Kahk.
First i uninstalled my other ati-drivers-9.593 version then tried to install the ebuild from Andres Kahk in at first during build of glxgears -lGL not found --
but cleaning of libGL links havent solved the porblem eselect opengl xorg-x11 works fine. After that i installed the patched 9.2-ati-driver (from the hompage) and at least i could install the ati-driver-9.593 ebuild from Andres Kahk.
Wow
Yes it works but i have the same errors as before at dmesg
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0xb53c0000,handle:0xd1140000
well evening
Comment 12 Timothy Miller 2009-04-21 03:03:54 UTC
Is this driver supposed to work on amd64 systems?  I'm having problems loading the kernel module.  I get this error:

# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.29-gentoo-r1/video/fglrx.ko): Invalid module format
Comment 13 Timothy Miller 2009-04-21 14:44:18 UTC
Ok.  I don't know what happened before.  I think some part of system state got messed up earlier.  Doing some other X11-related thing, I managed to hang the system, and when I rebooted, I find that the fglrx driver loaded fine, and I was able to get X11 to start, and with some more effort, I was able to get KDE to work too!  For me, it's kindof amazing that I was able to get it to work.

So, next time I "emerge --sync", this is going to wipe out the driver you supplied.  Of course, I can add it back, but that gets tedious.  When do you think this driver (which works for me at least) will get added at least to unstable?  It's got my vote!
Comment 14 DaggyStyle 2009-04-21 15:59:34 UTC
(In reply to comment #13)
> Ok.  I don't know what happened before.  I think some part of system state got
> messed up earlier.  Doing some other X11-related thing, I managed to hang the
> system, and when I rebooted, I find that the fglrx driver loaded fine, and I
> was able to get X11 to start, and with some more effort, I was able to get KDE
> to work too!  For me, it's kindof amazing that I was able to get it to work.
> 
> So, next time I "emerge --sync", this is going to wipe out the driver you
> supplied.  Of course, I can add it back, but that gets tedious.  When do you
> think this driver (which works for me at least) will get added at least to
> unstable?  It's got my vote!
> 

first, you can create (that is the right way to do this) a local overlay and keep the ebuild

also, notice that neither one of us said the ebuild isn't working, it does but it is in no way suable to go into the tree because of the errors it generates.
just check your dmesg after a couple of hours of works.

Comment 15 Antek Grzymała (antoszka) 2009-04-23 08:36:48 UTC
Andres, please fix the attachment mime type (should not be text/plain). The browser tries to display it in a normal browser window.
Comment 16 Luca Barbato gentoo-dev 2009-04-23 08:42:18 UTC
this patch is even dirtier than the other proposed...
Comment 17 Luca Barbato gentoo-dev 2009-04-23 08:43:56 UTC

*** This bug has been marked as a duplicate of bug 263686 ***
Comment 18 Erdem 2009-06-16 15:10:55 UTC
Same problem goes on with the new kernel.

#uname -r
2.6.30-gentoo-r1

when i try to emerge x11-drivers/ati-drivers-8.593 it fails and error message says "See bug 264021"

i tried to emerge ati-drivers-8.593.ebuild with kernel 2.6.29 patch but also it fails. should i open a new bug report?

thanks..
Comment 19 Timothy Miller 2009-06-16 17:24:55 UTC
I hope I'm not out of line by suggesting this, but I solved my problem by ditching ATI's broken proprietary driver and switching to the new Free driver, radeonhd.  As far as I can tell, it works just as well, but I hardly use the desktop anyhow.  Just a little KDE now and again.

When I first installed Gentoo a few months ago, my card wasn't supported by the Free driver.  Now it is.  You should check to see if yours is too.  You may not get as much performance out of it, but it's a small price to pay to no longer have to deal with random crashes/lockups and filesystem corruption (thankfully, I keep backups!!!).
Comment 20 Erdem 2009-06-17 22:43:01 UTC
Thanks for your suggestions. I will give radeonhd driver a try. I downgraded to stable release and reinstalled gentoo. I thought that i wont have bugs with the stable release but it is full of bugs. First of all i tried to install 8.552-r2 but i couldnt get it compile. It gaves me an error like this http://bugs.gentoo.org/show_bug.cgi?id=248910 and i can run firefox like this:
dbus-launch firefox.. It complains about dbus library. So it makes me crazy.. It looks like Gentoo is dying or coming to an end :(
Comment 21 Timothy Miller 2009-06-18 03:14:39 UTC
We shouldn't turn this into a discussion forum, but I'm currently running unstable, and I have everything working splendidly.  When running unstable, one has to be patient, submitting bug reports and waiting for fixes, blocking updates manually, and other things.  I'm the impatient sort and I like things to "just work."  Gentoo doesn't "just work".  It takes an incredible effort to install, and requires a heck of a lot of learning.  But to me, it's worth it because I can get my system set up the way I want.  It's not automatic, though and requires a lot of googling and asking in forums when things aren't obvious (and they usually aren't).

Gentoo is being actively maintained by a lot of people.  The trouble is finding those people.  One great place is "http://forums.gentoo.org/".  But I don't always have the patience to wait for a response, so I got an IRC client and often frequent the #gentoo and #gentoo-chat channels on irc.freenode.net.  The people there are incredibly knowledgeable and helpful, and the responses come in seconds or minutes, not hours.

But be prepared to have done your homework before asking a question.  People have no patience for someone who didn't bother to google the error they're seeing.  If you haven't spent at least 10 minutes searching, people will know and won't find you worth helping.  Oh, and LISTEN to what people tell you.  I don't know how many times I've seen people get answers to questions just to turn around and ask the same question 2 minutes later.

Finally, to cap this off, the problems with the ATI drivers ARE ATI'S FAULT.  They wrote a lousy driver, and they didn't update it to work with the latest kernels.  The state Linux graphics drivers is very poor, and if you want to do something about it, go get involved with the Open Graphics Project.  As for your problem with dbus, I recall having some similar problem; IIRC, I'd forgotten to start the service.

That being said, I've felt your frustration before.  When things don't work, it can drive you mad, especially, when you feel like you've run out of ways to diagnose the problem, google tells you nothing, and people don't respond to your forum posts.  I seem to always find my answers on the IRC channel.

My apologies to everyone else for the spamming.