Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148424
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: X11 External Driver Maintainers <x11-drivers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: James Ward <james@jamesward.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ati-drivers-8.28.8-linux-2.6.18.patch ati-drivers-8.28.8-linux-2.6.18.patch patch Alon Bar-Lev (RETIRED) 2006-09-21 01:21 0000 720 bytes Details | Diff
ati-drivers-8.28.8-r1.ebuild revised ebuild text/plain Scott Alfter 2006-09-21 10:22 0000 10.88 KB Details
ati-drivers-8.28.8-ebuild-linux-2.6.18.patch Improved patch for ebuild patch Matti Virkkunen 2006-09-24 07:32 0000 522 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148424 depends on: Show dependency tree
Bug 148424 blocks: 148429
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From James Ward 2006-09-20 15:32:42 0000 -------
  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 From Thijs Zandvliet 2006-09-20 17:10:16 0000 -------
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 From Jakub Moc (RETIRED) 2006-09-21 00:16:40 0000 -------
*** Bug 148451 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2006-09-21 01:15:26 0000 -------
*** Bug 148463 has been marked as a duplicate of this bug. ***

------- Comment #5 From Alon Bar-Lev (RETIRED) 2006-09-21 01:21:00 0000 -------
Created an attachment (id=97613) [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.

------- Comment #6 From Jakub Moc (RETIRED) 2006-09-21 04:31:51 0000 -------
*** Bug 148487 has been marked as a duplicate of this bug. ***

------- Comment #7 From Jakub Moc (RETIRED) 2006-09-21 04:32:14 0000 -------
*** Bug 148488 has been marked as a duplicate of this bug. ***

------- Comment #8 From Paolo Pedroni 2006-09-21 07:14:35 0000 -------
I confirm it (at least) compiles.

------- Comment #9 From Scott Alfter 2006-09-21 10:22:36 0000 -------
Created an attachment (id=97676) [details]
revised ebuild

------- Comment #10 From Scott Alfter 2006-09-21 10:23:49 0000 -------
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 From Alon Bar-Lev (RETIRED) 2006-09-21 10:26:11 0000 -------
(In reply to comment #9)
> Created an attachment (id=97676) [edit] [details]
> revised ebuild

Please submit a patch... Not the whole ebuild.
Thanks!

------- Comment #12 From James Ward 2006-09-21 10:49:47 0000 -------
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 From Alon Bar-Lev (RETIRED) 2006-09-21 11:00:29 0000 -------
Confirmed.
Thanks!

------- Comment #14 From Natanael Copa 2006-09-21 23:57:26 0000 -------
(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

------- Comment #15 From Matti Virkkunen 2006-09-24 07:32:59 0000 -------
Created an attachment (id=97945) [details]
Improved patch for ebuild

Patch needs to be applied even if ACPI is not enabled, moved epatch outside if
block

------- Comment #16 From Gianluca Parmiggiani 2006-09-25 01:28:53 0000 -------
The ati-drivers-8.28.8-linux-2.6.18.patch works fine for me on kernel 2.6.18

------- Comment #17 From Raúl Porcel 2006-10-04 11:37:48 0000 -------
Guys, test it with the 8.29.6 now in portage, please.

------- Comment #18 From Anant Narayanan (RETIRED) 2006-10-04 11:44:11 0000 -------
> 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 From Daniel Drake 2006-10-19 18:27:36 0000 -------
Maintainers: you need to fix this in the stable tree to prevent breakage when
2.6.18 goes stable next week

------- Comment #20 From Jakub Moc (RETIRED) 2006-11-10 08:12:48 0000 -------
Ping, 2.6.18-r2 stable now on x86...

------- Comment #21 From Jakub Moc (RETIRED) 2006-11-10 13:24:43 0000 -------
*** Bug 139624 has been marked as a duplicate of this bug. ***

------- Comment #22 From Henk Spaaij 2006-11-15 11:09:41 0000 -------
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 From Benjamin Hodgetts 2006-11-15 13:40:35 0000 -------
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 From Paul Sinnett 2006-12-02 18:22:57 0000 -------
I'm having the same problem with 2.6.18-r3 and ati-drivers-8.27.10-r1 for
amd64. 

------- Comment #25 From Jakub Moc (RETIRED) 2006-12-14 03:30:25 0000 -------
*** Bug 158119 has been marked as a duplicate of this bug. ***

------- Comment #26 From Jakub Moc (RETIRED) 2007-01-03 01:55:24 0000 -------
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 From Jakub Moc (RETIRED) 2007-01-10 14:40:05 0000 -------
*** Bug 161324 has been marked as a duplicate of this bug. ***

------- Comment #28 From Michael Williamson 2007-01-28 17:27:30 0000 -------
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 From Marien Zwart (RETIRED) 2007-02-05 11:17:33 0000 -------
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 From Christian Faulhammer 2007-02-08 17:24:05 0000 -------
8.32.5 is stable on x86
8.28.8 will have to follow

------- Comment #31 From Simon Stelling (RETIRED) 2007-02-12 00:26:48 0000 -------
>>> 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 From Christian Faulhammer 2007-02-23 11:26:26 0000 -------
marienz, is bug 156790 in any way relevant for 8.28.8-r1 for kernels 2.6.19?

------- Comment #33 From Marien Zwart (RETIRED) 2007-02-23 14:33:58 0000 -------
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 From Christian Faulhammer 2007-03-04 19:03:24 0000 -------
x86 stable and closing

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug