flgrx fails to install from Swat X PPA

Bug #642557 reported by Randy on 2010-09-19
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: xorg

This started after the most recent kernel updates on Lucid. No ATI drivers seem to be able to build and create the necessary kernel module with dkms. Attempted 10.5, 10.6, 10.7, 10.8, and 10.9 manually. Issue seems to possibly be related to a change that came out with the kernel update. See error message below from the dkms make log for most recent ATI driver.

AMD kernel module generator version 2.1
.
Active kernel:
uname -a = Linux Studio 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux
uname -s = Linux
uname -m = x86_64
uname -r = 2.6.32-24-generic
uname -v = #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010
.
Target kernel:
uname -a = Linux Studio 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux
uname -s = Linux
uname -m = x86_64
uname -r = 2.6.32-24-generic
uname -v = #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010
.
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.32-24-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.32-24-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/var/lib/dkms/fglrx/8.771/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
  CC [M] /var/lib/dkms/fglrx/8.771/build/2.6.x/firegl_public.o
  CC [M] /var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_acpi.o
  CC [M] /var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_agp.o
  CC [M] /var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_debug.o
  CC [M] /var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_ioctl.o
/var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_ioctl.c:196: error: implicit declaration of function ‘compat_alloc_user_space’
/var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_ioctl.c:196: warning: return makes pointer from integer without a cast
make[2]: *** [/var/lib/dkms/fglrx/8.771/build/2.6.x/kcl_ioctl.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.771/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Sun Sep 19 00:44:29 2010
MachineType: Dell Inc. Studio 540
ProcCmdLine: root=UUID=1480228b-2582-4d8a-bcb8-9148490323d5 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
XorgConf:

dmi.bios.date: 11/03/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.6
dmi.board.name: 0M017G
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: '01'
dmi.modalias: dmi:bvnDellInc.:bvr1.0.6:bd11/03/2008:svnDellInc.:pnStudio540:pvr:rvnDellInc.:rn0M017G:rvrA00:cvnDellInc.:ct3:cvr'01':
dmi.product.name: Studio 540
dmi.sys.vendor: Dell Inc.
glxinfo:
 Error: command ['glxinfo'] failed with exit code -11: Xlib: extension "GLX" missing on display ":0.0".
 Xlib: extension "GLX" missing on display ":0.0".
 Xlib: extension "GLX" missing on display ":0.0".
 Xlib: extension "GLX" missing on display ":0.0".
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-24-generic

Randy (rbrickler) wrote :
Philippe Lefevre (ph-l) wrote :

I have the same issue. Doing the makefile by hand give the reports.
In my case, I installed the 10.8 catalyst driver before. It didn't cause any trouble
Due to some display troubles I installed catalyst 10.9 without problem either and all my previous troubles were fixed.
I noticed that the catalyst control center panel was still showing "Catalyst 10.8" instead of the new driver one
So I deinstalled all, reboot and reinstall 10.9 again but, this time, with the error described here.
Beetwen the driver 10.8 and driver 10.9 installations, there was a kernel change (2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux).

here are the errors I've got :
- Logfile -
cleaning build area....
cd /var/lib/dkms/fglrx/8.771/build; sh make.sh --nohints --uname_r=2.6.32-24-generic --norootcheck......(bad exit status: 1)
0
0
[Error] Kernel Module : Failed to build fglrx-8.771 with DKMS
[Error] Kernel Module : Removing fglrx-8.771 from DKMS

- make by hand -
/usr/src/fglrx-8.771# ./make.sh --nohints --uname_r=2.6.32-24-generic --norootcheck
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/usr/src/fglrx-8.771/2.6.x modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-24-generic »
  CC [M] /usr/src/fglrx-8.771/2.6.x/firegl_public.o
  CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_acpi.o
  CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_agp.o
  CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_debug.o
  CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_ioctl.o
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c:196: error: implicit declaration of function ‘compat_alloc_user_space’
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c:196: warning: return makes pointer from integer without a cast
make[2]: *** [/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.o] Erreur 1
make[1]: *** [_module_/usr/src/fglrx-8.771/2.6.x] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-24-generic »
make: *** [kmod_build] Erreur 2
build failed with return value 2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers