Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156790 - ati-drivers 8.28.8 dosent build against kernel 2.6.19
Summary: ati-drivers 8.28.8 dosent build against kernel 2.6.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 159345 159622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-01 04:50 UTC by Richard
Modified: 2007-09-04 01:38 UTC (History)
7 users (show)

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


Attachments
ati-drivers-8.28.8.ebuild.patch (ati-drivers-8.28.8.ebuild.patch,372 bytes, patch)
2006-12-29 00:35 UTC, Charlie Gehlin
Details | Diff
ati-drivers-8.28.8-all.patch (ati-drivers-8.28.8-all.patch,2.75 KB, patch)
2006-12-29 00:36 UTC, Charlie Gehlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2006-12-01 04:50:29 UTC
ric ric # emerge ati-drivers
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.28.8 to /
 * ati-driver-installer-8.28.8.run MD5 ;-) ...                                       [ ok ]
 * ati-driver-installer-8.28.8.run RMD160 ;-) ...                                    [ ok ]
 * ati-driver-installer-8.28.8.run SHA1 ;-) ...                                      [ ok ]
 * ati-driver-installer-8.28.8.run SHA256 ;-) ...                                    [ ok ]
 * ati-driver-installer-8.28.8.run size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                [ ok ]
 * checking miscfile checksums ;-) ...                                               [ ok ]
 * checking ati-driver-installer-8.28.8.run ;-) ...                                  [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-gentoo
 * Checking for MTRR support enabled ...                                             [ ok ]
 * Checking for AGP support enabled ...                                              [ ok ]
 * Checking for DRM support disabled ...                                             [ ok ]
 * X11 implementation is xorg-x11.
>>> Unpacking source...
 * Unpacking Ati drivers ...                                                         [ ok ]
 * Applying ati-powermode.sh.patch ...                                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ati-drivers-8.28.8 ...
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.19-gentoo'
  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_request_irq':
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2492: warning: passing argument 2 of 'request_irq' from incompatible pointer 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.19-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

!!! ERROR: x11-drivers/ati-drivers-8.28.8 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  ati-drivers-8.28.8.ebuild, line 204:   Called linux-mod_src_install
  linux-mod.eclass, line 540:   Called die

!!! doins fglrx.ko failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

steps to reproduce : emerge =ati-drivers-8.28.8
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 04:54:51 UTC
Way too old, try w/ 8.29.6 or newer please. 8.28.8 doesn't compile even w/ 2.6.18.
Comment 2 Richard 2006-12-01 05:03:25 UTC
Radeon 9250 and a lot more cards had their support
removed in later releases.
ATM it's the only driver to make those cards work
decently.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 06:33:18 UTC
(In reply to comment #2)
> Radeon 9250 and a lot more cards had their support
> removed in later releases.

Shrug... That's what you get w/ closed-source drivers.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-12-03 07:11:53 UTC
(In reply to comment #2)
> Radeon 9250 and a lot more cards had their support
> removed in later releases.
> ATM it's the only driver to make those cards work
> decently.
> 

It's good that they removed support for older card since Mesa DRI r200 supports 8500-9250 cards better than ati-drivers ever did. 
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-12-19 15:40:38 UTC
Removing block, ati-drivers is already broken in stable tree
Comment 6 Grant Edwards 2006-12-27 09:36:18 UTC
(In reply to comment #1)
> Way too old, try w/ 8.29.6 or newer please. 8.28.8 doesn't compile even w/
> 2.6.18.

It does with a very trivial patch.  What's broken isn't closed source.

The 8.28.8-r1 ebuild in my overlay works. I was going to submit it, but given the  hostility shown so far towards users of older boards, I gather it wouldn't be accepted.
Comment 7 Richard 2006-12-27 17:05:01 UTC
if it's true that the ati opensource driver works better
im willing to try it .. but with the amount of work involved
to install those and have accelerated video working , 
the old 8.28.8 closed source imho should be kept and 
made to work for users that aren't programmers or wizards 
with computers. 

Dont want to get philosophical in a bug report but it 
seems that we should be given what we need no matter how old
or " passe " our hardware seem to be.
 
At least someone please make ONE document for the older cards 
so we dont have to spend a day trying to figure it out 
if it's true the open source driver with acceleration is 
working better and is really simpler to install and configure.

Thank you :) 

/me steps off the soapbox
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 00:18:46 UTC
*** Bug 159345 has been marked as a duplicate of this bug. ***
Comment 9 Charlie Gehlin 2006-12-29 00:34:19 UTC
I'm on a R250 chipset w/ the problem. I submit my patches that works with ati-drivers-2.8.28 and gentoo-sources-2.6.19-r2 from my overlay below. It just might help you guys as well.

/Charlie
Comment 10 Charlie Gehlin 2006-12-29 00:35:21 UTC
Created attachment 104896 [details, diff]
ati-drivers-8.28.8.ebuild.patch

File to patch the ebuild.
Comment 11 Charlie Gehlin 2006-12-29 00:36:13 UTC
Created attachment 104897 [details, diff]
ati-drivers-8.28.8-all.patch

ati-drivers-8.28.8-all.patch to put in your 'ati-drivers/files' directory.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 08:51:56 UTC
*** Bug 159622 has been marked as a duplicate of this bug. ***
Comment 13 killertux 2007-01-01 13:48:11 UTC
Patch does not work if acpi USE flag is disabled.

and stock kernels 2.6.20-rc1, 2.6.20-rc2 and 2.6.20-rc3 all fails
but bit different error and the patch do not help with new compiling problems.
Comment 14 Pacho Ramos gentoo-dev 2007-02-19 18:33:14 UTC
(In reply to comment #2)
> Radeon 9250 and a lot more cards had their support
> removed in later releases.
> ATM it's the only driver to make those cards work
> decently.
> 

May be a "x11-drivers/ati-legacy-drivers" package should be created for separate mantainance like nvidia-legacy-drivers package... :-/

Thanks
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2007-07-03 13:08:46 UTC
May be we should check the kernel version and if it is >=2.6.19 stop installation with some useful words and point on this bug?
Comment 16 Richard 2007-07-03 21:27:04 UTC
8.28.8-r1 solves this gracefully for 2.16.19
i also tried -r1 with the 2.16.20 kernel , needs a 
small edit of the ebuild to point to the .20 patch
but once applied , i got the driver and 2.16.20 working.
i am about to try with 2.16.21-r3 and will certainly let
you know if it works too.

As far as i am concerned . this is a resolved issue.

Thank you to all that helped.Greatly appreciated.  

Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-09-04 01:38:00 UTC
Closing.