Bug 148424 - stabilize >=ati-drivers -8.29.6 for gentoo-sources 2.6.18
|
Bug#:
148424
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P1
|
|
Resolution: FIXED
|
Assigned To: x11-drivers@gentoo.org
|
Reported By: james@jamesward.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: stabilize >=ati-drivers -8.29.6 for gentoo-sources 2.6.18
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-09-20 15:30 0000
|
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
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
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.
*** Bug 148451 has been marked as a duplicate of this bug. ***
*** Bug 148463 has been marked as a duplicate of this bug. ***
*** Bug 148487 has been marked as a duplicate of this bug. ***
*** Bug 148488 has been marked as a duplicate of this bug. ***
I confirm it (at least) compiles.
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).
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.
(In reply to comment #5)
> Created an attachment (id=97613) [edit] [details]
> 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
The ati-drivers-8.28.8-linux-2.6.18.patch works fine for me on kernel 2.6.18
Guys, test it with the 8.29.6 now in portage, please.
> 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 :)
Maintainers: you need to fix this in the stable tree to prevent breakage when
2.6.18 goes stable next week
Ping, 2.6.18-r2 stable now on x86...
*** Bug 139624 has been marked as a duplicate of this bug. ***
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.
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.
I'm having the same problem with 2.6.18-r3 and ati-drivers-8.27.10-r1 for
amd64.
*** Bug 158119 has been marked as a duplicate of this bug. ***
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.
*** Bug 161324 has been marked as a duplicate of this bug. ***
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!
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 :)
8.32.5 is stable on x86
8.28.8 will have to follow
>>> 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
marienz, is bug 156790 in any way relevant for 8.28.8-r1 for kernels 2.6.19?
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.