Instalar drivers da AMD no Kali 2.0 [duplicado]

1

Estou tentando instalar o AMD Catalyst no meu Kali 2.0. Eu fiz algumas pesquisas e a coisa mais útil que encontrei foi isso poste aqui nos fóruns. Mesmo que eu estou no Kali 2.0 32bit eu consegui seguir os passos. No entanto, ao executar o comando de instalação

sh ati-installer.sh 15.20 --install

a instalação lança um erro. Aqui está o fglrx-install.log

Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Esse caminho, lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h não existe no meu sistema. Eu acredito que isso significa o seguinte caminho: /lib/modules/4.8.0-kali2-686-pae/build/include/linux/version.h .

Como posso alterar esse caminho para que ele consiga a versão atual? Se esse não é o problema, então alguém poderia me ajudar um pouco aqui?

Obrigado,

Andy

EDIT: eu criei esse caminho e adicionei o arquivo version.h dentro dele. Este é o novo fglrx-install.log

Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Errors during DKMS module removal
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0

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

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
cd /var/lib/dkms/fglrx/15.20.1046/build; sh make.sh --nohints --uname_r=4.6.0-kali1-686-pae --norootcheck...(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-15.20.1046 with DKMS
[Error] Kernel Module : Removing fglrx-15.20.1046 from DKMS

------------------------------
Deleting module version: 15.20.1046
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
    
por George H. 23.12.2016 / 17:04

1 resposta

0

fglrx installation requires that the system have kernel headers.

Primeiro atualize seu Kali fazendo isso

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

agora reinicie seu sistema e execute

sudo apt-get install linux-headers-$(uname -r)

Agora tente a instalação. Boa sorte.

    
por 22.03.2017 / 18:11