Bug 196123
Summary: | Backports Compatibility with RHEL 6.7-6.9 | ||
---|---|---|---|
Product: | Backports project | Reporter: | Jordan Wine (jordan.wine) |
Component: | Backports | Assignee: | Backports Project Mailing List (backports) |
Status: | CLOSED WILL_NOT_FIX | ||
Severity: | normal | CC: | aspriel, Larrymuters0 |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.32-573 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Jordan Wine
2017-06-19 15:00:50 UTC
The 3.14 release of backports was the last release with any 2.6 kernel support. Dan On 6/19/17, 11:00 AM, "backports-owner@vger.kernel.org on behalf of bugzilla-daemon@bugzilla.kernel.org" <backports-owner@vger.kernel.org on behalf of bugzilla-daemon@bugzilla.kernel.org> wrote: https://bugzilla.kernel.org/show_bug.cgi?id=196123 Bug ID: 196123 Summary: Backports Compatibility with RHEL 6.7-6.9 Product: Backports project Version: unspecified Kernel Version: 2.6.32-573 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Backports Assignee: backports@vger.kernel.org Reporter: jordan.wine@parsons.com Regression: No Hello, My name is Jordan Wine. I am a Sr Systems Analyst with a large transportation engineering firm and have been trying to install backports-4.2.6-1 ath10k drivers on Red Hat Enterprise Linux 6.7. I have exhausted every resource on google, stack exchange, personal friends and Red Hat Kernel support team and at this point believe there is a compatibility issue with 6.7-6.9 version of RHEL. Let me also add the disclaimer that I am a kernel noob and rely heavily on the knowledge available in the community. I would be happy to be told backports has no such compatibility issue and there is simple configuration issues on my system preventing the install. The issue appears to be in addition to certain header files (autoconf.h and utsrelease.h) not being generated, the header file moduleparams.h included in backports calls the function __kernel_param_lock which is defined in later versions of kernel headers but not in the kernel shipped with RHEL 6.7. These errors occur during the “make” step of installation. This occurred both on kernel-2.6.32-573.el6.x86_64 and on kernel-2.6.32-696.3.1.el6.x86_64 (the latter is shipped with RHEL 6.9). See below for an output of the errors as well as general system information. Very Respectfully, -Jordan Wine [root@pars-lms backports-4.2.6-1]# make defconfig-ath10k cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c cc conf.o zconf.tab.o -o conf boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # [root@pars-lms backports-4.2.6-1]# make make[5]: `conf' is up to date. boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # Building backport-include/backport/autoconf.h ... done. CC [M] /root/backports-4.2.6-1/compat/main.o In file included from <command-line>:0: /root/backports-4.2.6-1/backport-include/backport/backport.h:3:32: error: generated/autoconf.h: No such file or directory In file included from /root/backports-4.2.6-1/backport-include/linux/bitops.h:5, from include/linux/kernel.h:15, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/generated/utsrelease.h:3:39: error: generated/utsrelease.h: No such file or directory In file included from /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:4, from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/dynamic_debug.h:117:1: warning: "dynamic_hex_dump" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:12:1: warning: this is the location of the previous definition In file included from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:22:1: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined In file included from /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:4, from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/dynamic_debug.h:80:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:441:1: warning: "printk_once" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:40:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:670:1: warning: "printk_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:56:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:694:1: warning: "pr_warn_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:92:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:705:1: warning: "pr_debug_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:122:1: warning: this is the location of the previous definition In file included from include/linux/module.h:17, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h: In function ‘backport_kernel_param_lock’: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h:9: error: implicit declaration of function ‘__kernel_param_lock’ /root/backports-4.2.6-1/backport-include/linux/moduleparam.h: In function ‘backport_kernel_param_unlock’: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h:14: error: implicit declaration of function ‘__kernel_param_unlock’ make[6]: *** [/root/backports-4.2.6-1/compat/main.o] Error 1 make[5]: *** [/root/backports-4.2.6-1/compat] Error 2 make[4]: *** [_module_/root/backports-4.2.6-1] Error 2 make[3]: *** [modules] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make: *** [default] Error 2 [root@pars-lms backports-4.2.6-1]# uname -a Linux pars-lms 2.6.32-696.3.1.el6.x86_64 #1 SMP Thu Apr 20 11:30:02 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux [root@pars-lms backports-4.2.6-1]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.7 (Santiago) [root@pars-lms backports-4.2.6-1]# rpm -qa |grep kernel dracut-kernel-004-409.el6_8.2.noarch kernel-headers-2.6.32-696.3.1.el6.x86_64 abrt-addon-kerneloops-2.0.8-34.el6.x86_64 kernel-devel-2.6.32-696.3.1.el6.x86_64 kernel-2.6.32-573.el6.x86_64 kernel-firmware-2.6.32-696.3.1.el6.noarch kernel-devel-2.6.32-573.el6.x86_64 kernel-2.6.32-696.3.1.el6.x86_64 libreport-plugin-kerneloops-2.0.9-24.el6.x86_64 [root@pars-lms backports-4.2.6-1]# which cc /usr/bin/cc [root@pars-lms backports-4.2.6-1]# ll /usr/bin/cc lrwxrwxrwx. 1 root root 12 Jun 15 06:24 /usr/bin/cc -> /usr/bin/gcc [root@pars-lms backports-4.2.6-1]# gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@pars-lms backports-4.2.6-1]# make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-redhat-linux-gnu -- You are receiving this mail because: You are the assignee for the bug.-- To unsubscribe from this list: send the line "unsubscribe backports" in Looks like my reply bounced due to the mailing address being wrong. So sending this again to the correct mailing list address. Sorry for the repeat if it actually went through. The 3.14 release of backports was the last release with any 2.6 kernel support. Dan On 6/19/17, 11:00 AM, "backports-owner@vger.kernel.org on behalf of bugzilla-daemon@bugzilla.kernel.org" <backports-owner@vger.kernel.org on behalf of bugzilla-daemon@bugzilla.kernel.org> wrote: https://bugzilla.kernel.org/show_bug.cgi?id=196123 Bug ID: 196123 Summary: Backports Compatibility with RHEL 6.7-6.9 Product: Backports project Version: unspecified Kernel Version: 2.6.32-573 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Backports Assignee: backports@vger.kernel.org Reporter: jordan.wine@parsons.com Regression: No Hello, My name is Jordan Wine. I am a Sr Systems Analyst with a large transportation engineering firm and have been trying to install backports-4.2.6-1 ath10k drivers on Red Hat Enterprise Linux 6.7. I have exhausted every resource on google, stack exchange, personal friends and Red Hat Kernel support team and at this point believe there is a compatibility issue with 6.7-6.9 version of RHEL. Let me also add the disclaimer that I am a kernel noob and rely heavily on the knowledge available in the community. I would be happy to be told backports has no such compatibility issue and there is simple configuration issues on my system preventing the install. The issue appears to be in addition to certain header files (autoconf.h and utsrelease.h) not being generated, the header file moduleparams.h included in backports calls the function __kernel_param_lock which is defined in later versions of kernel headers but not in the kernel shipped with RHEL 6.7. These errors occur during the “make” step of installation. This occurred both on kernel-2.6.32-573.el6.x86_64 and on kernel-2.6.32-696.3.1.el6.x86_64 (the latter is shipped with RHEL 6.9). See below for an output of the errors as well as general system information. Very Respectfully, -Jordan Wine [root@pars-lms backports-4.2.6-1]# make defconfig-ath10k cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c cc conf.o zconf.tab.o -o conf boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # [root@pars-lms backports-4.2.6-1]# make make[5]: `conf' is up to date. boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # Building backport-include/backport/autoconf.h ... done. CC [M] /root/backports-4.2.6-1/compat/main.o In file included from <command-line>:0: /root/backports-4.2.6-1/backport-include/backport/backport.h:3:32: error: generated/autoconf.h: No such file or directory In file included from /root/backports-4.2.6-1/backport-include/linux/bitops.h:5, from include/linux/kernel.h:15, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/generated/utsrelease.h:3:39: error: generated/utsrelease.h: No such file or directory In file included from /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:4, from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/dynamic_debug.h:117:1: warning: "dynamic_hex_dump" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:12:1: warning: this is the location of the previous definition In file included from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:22:1: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined In file included from /root/backports-4.2.6-1/backport-include/linux/dynamic_debug.h:4, from include/linux/kernel.h:20, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/dynamic_debug.h:80:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:441:1: warning: "printk_once" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:40:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:670:1: warning: "printk_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:56:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:694:1: warning: "pr_warn_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:92:1: warning: this is the location of the previous definition In file included from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: include/linux/kernel.h:705:1: warning: "pr_debug_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-4.2.6-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-4.2.6-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/printk.h:122:1: warning: this is the location of the previous definition In file included from include/linux/module.h:17, from /root/backports-4.2.6-1/backport-include/linux/module.h:3, from /root/backports-4.2.6-1/compat/main.c:1: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h: In function ‘backport_kernel_param_lock’: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h:9: error: implicit declaration of function ‘__kernel_param_lock’ /root/backports-4.2.6-1/backport-include/linux/moduleparam.h: In function ‘backport_kernel_param_unlock’: /root/backports-4.2.6-1/backport-include/linux/moduleparam.h:14: error: implicit declaration of function ‘__kernel_param_unlock’ make[6]: *** [/root/backports-4.2.6-1/compat/main.o] Error 1 make[5]: *** [/root/backports-4.2.6-1/compat] Error 2 make[4]: *** [_module_/root/backports-4.2.6-1] Error 2 make[3]: *** [modules] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make: *** [default] Error 2 [root@pars-lms backports-4.2.6-1]# uname -a Linux pars-lms 2.6.32-696.3.1.el6.x86_64 #1 SMP Thu Apr 20 11:30:02 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux [root@pars-lms backports-4.2.6-1]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.7 (Santiago) [root@pars-lms backports-4.2.6-1]# rpm -qa |grep kernel dracut-kernel-004-409.el6_8.2.noarch kernel-headers-2.6.32-696.3.1.el6.x86_64 abrt-addon-kerneloops-2.0.8-34.el6.x86_64 kernel-devel-2.6.32-696.3.1.el6.x86_64 kernel-2.6.32-573.el6.x86_64 kernel-firmware-2.6.32-696.3.1.el6.noarch kernel-devel-2.6.32-573.el6.x86_64 kernel-2.6.32-696.3.1.el6.x86_64 libreport-plugin-kerneloops-2.0.9-24.el6.x86_64 [root@pars-lms backports-4.2.6-1]# which cc /usr/bin/cc [root@pars-lms backports-4.2.6-1]# ll /usr/bin/cc lrwxrwxrwx. 1 root root 12 Jun 15 06:24 /usr/bin/cc -> /usr/bin/gcc [root@pars-lms backports-4.2.6-1]# gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@pars-lms backports-4.2.6-1]# make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-redhat-linux-gnu -- You are receiving this mail because: You are the assignee for the bug.-- To unsubscribe from this list: send the line "unsubscribe backports" in Ah, thank you Dan! Perhaps there was some documentation I missed indicating supported versions so I apologize. Unfortunately, even after an attempt with backports-3.14.22-1, I still get a lot of redefinition warnings and errors. I'm digging into it more at the moment and will reply once I have more information. [root@pars-lms backports-3.14.22-1]# make clean CLEAN /root/backports-3.14.22-1/.tmp_versions [root@pars-lms backports-3.14.22-1]# make defconfig-ath10k cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c cc conf.o zconf.tab.o -o conf boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # [root@pars-lms backports-3.14.22-1]# make make[5]: `conf' is up to date. boolean symbol HWMON tested for 'm'? test forced to 'n' boolean symbol HWMON tested for 'm'? test forced to 'n' # # configuration written to .config # Building backport-include/backport/autoconf.h ... done. CC [M] /root/backports-3.14.22-1/compat/main.o In file included from /root/backports-3.14.22-1/backport-include/linux/dynamic_debug.h:5, from include/linux/kernel.h:20, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/dynamic_debug.h:117:1: warning: "dynamic_hex_dump" redefined In file included from include/linux/kernel.h:18, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/printk.h:17:1: warning: this is the location of the previous definition In file included from include/linux/kernel.h:20, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/dynamic_debug.h:24:1: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined In file included from /root/backports-3.14.22-1/backport-include/linux/dynamic_debug.h:5, from include/linux/kernel.h:20, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/dynamic_debug.h:80:1: warning: this is the location of the previous definition In file included from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/kernel.h:242: error: redefinition of ‘struct backport_va_format’ In file included from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/kernel.h:441:1: warning: "printk_once" redefined In file included from include/linux/kernel.h:18, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/printk.h:45:1: warning: this is the location of the previous definition include/linux/kernel.h:478: error: redefinition of ‘backport_no_printk’ /root/backports-3.14.22-1/backport-include/linux/printk.h:97: note: previous definition of ‘backport_no_printk’ was here In file included from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/kernel.h:670:1: warning: "printk_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/printk.h:106:1: warning: this is the location of the previous definition In file included from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/kernel.h:694:1: warning: "pr_warn_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/printk.h:142:1: warning: this is the location of the previous definition In file included from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/kernel.h:705:1: warning: "pr_debug_ratelimited" redefined In file included from include/linux/kernel.h:18, from /root/backports-3.14.22-1/backport-include/linux/kernel.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/percpu.h:45, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/current.h:5, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/printk.h:172:1: warning: this is the location of the previous definition In file included from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:31, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/err.h:7:1: warning: "PTR_RET" redefined In file included from /root/backports-3.14.22-1/backport-include/linux/err.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/processor.h:31, from include/linux/prefetch.h:14, from include/linux/list.h:7, from /root/backports-3.14.22-1/backport-include/linux/list.h:3, from include/linux/module.h:9, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/err.h:64:1: warning: this is the location of the previous definition In file included from include/linux/pm.h:29, from /root/backports-3.14.22-1/backport-include/linux/pm.h:3, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/apic.h:6, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/smp.h:13, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/mmzone_64.h:12, from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/mmzone.h:4, from include/linux/mmzone.h:850, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: /root/backports-3.14.22-1/backport-include/linux/completion.h:14: error: redefinition of ‘reinit_completion’ include/linux/completion.h:86: note: previous definition of ‘reinit_completion’ was here In file included from /usr/src/kernels/2.6.32-696.3.1.el6.x86_64/arch/x86/include/asm/local.h:4, from include/linux/module.h:20, from /root/backports-3.14.22-1/backport-include/linux/module.h:3, from /root/backports-3.14.22-1/compat/main.c:1: include/linux/percpu.h:713: error: ‘printk_func_t’ undeclared here (not in a function) include/linux/percpu.h:713: warning: type defaults to ‘int’ in declaration of ‘per_cpu__printk_func’ In file included from include/linux/mmc/sdio_func.h:15, from /root/backports-3.14.22-1/backport-include/linux/mmc/sdio_func.h:4, from /root/backports-3.14.22-1/compat/compat-2.6.34.h:8, from /root/backports-3.14.22-1/compat/main.c:5: /root/backports-3.14.22-1/backport-include/linux/device.h:196:1: warning: "DEVICE_ATTR_RO" redefined In file included from /root/backports-3.14.22-1/backport-include/linux/device.h:4, from include/linux/mmc/sdio_func.h:15, from /root/backports-3.14.22-1/backport-include/linux/mmc/sdio_func.h:4, from /root/backports-3.14.22-1/compat/compat-2.6.34.h:8, from /root/backports-3.14.22-1/compat/main.c:5: include/linux/device.h:338:1: warning: this is the location of the previous definition In file included from include/linux/mmc/sdio_func.h:15, from /root/backports-3.14.22-1/backport-include/linux/mmc/sdio_func.h:4, from /root/backports-3.14.22-1/compat/compat-2.6.34.h:8, from /root/backports-3.14.22-1/compat/main.c:5: /root/backports-3.14.22-1/backport-include/linux/device.h:198:1: warning: "DEVICE_ATTR_RW" redefined In file included from /root/backports-3.14.22-1/backport-include/linux/device.h:4, from include/linux/mmc/sdio_func.h:15, from /root/backports-3.14.22-1/backport-include/linux/mmc/sdio_func.h:4, from /root/backports-3.14.22-1/compat/compat-2.6.34.h:8, from /root/backports-3.14.22-1/compat/main.c:5: include/linux/device.h:334:1: warning: this is the location of the previous definition In file included from /root/backports-3.14.22-1/compat/compat-2.6.34.h:8, from /root/backports-3.14.22-1/compat/main.c:5: /root/backports-3.14.22-1/backport-include/linux/mmc/sdio_func.h:21: error: redefinition of typedef ‘mmc_pm_flag_t’ include/linux/mmc/pm.h:25: note: previous declaration of ‘mmc_pm_flag_t’ was here make[6]: *** [/root/backports-3.14.22-1/compat/main.o] Error 1 make[5]: *** [/root/backports-3.14.22-1/compat] Error 2 make[4]: *** [_module_/root/backports-3.14.22-1] Error 2 make[3]: *** [modules] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make: *** [default] Error 2 So basically it looks like backports 3.14 was not configured to support all the kernel updates that RHEL backported into kernel 2.6.32 when they released 2.6.32-573. Many of the backports header files would check the kernel version and if less than X.X would define a function or variable that RHEL already defines. To solve this, I wrapped these instances in the backports header files in #if (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(6,7)) #endif /* RHEL_RELEASE_CODE < 6.7 */ and the module compiled. This was required on the following files backport-include/linux/dynamic_debug.h backport-include/linux/printk.h backport-include/linux/err.h backport-include/linux/device.h backport-include/linux/mmc/sdio_fumakenc.h backport-include/net/inet_frag.h backport-include/linux/in.h backport-include/net/ip.h backport-include/net/ipv6.h Also, even after the module compiled, the compat module would re-export symbols already owned by the kernel (same basic issue as with the header files). So i commented out "/* EXPORT_SYMBOL_GPL(platform_device_register_data); */" from compat/compat-2.6.33.c and /* EXPORT_SYMBOL_GPL(get_random_int); */ from compat/backport-3.10.c and after recompiling, the module loaded. The backports framework has been mostly designed to work with vanilla target kernels. There have been discussions about going through target kernel symbols, but experiments showed tremendous increase in build times. So it was not further pursued. Maybe we can revisit the ideas. Makes complete sense. My application requirements are pretty unique. In the case of RHEL, I'd imagine that very few people would need to use backports on an older build like RHEL 6.7 instead of simply just using a newer RHEL build so it makes absolute sense not to support it directly. If it was feasible though, I could see value in perhaps providing some documentation or notes to jump start those who would like to utilize backports on non-vanilla kernels. How easy that would be or even how useful it would be I'm not sure. Sorry, we have no capacity to deal with all the jungle of old versions you're mentioning. We can barely keep up with the latest backported to 3.something+. |