Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148424 - stabilize >=ati-drivers -8.29.6 for gentoo-sources 2.6.18
Summary: stabilize >=ati-drivers -8.29.6 for gentoo-sources 2.6.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 139624 148451 148463 148487 148488 158119 (view as bug list)
Depends on:
Blocks: 148429
  Show dependency tree
 
Reported: 2006-09-20 15:30 UTC by James Ward
Modified: 2007-03-04 19:03 UTC (History)
14 users (show)

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


Attachments
ati-drivers-8.28.8-linux-2.6.18.patch (ati-drivers-8.28.8-linux-2.6.18.patch,720 bytes, patch)
2006-09-21 01:21 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
revised ebuild (ati-drivers-8.28.8-r1.ebuild,10.88 KB, text/plain)
2006-09-21 10:22 UTC, Scott Alfter
Details
Improved patch for ebuild (ati-drivers-8.28.8-ebuild-linux-2.6.18.patch,522 bytes, patch)
2006-09-24 07:32 UTC, Matti Virkkunen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Ward 2006-09-20 15:30:51 UTC
Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 20 Sep 2006 20:00:07 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.6-r1, 2.0.29
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa asf bash-completion berkdb bitmap-fonts cdr cgwd cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode firefox foomaticdb fortran gdbm gif gimp glitz gnome gpm gstreamer gtk gtk2 hal hdaps imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kerberos kernel_linux ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev userland_GNU v4l video_cards_fglrx video_cards_radeon vorbis win32codecs xcomposite xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 James Ward 2006-09-20 15:32:42 UTC
  CC [M]  /var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:233: error: 'UTS_RELEASE' undeclared here (not in a function)
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:447: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function 'firegl_stub_open':
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:570: warning: assignment discards qualifiers from pointer target type
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_vm_map':
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: 'VM_SHM' undeclared (first use in this function)
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: for each function it appears in.)
make[1]: *** [/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.18-gentoo'
 * DRM module not built
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.28.8

>>> Install ati-drivers-8.28.8 into /var/tmp/portage/ati-drivers-8.28.8/image/ category x11-drivers
 * Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory
Comment 2 Thijs Zandvliet 2006-09-20 17:10:16 UTC
Same problem over here and also the same errors on a different machine and different make.conf so i think it's a problem with the kernel.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 00:16:40 UTC
*** Bug 148451 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 01:15:26 UTC
*** Bug 148463 has been marked as a duplicate of this bug. ***
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-21 01:21:00 UTC
Created attachment 97613 [details, diff]
ati-drivers-8.28.8-linux-2.6.18.patch

I should have found this bug... :(
This patch solves the problem and should be compatible with older versions.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 04:31:51 UTC
*** Bug 148487 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 04:32:14 UTC
*** Bug 148488 has been marked as a duplicate of this bug. ***
Comment 8 Paolo Pedroni 2006-09-21 07:14:35 UTC
I confirm it (at least) compiles.
Comment 9 Scott Alfter 2006-09-21 10:22:36 UTC
Created attachment 97676 [details]
revised ebuild
Comment 10 Scott Alfter 2006-09-21 10:23:49 UTC
The patch works for me...a revised ebuild has been attached (inadvertently built against gentoo-sources-2.6.17-r8 as well, and it didn't complain).
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-21 10:26:11 UTC
(In reply to comment #9)
> Created an attachment (id=97676) [edit]
> revised ebuild

Please submit a patch... Not the whole ebuild.
Thanks!
Comment 12 James Ward 2006-09-21 10:49:47 UTC
FYI:  By upgrading to the latest ati-drivers (8.29.6 - not yet in portage) I was able to emerge the drivers without a patch.
Comment 13 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-21 11:00:29 UTC
Confirmed.
Thanks!
Comment 14 Natanael Copa 2006-09-21 23:57:26 UTC
(In reply to comment #5)
> Created an attachment (id=97613) [edit]
> ati-drivers-8.28.8-linux-2.6.18.patch
> 
> I should have found this bug... :(
> This patch solves the problem and should be compatible with older versions.

This patch should be commited. Even if ati-drivers-8.29.6 fixes it, there are some cards that they have dropped support for.
See #148407
Comment 15 Matti Virkkunen 2006-09-24 07:32:59 UTC
Created attachment 97945 [details, diff]
Improved patch for ebuild

Patch needs to be applied even if ACPI is not enabled, moved epatch outside if block
Comment 16 Gianluca Parmiggiani 2006-09-25 01:28:53 UTC
The ati-drivers-8.28.8-linux-2.6.18.patch works fine for me on kernel 2.6.18
Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2006-10-04 11:37:48 UTC
Guys, test it with the 8.29.6 now in portage, please.
Comment 18 Anant Narayanan (RETIRED) gentoo-dev 2006-10-04 11:44:11 UTC
> Guys, test it with the 8.29.6 now in portage, please.

I can confirm that 8.29.6 fixes the issue and all is well :) 

Comment 19 Daniel Drake (RETIRED) gentoo-dev 2006-10-19 18:27:36 UTC
Maintainers: you need to fix this in the stable tree to prevent breakage when 2.6.18 goes stable next week
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 08:12:48 UTC
Ping, 2.6.18-r2 stable now on x86...
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 13:24:43 UTC
*** Bug 139624 has been marked as a duplicate of this bug. ***
Comment 22 Henk Spaaij 2006-11-15 11:09:41 UTC
And a month later it broke my stable system ...
Tried unstable 8.30.3-r1 on Dell Inspiron 9400. Needed to disable framebuffer support to get a screen at boot. X worked fine though.
Comment 23 Benjamin Hodgetts 2006-11-15 13:40:35 UTC
This is worth doing anyway. I have no choice other than to use this driver as ATi dropped support for my card (Mobility 9000) in newer drivers.
Comment 24 Paul Sinnett 2006-12-02 18:22:57 UTC
I'm having the same problem with 2.6.18-r3 and ati-drivers-8.27.10-r1 for amd64. 
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-12-14 03:30:25 UTC
*** Bug 158119 has been marked as a duplicate of this bug. ***
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2007-01-03 01:55:24 UTC
Well folks, does actually someone _maintain_ ati-drivers? If not, we should package.mask the ebuilds; I understand that supporting this sucky proprietary thing is a PITA, so if you can't do that then p.mask it and say that you don't care. Otherwise, you'll need to keep up w/ kernel development and stabilization instead of ignoring long-lasting borkage in the tree.
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 14:40:05 UTC
*** Bug 161324 has been marked as a duplicate of this bug. ***
Comment 28 Michael Williamson 2007-01-28 17:27:30 UTC
Currently the latest stable ati-drivers (8.27.10-r1) do not compile against the latest stable kernel (2.6.18-r6). There is an obvious problem here for everyone that uses ati-drivers. This patch resolves the problem. Could you please apply it to 8.27.10 and 8.28.8. Also note that upgrading to a new version than 8.28.8 (which do work on the 2.6.18 kernel) is not an option for some users because ATI has dropped support for some cards in these new versions.

Thanks!
Comment 29 Marien Zwart (RETIRED) gentoo-dev 2007-02-05 11:17:33 UTC
I've just committed 8.28.8-r1 with the patch from this bug and the existing 2.6.19 patch applied. It compiles against a 2.6.19 kernel and should still work with older kernels.

CC-ing arch teams.

For ati-drivers to work with the current stable gentoo-sources kernel at all a version >= 8.28.8-r1 should be marked stable. upstream's 8.28.8 is the last version supporting a couple of cards, but since the -r1 that builds with a recent kernel was only committed a few minutes ago it might be better to leave that in ~arch for a while longer.

I think it would be best to mark 8.32.5 (last version that has been in the tree for more than 30 days) and the matching version of ati-drivers-extra stable, and mark 8.28.8-r1 (and its matching ati-drivers-extra version) stable in a few weeks.

(if other version(s) need to go stable, please tell me. I only personally use ati-drivers with a 9600xp card and ~arch xorg-server, if other cards or server versions require a different version I will not know unless someone tells me :)
Comment 30 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-08 17:24:05 UTC
8.32.5 is stable on x86
8.28.8 will have to follow
Comment 31 Simon Stelling (RETIRED) gentoo-dev 2007-02-12 00:26:48 UTC
>>> Test phase [check]: x11-drivers/ati-drivers-8.32.5
cc -ggdb -O1 -march=k8 -pipe   -c -o check.o check.c
gcc: check.c: No such file or directory
gcc: no input files
make: *** [check.o] Error 1

I just did RESTRICT=test as this is obviously broken

amd64 stable nevertheless
Comment 32 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-23 11:26:26 UTC
marienz, is bug 156790 in any way relevant for 8.28.8-r1 for kernels 2.6.19?
Comment 33 Marien Zwart (RETIRED) gentoo-dev 2007-02-23 14:33:58 UTC
8.28.8-r1 will not build with kernel 2.6.20. This is probably fixable, but I haven't looked into it yet. It should build with 2.6.19 (8.28.8 does not, iirc). A more serious problem is the xorg module will not load with xorg 7.2, and because we have no source at all for that module I do not think I can fix that. We may have to drop support for older ati-drivers in the near future after all and tell people to use xf86-video-ati for older cards (all the cards ati-drivers no longer supports are supported by xf86-video-ati, although I suspect performance in 3d with ati-drivers was better).

I'll try to get 8.28.8 to build with a .20 kernel soon.
Comment 34 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-04 19:03:24 UTC
x86 stable and closing