Summary: | stabilize >=ati-drivers -8.29.6 for gentoo-sources 2.6.18 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Ward <james> |
Component: | New packages | Assignee: | X11 External Driver Maintainers <x11-drivers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abwalters, alonbl, anant, ben, benkstein, gent_bz, hkbst, ikelos, jakub, marienz, paolo.pedroni, parmigio, rmh3093, scott |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 148429 | ||
Attachments: |
ati-drivers-8.28.8-linux-2.6.18.patch
revised ebuild Improved patch for ebuild |
Description
James Ward
2006-09-20 15:30:51 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 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. *** 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.
*** 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. Created attachment 97676 [details]
revised ebuild
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). (In reply to comment #9) > Created an attachment (id=97676) [edit] > revised ebuild Please submit a patch... Not the whole ebuild. Thanks! 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. Confirmed. Thanks! (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 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
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. x86 stable and closing |