[Pkg-fglrx-devel] Bug#729765: fglrx-modules-dkms: fglrx module does not compile on recent x86 kernels

Jean-Marc Liotier jm at liotier.org
Sun Jan 5 23:16:24 UTC 2014

On Sun, Jan 5, 2014 at 7:33 AM, Ronny Standtke wrote:
> Would you mind trying the linux 3.12 kernel?  That is in jessie now and at least works for me.

According to AMD, there is a regression in the AMD Catalyst driver that should prevent that combination:
- 13.11 Beta V9.4 - Linux kernel 2.6 or above (up to 3.12)
- 13.12 - Linux kernel 2.6 or above (up to 3.11)


Do you confirm that you have fglrx 13.12-2 working with a 3.12 Kernel ?

Anyway, with 3.11-0.bpo.2-686-pae and fglrx 13.12-2, I get a failure to build the module:

Unpacking fglrx-modules-dkms (1:13.12-2) over (1:13.12-2) ...
Setting up fglrx-modules-dkms (1:13.12-2) ...
Loading new fglrx-13.12 DKMS files...
Building for 3.11-0.bpo.2-686-pae and 3.12-1-686-pae
Building initial module for 3.11-0.bpo.2-686-pae
Error! Bad return status for module build on kernel: 3.11-0.bpo.2-686-pae (i686)
Consult /var/lib/dkms/fglrx/13.12/build/make.log for more information.

root at kitandara:/home/jm# cat /var/lib/dkms/fglrx/13.12/build/make.log 
DKMS make.log for fglrx-13.12 for kernel 3.11-0.bpo.2-686-pae (i686)
Sun Jan  5 23:59:22 CET 2014
make: Entering directory `/usr/src/linux-headers-3.11-0.bpo.2-686-pae'
  LD      /var/lib/dkms/fglrx/13.12/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/firegl_public.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_acpi.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_agp.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_debug.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_ioctl.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_io.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_pci.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_str.o
  CC [M]  /var/lib/dkms/fglrx/13.12/build/kcl_iommu.o
/var/lib/dkms/fglrx/13.12/build/kcl_iommu.c: In function ‘KCL_IOMMU_CheckInfo’:
/var/lib/dkms/fglrx/13.12/build/kcl_iommu.c:191:28: error: ‘struct dev_archdata’ has no member named ‘iommu’
make[3]: *** [/var/lib/dkms/fglrx/13.12/build/kcl_iommu.o] Error 1
make[2]: *** [_module_/var/lib/dkms/fglrx/13.12/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.11-0.bpo.2-686-pae'

According to http://phoronix.com/forums/showthread.php?85672-AMD-Catalyst-Beats-NVIDIA-To-Linux-3-12-Support&p=368339#post368339
it may be caused by something expecting hardware iommu support while my Intel i7 processor uses a software one that uses DMA 
remapping (DMAR).

More information about the Pkg-fglrx-devel mailing list