Comment 8 for bug 642518

Revision history for this message
Qihe Bian (ufosky) wrote : Re: package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: fglrx kernel module failed to build

--- kcl_ioctl.c.old 2010-09-15 16:38:39.399690030 +0200
+++ kcl_ioctl.c 2010-09-15 16:39:55.632689146 +0200
@@ -193,7 +193,7 @@
  */
 void* ATI_API_CALL KCL_IOCTL_AllocUserSpace32(long size)
 {
- return compat_alloc_user_space(size);
+ return KCL_IOCTL_AllocUserSpace32(size);
 }

 #endif // __x86_64__

Find the file /usr/src/fglrx-{version}/kcl_ioctl.c and do the change above,then reinstall your linux image package or fglrx-* package but not fglrx. Now reboot your system it will be ok.

But I can't understand why the function KCL_IOCTL_AllocUserSpace32(long size) call itself without any condition.Will it make infinite call?