Bug 141113

Summary: FGLRX driver will not install correctly with kernel-debug-2.6.15_rc5-20051212172304
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Gary Greene <greeneg>
Component: X11 3rd PartyAssignee: Jammy Zhou <atilinuxnovellbugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hyu, lmarsan, mtippett, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gary Greene 2005-12-29 22:07:40 UTC
Kernel installed via apt from kernel of the day repository. I get the following error when trying to install the fglrx ATI drivers (also from one of the repositories. The error I receive is the following:

greeneg@uriel:/home> sudo fglrx-kernel-build.sh
/usr/src/kernel-modules/fglrx /home
make -C /usr/src/linux modules SUBDIRS=/usr/src/kernel-modules/fglrx
make[1]: Entering directory `/usr/src/linux-2.6.15-rc5-20051212172304'

  WARNING: Symbol version dump /usr/src/linux-2.6.15-rc5-20051212172304/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/kernel-modules/fglrx/agpgart_be.o
/usr/src/kernel-modules/fglrx/agpgart_be.c: In function ‘__fgl_agp_init’:
/usr/src/kernel-modules/fglrx/agpgart_be.c:8166: error: implicit declaration of function ‘pm_register’
/usr/src/kernel-modules/fglrx/agpgart_be.c: In function ‘__fgl_agp_cleanup’:
/usr/src/kernel-modules/fglrx/agpgart_be.c:8176: error: implicit declaration of function ‘pm_unregister_all’
make[2]: *** [/usr/src/kernel-modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/kernel-modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-rc5-20051212172304'
make: *** [modules] Error 2

******************************
Build of kernel module failed!
******************************
Comment 1 Olaf Kirch 2006-01-02 09:12:46 UTC
Stefan, can you look into this please? Thanks!
Comment 2 Stefan Dirsch 2006-01-02 11:20:09 UTC
I hope that ATI can at least include this patch for the next release.

--- agpgart_be.c.orig   2005-12-05 14:28:33.836488799 +0100
+++ agpgart_be.c        2005-12-05 14:31:00.285174945 +0100
@@ -116,6 +116,7 @@
 #include <linux/pagemap.h>
 #include <linux/miscdevice.h>
 #include <linux/pm.h>
+#include <linux/pm_legacy.h>
 
 #if (LINUX_VERSION_CODE >= 0x020400)
 #define FGL_PM_PRESENT
Comment 3 Stefan Dirsch 2006-01-02 11:21:34 UTC
Of course ifdef'd depending on the kernel release ...
Comment 4 Stefan Dirsch 2006-01-25 13:45:05 UTC
If ATI will fix this does not depend on the severity.
Comment 5 Stefan Dirsch 2006-03-19 09:09:40 UTC
This has already been fixed in the ATI driver.