Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284549 - ati-drivers-9.8 compilation on kernel >=2.6.31
Summary: ati-drivers-9.8 compilation on kernel >=2.6.31
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-09-11 00:35 UTC by Jan Psota
Modified: 2009-09-15 18:38 UTC (History)
4 users (show)

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


Attachments
ebuild patch (ati-drivers-9.8.ebuild.patch,821 bytes, patch)
2009-09-11 00:37 UTC, Jan Psota
Details | Diff
copy into x11-drivers/ati-drivers/files (fglrx_find_task_by_vpid.patch,581 bytes, patch)
2009-09-11 00:39 UTC, Jan Psota
Details | Diff
patch for 9.9 ebuild (ati-drivers-9.9.ebuild.patch,420 bytes, patch)
2009-09-13 22:49 UTC, Jan Psota
Details | Diff
patch for newer ati-drivers-9.9 ebuild (ati-drivers-9.9.ebuild.patch,1.10 KB, patch)
2009-09-14 08:54 UTC, Jan Psota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Psota 2009-09-11 00:35:32 UTC
emerge says:
"kernels newer then 2.6.30 are not supported by this driver"
but there is a workaround


Reproducible: Always

Steps to Reproduce:
1. emerge ati-drivers

Actual Results:  
Kernels newer then 2.6.30 are not supported by this driver
Downgrade your kernel


Expected Results:  
ati-drivers working on 2.6.31

ebuild and fglrx patches will come in a minute :-)
Comment 1 Jan Psota 2009-09-11 00:37:21 UTC
Created attachment 203752 [details, diff]
ebuild patch
Comment 2 Jan Psota 2009-09-11 00:39:00 UTC
Created attachment 203753 [details, diff]
copy into x11-drivers/ati-drivers/files
Comment 3 Jan Psota 2009-09-13 22:49:03 UTC
Created attachment 203979 [details, diff]
patch for 9.9 ebuild

This bug duplicates #284452.
Comment 4 Jan Psota 2009-09-13 22:55:07 UTC
ati-drivers-9.*.ebuild in portage haven't changed and so this bug lives
Comment 5 Wormo (RETIRED) gentoo-dev 2009-09-13 23:25:01 UTC
Cool, that's a nice small compile fix. How long have you been running it with 2.6.31, and have you noticed any runtime problems yet?
Comment 6 Jan Psota 2009-09-14 00:55:28 UTC
(In reply to comment #5)
> Cool, that's a nice small compile fix. How long have you been running it with
> 2.6.31, and have you noticed any runtime problems yet?
> 
Linux version 2.6.31-vs (root@gandalf) (gcc version 4.4.1 (Gentoo 4.4.1 p1.0) ) #1 SMP PREEMPT Thu Sep 10 19:00:57 CEST 2009
total about 33h up for now :-) with no problems, fglrx v9.9 since today's morning
Comment 7 Helmut Jarausch 2009-09-14 07:44:58 UTC
It doesn't work here. With a 2.6.31 kernel I get an unknown symbol
error when loading the kernel module.
Comment 8 Jan Psota 2009-09-14 08:00:38 UTC
(In reply to comment #7)
> It doesn't work here. With a 2.6.31 kernel I get an unknown symbol
> error when loading the kernel module.
> 
gandalf ~ # lsmod | grep fgl
fglrx                2159912  28
gandalf ~ # cat /proc/version
Linux version 2.6.31-vs (root@gandalf) (gcc version 4.4.1 (Gentoo 4.4.1 p1.0) ) #1 SMP PREEMPT Thu Sep 10 19:00:57 CEST 2009

It just works.
Maybe You have used old ebuild, manifest was not updated or what?
Comment 9 Helmut Jarausch 2009-09-14 08:15:13 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > It doesn't work here. With a 2.6.31 kernel I get an unknown symbol
> > error when loading the kernel module.
> > 
> gandalf ~ # lsmod | grep fgl
> fglrx                2159912  28
> gandalf ~ # cat /proc/version
> Linux version 2.6.31-vs (root@gandalf) (gcc version 4.4.1 (Gentoo 4.4.1 p1.0) )
> #1 SMP PREEMPT Thu Sep 10 19:00:57 CEST 2009
> 
> It just works.
> Maybe You have used old ebuild, manifest was not updated or what?

I've just (12:10 GMT) done eix-sync.
Then emerge -1 x11-drivers/ati-drivers gives me now
* Found sources for kernel version:
 *     2.6.31-gentoo
 * Kernels newer then 2.6.30 are not supported by this driver
 * 
 * ERROR: x11-drivers/ati-drivers-9.9 failed.


Comment 10 Jan Psota 2009-09-14 08:37:12 UTC
old ebuild to new differences:
< # $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.9.ebuild,v 1.1 2009/09/12 22:36:11 scarabeus Exp $
---
> # $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.9.ebuild,v 1.2 2009/09/13 20:29:09 scarabeus Exp $
104,105c104,105
< 	if kernel_is ge 2 6 32; then
< 		eerror "Kernels newer then 2.6.31 are not supported by this driver"
---
> 	if kernel_is ge 2 6 31; then
> 		eerror "Kernels newer then 2.6.30 are not supported by this driver"

That is the reason!
Use a patch for 9.8 ebuild.
Comment 11 Jan Psota 2009-09-14 08:54:04 UTC
Created attachment 203999 [details, diff]
patch for newer ati-drivers-9.9 ebuild

ati-drivers-9.9 ebuild has changed today, but name hasn't...
Comment 12 Helmut Jarausch 2009-09-14 09:04:16 UTC
(In reply to comment #11)
> Created an attachment (id=203999) [edit]
> patch for newer ati-drivers-9.9 ebuild
> 
> ati-drivers-9.9 ebuild has changed today, but name hasn't...
> 

Thanks, with that patch version-9.9 works just fine.
Helmut.
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-15 18:38:00 UTC
Thx for the bug and the patch.
Added to main tree right when Enrico tested it :]