LINUX.ORG.RU

Проприетарные дрова не ставятся

 , , ,


0

1

Доброго времени суток.

Дан ноут с ATI видеокартой

:~> sudo lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal PRO [Radeon R7 M260]

На ноуте установлена OpenSUSE Tumbleweed.

Пытаюсь поставить проприетарные дрова из репозитария http://geeko.ioda.net/mirror/amd-fglrx/openSUSE_Tumbleweed/:

:~> sudo zypper install fglrx64_xpic_SUSETUMBLEWEED
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 5 NEW packages are going to be installed:
  fglrx64_amdcccle_SUSETUMBLEWEED fglrx64_core_SUSETUMBLEWEED fglrx64_graphics_SUSETUMBLEWEED fglrx64_opencl_SUSETUMBLEWEED fglrx64_xpic_SUSETUMBLEWEED

5 new packages to install.
Overall download size: 96.5 MiB. Already cached: 0 B. After the operation, additional 412.4 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package fglrx64_core_SUSETUMBLEWEED-15.200.1046-1.x86_64                                                                                                                                                                      (1/5),   2.6 MiB ( 19.3 MiB unpacked)
Retrieving: fglrx64_core_SUSETUMBLEWEED-15.200.1046-1.x86_64.rpm .......................................................................................................................................................................................................[done]
Retrieving package fglrx64_opencl_SUSETUMBLEWEED-15.200.1046-1.x86_64                                                                                                                                                                    (2/5),  53.5 MiB (219.1 MiB unpacked)
Retrieving: fglrx64_opencl_SUSETUMBLEWEED-15.200.1046-1.x86_64.rpm .........................................................................................................................................................................................[done (2.6 MiB/s)]
Retrieving package fglrx64_graphics_SUSETUMBLEWEED-15.200.1046-1.x86_64                                                                                                                                                                  (3/5),  31.0 MiB (145.7 MiB unpacked)
Retrieving: fglrx64_graphics_SUSETUMBLEWEED-15.200.1046-1.x86_64.rpm .......................................................................................................................................................................................[done (2.8 MiB/s)]
Retrieving package fglrx64_amdcccle_SUSETUMBLEWEED-15.200.1046-1.x86_64                                                                                                                                                                  (4/5),   9.4 MiB ( 28.3 MiB unpacked)
Retrieving: fglrx64_amdcccle_SUSETUMBLEWEED-15.200.1046-1.x86_64.rpm .......................................................................................................................................................................................[done (2.6 MiB/s)]
Retrieving package fglrx64_xpic_SUSETUMBLEWEED-15.200.1046-1.x86_64                                                                                                                                                                      (5/5),  13.0 KiB ( 10.6 KiB unpacked)
Retrieving: fglrx64_xpic_SUSETUMBLEWEED-15.200.1046-1.x86_64.rpm .......................................................................................................................................................................................................[done]
Checking for file conflicts: ...........................................................................................................................................................................................................................................[done]
(1/5) Installing: fglrx64_core_SUSETUMBLEWEED-15.200.1046-1 ............................................................................................................................................................................................................[done]
Additional rpm output:
Updating /etc/sysconfig/fglrxconfig ...
/usr/src/kernel-modules/fglrx /
Apply some patches ...
ati-CONFIG_SMP.patch applied successfully.
ati-2.6.27-build-fix-1.patch applied successfully.
ati-2.6.36-compat_alloc_user_space.patch applied successfully.
2 out of 2 hunks FAILED -- saving rejects to file firegl_public.c.rej
amd-3.19.0-kernel-compatibility.patch could not applied! Please report this bug to Sebastian Siebert <freespacer@gmx.de>. Thank you.
amd-4.0.0-kernel-compatibility-fixes.patch applied successfully.
amd-4.1.0-kernel-compatibility-fixes.patch applied successfully.
/

Used CPUs/Cores for compilation  =>  [ 4 ]


********************************************************************************
*                                                                              *
*   Kernel:    4.1.6-1-desktop                                                 *
*   Source:    /lib/modules/4.1.6-1-desktop/build                              *
*   Include:   /lib/modules/4.1.6-1-desktop/source/include                     *
*                                                                              *
********************************************************************************



file /lib/modules/4.1.6-1-desktop/source/include/../arch/x86/include/asm/compat.h says:COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
/usr/src/kernel-modules/fglrx/2.6.x /
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make: Entering directory '/usr/src/linux-4.1.6-1-obj/x86_64/desktop'
  LD      /usr/src/kernel-modules/fglrx/2.6.x/built-in.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_agp.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_debug.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_ioctl.o
/usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.c:832:20: warning: 'KCL_ACPI_Slot_No_Hotplug' defined but not used [-Wunused-function]
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)
                    ^
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_io.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_pci.o
In file included from /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:199:0:
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2738:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2741:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2746:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2805:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2810:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2816:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageSizeByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2874:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2879:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2885:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: At top level:
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:6449:12: warning: 'KCL_fpu_save_init' defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_str.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_iommu.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_wait.o
  LD [M]  /usr/src/kernel-modules/fglrx/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
/usr/src/linux-4.1.6-1/scripts/Makefile.modpost:93: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-4.1.6-1/Makefile:1413: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.1.6-1-obj/x86_64/desktop'

******************************
Build of kernel module failed!
******************************

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
/
Calling 'depmod -a 4.1.6-1-desktop' this may take a while...



********************************************************************************
*                                                                              *
*   Kernel:    4.1.6-2-desktop                                                 *
*   Source:    /lib/modules/4.1.6-2-desktop/build                              *
*   Include:   /lib/modules/4.1.6-2-desktop/source/include                     *
*                                                                              *
********************************************************************************



file /lib/modules/4.1.6-2-desktop/source/include/../arch/x86/include/asm/compat.h says:COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
/usr/src/kernel-modules/fglrx/2.6.x /
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make: Entering directory '/usr/src/linux-4.1.6-2-obj/x86_64/desktop'
  LD      /usr/src/kernel-modules/fglrx/2.6.x/built-in.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_agp.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_debug.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_ioctl.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_io.o
/usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.c:832:20: warning: 'KCL_ACPI_Slot_No_Hotplug' defined but not used [-Wunused-function]
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)
                    ^
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_pci.o
In file included from /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:199:0:
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2738:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2741:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2746:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2805:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2810:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2816:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageSizeByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2874:5: note: in expansion of macro 'PGD_PRESENT'
     PGD_PRESENT(pgd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2879:5: note: in expansion of macro 'PUD_PRESENT'
     PUD_PRESENT(pud_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:77:33: warning: return makes integer from pointer without a cast [-Wint-conversion]
 #define PAGING_FAULT_SIGBUS_INT (void*)(unsigned long)VM_FAULT_SIGBUS
                                 ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:16: note: in expansion of macro 'PAGING_FAULT_SIGBUS_INT'
         return PAGING_FAULT_SIGBUS_INT;   /* Something bad happened; generate SIGBUS */ \
                ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2885:5: note: in expansion of macro 'PMD_PRESENT'
     PMD_PRESENT(pmd_p);
     ^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: At top level:
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:6449:12: warning: 'KCL_fpu_save_init' defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_str.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_iommu.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl.o
  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_wait.o
  LD [M]  /usr/src/kernel-modules/fglrx/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
/usr/src/linux-4.1.6-2/scripts/Makefile.modpost:93: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-4.1.6-2/Makefile:1413: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.1.6-2-obj/x86_64/desktop'

******************************
Build of kernel module failed!
******************************

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
/
Calling 'depmod -a 4.1.6-2-desktop' this may take a while...


Summary report:
================================================================================

   Kernel     => 4.1.6-1-desktop
   Detected   => RPM package
   Build      => [ FAILURE ]
   Install    => [ FAILURE ]

   Kernel     => 4.1.6-2-desktop
   Detected   => RPM package
   Build      => [ FAILURE ]
   Install    => [ FAILURE ]

**************************************************************
Building/installation of fglrx kernel module failed! Try again
by calling "/usr/bin/fglrx-kernel-build.sh" manually.
**************************************************************


*************************************************************
Please read "/usr/share/doc/packages/fglrx-core/README.SuSE" for
configuration details when using SaX2.
*************************************************************

grep: /etc/sysconfig/kernel: No such file or directory
grep: /etc/sysconfig/kernel: No such file or directory
Creating initrd: /boot/initrd-4.1.6-1-desktop
Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.1.6-1-desktop 4.1.6-1-desktop
*** Including module: bash ***
*** Including module: systemd ***
*** Including module: systemd-initrd ***
*** Including module: i18n ***
*** Including module: network ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
*** Including module: kernel-modules ***
Omitting driver i2o_scsi
*** Including module: kernel-network-modules ***
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 50-firmware.rules
Skipping udev rule: 50-udev.rules
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: dracut-systemd ***
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including module: suse ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Generating early-microcode cpio image ***
*** Constructing GenuineIntel.bin ****
*** Store current command line parameters ***
Stored kernel commandline:
 resume=UUID=45c30f47-0305-4322-93c8-e071670e7055
 root=UUID=1efa3eb8-0c7d-41bb-80c4-07e18fb810ef rootfstype=ext4 rootflags=rw,relatime,commit=600,data=ordered
*** Creating image file '/boot/initrd-4.1.6-1-desktop' ***
*** Creating initrd image file '/boot/initrd-4.1.6-1-desktop' done ***
Creating initrd: /boot/initrd-4.1.6-2-desktop
Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.1.6-2-desktop 4.1.6-2-desktop
*** Including module: bash ***
*** Including module: systemd ***
*** Including module: systemd-initrd ***
*** Including module: i18n ***
*** Including module: network ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
*** Including module: kernel-modules ***
Omitting driver i2o_scsi
*** Including module: kernel-network-modules ***
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 50-firmware.rules
Skipping udev rule: 50-udev.rules
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: dracut-systemd ***
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including module: suse ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Generating early-microcode cpio image ***
*** Constructing GenuineIntel.bin ****
*** Store current command line parameters ***
Stored kernel commandline:
 resume=UUID=45c30f47-0305-4322-93c8-e071670e7055
 root=UUID=1efa3eb8-0c7d-41bb-80c4-07e18fb810ef rootfstype=ext4 rootflags=rw,relatime,commit=600,data=ordered
*** Creating image file '/boot/initrd-4.1.6-2-desktop' ***
*** Creating initrd image file '/boot/initrd-4.1.6-2-desktop' done ***


(2/5) Installing: fglrx64_opencl_SUSETUMBLEWEED-15.200.1046-1 ..........................................................................................................................................................................................................[done]
(3/5) Installing: fglrx64_graphics_SUSETUMBLEWEED-15.200.1046-1 ........................................................................................................................................................................................................[done]
Additional rpm output:
Check: No fglrx section.
Uninitialised file found, configuring.
PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
Switch to AMD
update-alternatives: error: alternative /usr/lib64/xorg/modules/extensions/fglrx/fglrx-libglx.so for libglx.so not registered; not setting

PowerXpress error: Switching libglx did not take effect.
update-alternatives: using /usr/lib64/xorg/modules/extensions/fglrx/fglrx-libglx.so to provide /usr/lib64/xorg/modules/extensions/libglx.so (libglx.so) in auto mode
Switch to AMD
Switch to AMD


(4/5) Installing: fglrx64_amdcccle_SUSETUMBLEWEED-15.200.1046-1 ........................................................................................................................................................................................................[done]
(5/5) Installing: fglrx64_xpic_SUSETUMBLEWEED-15.200.1046-1 ............................................................................................................................................................................................................[done]

По-видимому, эта проблема воспроизводится и под убунтой http://askubuntu.com/questions/655906/proprietary-fglrx-module-fails-to-compile-due-to-gpl-only-code.

Предлагается ее решать переписыванием MODULE_LICENSE

Есть ли более простое решение?



Последнее исправление: akopich (всего исправлений: 2)

Там всё просто. Залезать в пакет не надо, надо зайти в /usr/src/ещё_куда-то_там и отредактировать файл. Затем запустить sh-скрипт пересборки модуля ядра.

P.S. Когда всё будет установлено, не забудь сделать amdconfig --initial

ZenitharChampion ★★★★★
()
Ответ на: комментарий от ZenitharChampion

Спасибо. И правда просто.

А вообще проблема в ядре?

Для других возможных страждущих уточню: править нужно файл /usr/src/kernel-modules/fglrx/firegl_public.c: в MODULE_LICENSE вписать "GLP".

akopich
() автор топика
Ответ на: комментарий от akopich

> «GLP»

«GPL» только.

Всё началось в 2005 году. Ознакомься: http://www.opennet.ru/opennews/art.shtml?num=5031 Сейчас что-то ужесточили: какая-то ядерная функция, которой пользуются и NVIDIA, и Catalyst, стала GPL-only. Но ребята выкрутятся: 1, 2, 3.

ZenitharChampion ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.