[Pkg-fglrx-devel] Bug#603415: Proprietary fglrx video driver fails to build using fglrx-modules-dkms

Paul O'Grady paul.ogrady at nuim.ie
Sat Nov 13 20:04:42 UTC 2010


Package: fglrx-modules-dkms
Version: 1:10-7-1

Hi

I'm having problems building the fglrx video driver for
2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21 UTC 2010 x86_64 GNU/Linux
following http://wiki.debian.org/ATIProprietary#Squeeze

I had it working previously (maybe with a different kernel version),
however I had a kernel issue and had to reinstall the current kernel,
now the driver won't build.

Any help would be greatly appreciated, as the open drivers are not
sufficient for my purposes

Thanks,

Paul


details below:


> cat /etc/debian_version
squeeze/sid


===============================================================================
>apt-get install fglrx-modules-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dkms
The following NEW packages will be installed:
  dkms fglrx-modules-dkms
0 upgraded, 2 newly installed, 0 to remove and 93 not upgraded.
Need to get 0B/1,676kB of archives.
After this operation, 7,770kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package dkms.
(Reading database ... 230738 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.1.1.2-5_all.deb) ...
Selecting previously deselected package fglrx-modules-dkms.
Unpacking fglrx-modules-dkms (from
.../fglrx-modules-dkms_1%3a10-7-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up dkms (2.1.1.2-5) ...
Setting up fglrx-modules-dkms (1:10-7-1) ...

Creating symlink /var/lib/dkms/fglrx/10-7/source ->
                 /usr/src/fglrx-10-7

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-amd64 -C /lib/modules/2.6.32-5-amd64/build
M=/var/lib/dkms/fglrx/10-7/build......(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.32-5-amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/10-7/build/ for more information.
0
0
dpkg: error processing fglrx-modules-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 fglrx-modules-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)


===============================================================================

>cat /var/lib/dkms/fglrx/10-7/build/make.log
DKMS make.log for fglrx-10-7 for kernel 2.6.32-5-amd64 (x86_64)
Sat Nov 13 19:37:38 GMT 2010
make: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
  LD      /var/lib/dkms/fglrx/10-7/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/10-7/build/firegl_public.o
In file included from /var/lib/dkms/fglrx/10-7/build/firegl_public.c:453:
/var/lib/dkms/fglrx/10-7/build/drm_proc.h: In function ‘FGLDRM__vma_info’:
/var/lib/dkms/fglrx/10-7/build/drm_proc.h:497: warning: format ‘%08lx’
expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
  CC [M]  /var/lib/dkms/fglrx/10-7/build/kcl_acpi.o
  CC [M]  /var/lib/dkms/fglrx/10-7/build/kcl_agp.o
  CC [M]  /var/lib/dkms/fglrx/10-7/build/kcl_debug.o
  CC [M]  /var/lib/dkms/fglrx/10-7/build/kcl_ioctl.o
/var/lib/dkms/fglrx/10-7/build/kcl_ioctl.c: In function
‘KCL_IOCTL_AllocUserSpace32’:
/var/lib/dkms/fglrx/10-7/build/kcl_ioctl.c:196: error: implicit
declaration of function ‘compat_alloc_user_space’
/var/lib/dkms/fglrx/10-7/build/kcl_ioctl.c:196: warning: return makes
pointer from integer without a cast
make[3]: *** [/var/lib/dkms/fglrx/10-7/build/kcl_ioctl.o] Error 1
make[2]: *** [_module_/var/lib/dkms/fglrx/10-7/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'



===============================================================================
>dpkg --list fglrx*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  fglrx-amdcccle <none>         (no description available)
ii  fglrx-atievent 1:10-7-1       external events daemon for the
non-free AMD/
ii  fglrx-control  1:10-7-1       control panel for the non-free AMD/ATI
r5xx,
un  fglrx-control- <none>         (no description available)
un  fglrx-control- <none>         (no description available)
ii  fglrx-driver   1:10-7-1       non-free AMD/ATI r6xx - r7xx display
driver
ii  fglrx-glx      1:10-7-1       proprietary libGL for the non-free
AMD/ATI r
ii  fglrx-glx-ia32 1:10-7-1       proprietary libGL for the non-free
AMD/ATI d
un  fglrx-kernel-s <none>         (no description available)
iF  fglrx-modules- 1:10-7-1       dkms module source for the non-free
AMD/ATI
ii  fglrx-source   1:10-7-1       kernel module source for the non-free
AMD/AT






More information about the Pkg-fglrx-devel mailing list