Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82048

Summary: fglrx + kernel 2.6.8.1 fails to load fglrx.ko
Product: Gentoo Linux Reporter: Florian E.J. Fruth <spammail01>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: VERIFIED FIXED    
Severity: normal CC: absinthe
Priority: High    
Version: 2004.2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian E.J. Fruth 2005-02-14 15:52:52 UTC
today i recognized that i can't use 3d accelaration with the ati-drivers-8.8.25-r3. the following entry in syslog tells me why the fglrx driver couldn't be loaded correctly:

fglrx: Unknown symbol remap_pfn_range

after some investigation it seams that the fglrx-2.6-pagetable.patch does not work with 2.6.8.1. looking in the patch there are many #if LINUX_VERSION_CODE < foo ... statements. but non around the remap_pfn_range commands. the patch should be dropped for kernels which don't provide the remap_pfn_range functions. alternativly the patch could be improved to use more #if statements...
Comment 1 Luca Barbato gentoo-dev 2005-02-15 10:06:51 UTC
I'm tempted to just enforce a minimum kernel version, btw the kernel you are using has security issues.

I'll try to add the required ifdefs during the weekend or let Dylan try to fix the patch himself (I assume you can test the patch, isn't it?)
Comment 2 Florian E.J. Fruth 2005-02-15 10:17:37 UTC
which 2.6.8.1 < kernel < 2.6.8.11-rc4 doesn't have known security issues as well =? btw i also tried 2.6.8.11-rc4 and ati-drivers build also failed...
perhaps it's sufficient enough if you just change the ebuild to einfo "you need at least kernel x.y.z" and abort the emerge.
Comment 3 Luca Barbato gentoo-dev 2005-02-15 10:31:20 UTC
The target kernel version is .9 .10, at least I tested those.

I don't have the time to fix the .11 compatibility in the next 2 weeks due exams.
Comment 4 Graeme Humphries 2005-03-11 11:37:39 UTC
I'm seeing this problem on gentoo-dev-sources-2.6.9-r14 under amd64. What is the fix supposed to be?
Comment 5 Graeme Humphries 2005-03-11 11:44:51 UTC
Ahhh, looks like my problem is comment 6 from bug 80410.
Comment 6 Luca Barbato gentoo-dev 2005-03-11 15:21:27 UTC
linux 2.6.11 support in the latest ati-drivers, bug resolved
Comment 7 Luca Barbato gentoo-dev 2005-03-11 15:21:53 UTC
Closed, please open another bug for other unrelated problems