0 Replies Latest reply on Dec 18, 2017 8:48 AM by kiro

    linux freezes on loading screen after installing the drivers every time?


      i face 2 problems when installing the ATI driver:

      1- it says that a file named /lib/modules/4.10.0-28-generic/build/include/linux/version.h isn't found...to solve it i execute this line in the terminal: sudo cp -v /usr/include/linux/version.h /lib/modules/$(uname -r)/build/include/linux as this suggests


      2- after installing it says "There were errors during installation. Details can be found in /usr/share/ati/fglrx-install.log"

      here is the log file...please help


      Check if system has the tools required for installation.

      Uninstalling any previously installed drivers.

      Unloading radeon module...

      rmmod: ERROR: Module radeon is in use

      Unloading drm module...

      rmmod: ERROR: Module drm is in use by: radeon ttm drm_kms_helper

      [Message] Kernel Module : Trying to install a precompiled kernel module.

      [Message] Kernel Module : Precompiled kernel module version mismatched.

      [Message] Kernel Module : Found kernel module build environment, generating kernel module now.

      AMD kernel module generator version 2.1

      doing Makefile based build for kernel 2.6.x and higher

      rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

      make -C /lib/modules/4.10.0-28-generic/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules

      make[1]: Entering directory '/usr/src/linux-headers-4.10.0-28-generic'

        CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o

      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:189:22: fatal error: asm/i387.h: No such file or directory

      compilation terminated.

      scripts/Makefile.build:294: recipe for target '/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed

      make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1

      Makefile:1524: recipe for target '_module_/lib/modules/fglrx/build_mod/2.6.x' failed

      make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2

      make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-28-generic'

      Makefile:88: recipe for target 'kmod_build' failed

      make: *** [kmod_build] Error 2

      build failed with return value 2

      [Error] Kernel Module : Failed to compile kernel module - please consult readme.

      [Reboot] Kernel Module : update-initramfs