Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172852 - x11-drivers/ati-drivers-8.35.5 error: fglrx: Unknown symbol try_to_freeze
Summary: x11-drivers/ati-drivers-8.35.5 error: fglrx: Unknown symbol try_to_freeze
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-31 07:48 UTC by Luigi 'Comio' Mantellini
Modified: 2007-11-23 02:16 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi 'Comio' Mantellini 2007-03-31 07:48:37 UTC
I have some problem after the emerge-ing of the new ebuild for ati-drivers (8.35.5). The driver fglrx is not loaded with this error in dmesg.

[code]
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol try_to_freeze
[/code]

I don't if this issue is related to my suspend2-sources kernel.
Ati-driver-8.34 work fine instead (ok... the bad ati-drivers cannot work fine for definition ;)).

bye

Reproducible: Always

Actual Results:  
fglrx isn't loaded and (consequently) X server doesn't start. 

Expected Results:  
fglrx module loaded

[emerge --info]
cassini comio # emerge --info
Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3 x86_64)
=================================================================
System uname: 2.6.19-suspend2-r3 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 31 Mar 2007 06:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.intergenia.de http://mirror.datapipe.net/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise /usr/portage/local/layman/gechi /usr/portage/local/layman/xeffects /usr/portage/local/layman/dev-zero /usr/portage/local/layman/stuart-perforce /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/gnome-experimental /usr/portage/local /usr/portage/local/comio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X acl acpi alsa amd64 avahi bash-completion beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dv dvb dvd dvdr dvdread eds emboss emf encode esd fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java jbig jpeg jpeg2k keyring laptop-mode lcd ldap libg++ libnotify lm_sensors lzo lzw mad midi mikmod mmap mono mp3 mpeg mplayer mtp ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime rar readline reflection samba screen sdl session spell spl ssl svg sysfs syslog tcpd threads tiff truetype truetype-fonts unicode upnp usb v4l v4l2 vorbis wifi wmf xcomposite xinerama xml xorg xv zip zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="vmware fglrx vesa radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2007-03-31 08:20:45 UTC
That's caused by the suspend2 patch. You can hack around it by removing the check for a 2.6.20 kernel for applying the 8.35.5-2.6.20 patch. The problem is some code moved from sched.h to freezer.h between 2.6.19 and 2.6.20, and the suspend2 patch for 2.6.19 includes that change. So I need to find a different way than a version check to apply that patch, or find a different header that includes the right header to get try_to_freeze on all kernel versions.
Comment 2 Luigi 'Comio' Mantellini 2007-03-31 08:27:33 UTC
thanks for the answer.

can you check with "linux_chkconfig_string CONFIG_SUSPEND2"?

italian ciao (by lapo)
Comment 3 Filip Brcic 2007-04-03 18:45:37 UTC
(In reply to comment #1)
> That's caused by the suspend2 patch. You can hack around it by removing the
> check for a 2.6.20 kernel for applying the 8.35.5-2.6.20 patch. The problem is
> some code moved from sched.h to freezer.h between 2.6.19 and 2.6.20, and the
> suspend2 patch for 2.6.19 includes that change. So I need to find a different
> way than a version check to apply that patch, or find a different header that
> includes the right header to get try_to_freeze on all kernel versions.

I had (still have, hope not for long :) ) the same problem and now I am downloading 2.6.20. Isn't it possible to make a patch for 2.6.19 or at least print a message that ati-drivers-8.35.5 are not compatible with suspend2-sources-2.6.19*? That can be checked while compiling the drivers (kernel_is eq 2.6.19 & linux_chkconfig_present CONFIG_SUSPEND2 or something like that) and the drivers could at least fail at that point instead of rendering the system unusable.

PS: My Xorg works, it just doesn't support accelerated OpenGL.
Comment 4 Noah Romer 2007-04-07 08:41:17 UTC
This isn't just an issue for the suspend2 sources. I switched to 2.6.19-gentoo-r5, recompiled ati-drivers 8.35.5 and still get "fglrx.ko needs unknown symbol try_to_freeze" when I modprobe fglrx.
Comment 5 Dieter Ries 2007-04-22 18:54:59 UTC
For me, removing that check, so the 2.6.20 patch is applied to the 2.6.19-r3 suspend2-sources, worked out. Now 35.5 compiled and its working quite well.
Comment 6 Jeffrey Gardner (RETIRED) gentoo-dev 2007-11-23 02:16:24 UTC
Fixed in 8.40.x release.