[Bug 196123] New: Backports Compatibility with RHEL 6.7-6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
          Reporter: jordan.wine@xxxxxxxxxxx
        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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux