Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435322 - [x11 overlay] x11-drivers/ati-drivers-12.9 fglrx: unknown symbol KCL_AGP_FindCapsRegisters
Summary: [x11 overlay] x11-drivers/ati-drivers-12.9 fglrx: unknown symbol KCL_AGP_Find...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2012-09-17 11:29 UTC by Artemii
Modified: 2012-11-11 01:33 UTC (History)
5 users (show)

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

x11-drivers/ati-drivers-12.9 build.log (build.log,8.12 KB, text/plain)
2012-09-17 11:31 UTC, Artemii
gzipped kernel config (config.gz,25.39 KB, application/x-gzip)
2012-09-17 12:16 UTC, Artemii
patch for fglrx driver (KCL_AGP_FindCapsRegisters-stub.patch,799 bytes, patch)
2012-11-04 21:50 UTC, Vasiliy Yeremeyev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artemii 2012-09-17 11:29:56 UTC
fglrx kernel module can not load with error fglrx: Unknown symbol KCL_AGP_FindCapsRegisters (err 0)

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700 Series]

Portage (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.5.3-gentoo x86_64)
System uname: Linux-3.5.3-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
Timestamp of tree: Sun, 16 Sep 2012 10:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo science java-overlay x11 local
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=native -mtune=native -msseregparm -ftree-vectorize -fomit-frame-pointer -fgraphite-identity -fno-align-loops -fpredictive-commoning -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -msseregparm -ftree-vectorize -fomit-frame-pointer -fgraphite-identity -fno-align-loops -fpredictive-commoning -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,now"
LINGUAS="ru en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/x11 /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi avx berkdb bitmap-fonts bluetooth bluray boost branding browserplugin bzip2 c++0x cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dirac djvu dri dts dvb dvd dvdr egl emboss encode exif fam ffmpeg fftw firefox flac fortran freetype freetype2 gdbm gfortran gif gnutls gphoto2 gpm gtk iconv idn ieee1394 ipv6 jack java jpeg jpeg2k kde kipi ladspa latex lcms ldap libnotify lm_sensors logrotate lzma mad midi mmap mmx mng modules mozilla mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pango pcre pdf phonon pic plasma png policykit postgres postresql ppds pppd python python3 qt qt3support qt4 readline sdl semantic-desktop session shroedinger slang speex spell sqlite3 sse sse2 ssl startup-notification svg tcpd theora thread threads tiff truetype truetype-fonts type1-fonts udev udisks unicode upower usb utf8 vaapi vorbis vpx wxwidgets x264 xattr xcb xcomposite xinerama xml xrandr xscreensaver xv xvid xvmc xz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon fuji template ptp2 directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 coreboot" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa radeonsi radeon ati fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

Reproducible: Always
Comment 1 Artemii 2012-09-17 11:31:40 UTC
Created attachment 324086 [details]
x11-drivers/ati-drivers-12.9 build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-17 11:41:35 UTC
In the future, please set LC_MESSAGES=C when producing build logs for bug reports.
Please attach your kernel .config too.
Comment 3 Artemii 2012-09-17 12:16:48 UTC
Created attachment 324088 [details]
gzipped kernel config
Comment 4 emil karlson 2012-09-17 19:26:50 UTC
That symbol is provided by ati-drivers itself and is conditionally seems to depend on CONFIG_AGP

as a hotfix

Device Drivers  --->
Graphics support  --->
<m> /dev/agpgart (AGP Support)  --->
Comment 5 Denis M. (Phr33d0m) 2012-10-02 17:52:17 UTC
If you don't have an AGP card you're probably safe to ignore that warning.
(why >ati-drivers-12.6 still have code for AGP cards at all?)
Comment 6 Artemii 2012-10-02 19:37:54 UTC
(In reply to comment #5)
> If you don't have an AGP card you're probably safe to ignore that warning.

Modprobe returned error, not warning. This error may be resolved in further versions.
Comment 7 Denis M. (Phr33d0m) 2012-10-03 23:09:23 UTC
You're right I was just tested and hit this same wall. 

I think a lot of people will hit this issue so thanks to emil karlson for pointing a (lets hope) temporary workaround.
Comment 8 Alexandr Gluzskiy 2012-10-11 21:40:38 UTC
looks like this dependency related to cpu integrated graphics, as i see cpu integrated gart located inside agp submenu, so it may be persistent dependency
Comment 9 Michael Cook 2012-10-28 17:04:25 UTC
This also seems to effect x11-drivers/ati-drivers-12.11_beta, probably should add a check for CONFIG_AGP=m since the drivers fails to load without it.
Comment 10 Richard Herbert 2012-11-01 23:11:38 UTC
I can confirm that this happens on a Slackware Linux system running kernel 3.6.5, although it's slightly different in that the fglrx 12.10 module fails to compile. The thing I don't get is that I disabled support for AGP in my kernel ages ago, and this thing only pops up now. Regression?
Comment 11 Vasiliy Yeremeyev 2012-11-04 21:50:22 UTC
Created attachment 328358 [details, diff]
patch for fglrx driver

There is no stub for KCL_AGP_FindCapsRegisters in fglrx driver if it is compiled for AGP-less kernel.
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-11 01:33:18 UTC
Thanks, applied to 12.11_beta