In the beggining I was getting this error:
# vim /usr/share/ati/fglrx-install.log
1
2 Creating symlink /var/lib/dkms/fglrx/8.85/source ->
3 /usr/src/fglrx-8.85
4
5 DKMS: add Completed.
6
7 Kernel preparation unnecessary for this kernel. Skipping...
8
9 Building module:
10 cleaning build area....
11 cd /var/lib/dkms/fglrx/8.85/build; sh make.sh --nohints --uname_r=2.6.38-2-6 86 --norootcheck.....(bad exit status: 1)
12 0
13 0
14 [Error] Kernel Module : Failed to build fglrx-8.85 with DKMS
15 [Error] Kernel Module : Removing fglrx-8.85 from DKMS
16
17 ------------------------------
18 Deleting module version: 8.85
19 completely from the DKMS tree.
20 ------------------------------
21 Done.
22 [Reboot] Kernel Module : update-initramfs
To avoid this problem I uninstalled the program dkms. I have to say that I don't know what is for this program and if you need it you can try to reinstall it after finishing the installation of the ATI driver.