Custom kernel compiled fine, ATI driver won't compile
Running Debian Sid, 64-bits. I can compile a kernel just fine, it boots just fine, but nothing I do will make the ATI catalyst driver install. Not once, but several times. Here's some info:
kernel source: Zen-sources, Debian, and plain vanilla. All 2.6.28.
ATI driver: 8.11, 9.1,9.2,9.3. All give the same results
These are the lines I use to compile
In the past I always used this command, and it always worked flawlessly (but I also had an NVIDIA card. unlike now):
make-kpkg --rootcmd fakeroot --initrd --revision=rob.64 kernel_image kernel_headers --append-to-version=.rob64
As I said, the kernel compiles, installs, and boots without problem. But I'm stuck with the radeonhd driver, which for my card (the R670 chip) has unacceptable performance. Usually, I only get an error message saying it failed to build, but once I got this error:
make-kpkg --initrd --revision=k8 --append-to-version=.rob64 kernel_image binary
All of the other times I got no error code, so I don't know if it is the same error every time. When I had an NVIDIA card, this never happened; at worst I had to use a workaround. ATI only installs if I use the precompiled kernel from the Debian repositories. Can anybody shed some light on this?
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol '__rcu_read_lock'
make: *** [__modpost] Error 1
make: *** [modules] Error 2
make: Leaving directory `/home/lucho/kernel_compiling/linux-source-2.6.28'
make: *** [build] Error 2
make: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2
See /var/cache/modass/fglrx-source.buildlog.2.6.28.rob64.1238186910 for details.
Build failed. Press Return to continue...