When attempting to run doca-kernel-support
I receive this error:
/opt/mellanox/doca/tools/doca-kernel-support
doca-kernel-support: Building under /tmp/DOCA.FNKhdOJ8dV
doca-kernel-support: Rebuilding kernel modules
doca-kernel-support: Building mlnx-ofa_kernel under /tmp/DOCA.FNKhdOJ8dV/build/mlnx-ofa_kernel with log /tmp/DOCA.FNKhdOJ8dV/logs/mlnx-ofa_kernel.log
doca-kernel-support: Error: Build of mlnx-ofa_kernel rpm failed. See log file /tmp/DOCA.FNKhdOJ8dV/logs/mlnx-ofa_kernel.log (returned: 1).
I have attached the logs file but towards the end of the file this error comes up providing more context.
In file included from /tmp/DOCA.7CXbF11wa8/build/mlnx-ofa_kernel/BUILD/mlnx-ofa_kernel-26.01/obj/defa
ult/drivers/net/ethernet/mellanox/mlx5/core/dpll.c:4:
/tmp/DOCA.7CXbF11wa8/build/mlnx-ofa_kernel/BUILD/mlnx-ofa_kernel-26.01/obj/default/drivers/net/ethern
et/mellanox/mlx5/core/dpll.c: In function 'mlx5_dpll_probe':
./include/linux/dpll.h:270:25: error: too few arguments to function 'dpll_device_get_rh'
270 | #define dpll_device_get dpll_device_get_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:270:25: note: in definition of macro 'dpll_device_get'
270 | #define dpll_device_get dpll_device_get_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:270:25: note: declared here
270 | #define dpll_device_get dpll_device_get_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:270:25: note: in definition of macro 'dpll_device_get'
270 | #define dpll_device_get dpll_device_get_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:272:25: error: too few arguments to function 'dpll_pin_get_rh'
272 | #define dpll_pin_get dpll_pin_get_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:272:25: note: in definition of macro 'dpll_pin_get'
272 | #define dpll_pin_get dpll_pin_get_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:272:25: note: declared here
272 | #define dpll_pin_get dpll_pin_get_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:272:25: note: in definition of macro 'dpll_pin_get'
272 | #define dpll_pin_get dpll_pin_get_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: error: too few arguments to function 'dpll_pin_put_rh'
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: in definition of macro 'dpll_pin_put'
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: declared here
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: in definition of macro 'dpll_pin_put'
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: error: too few arguments to function 'dpll_device_put_rh'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: note: in definition of macro 'dpll_device_put'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: note: declared here
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: note: in definition of macro 'dpll_device_put'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
/tmp/DOCA.7CXbF11wa8/build/mlnx-ofa_kernel/BUILD/mlnx-ofa_kernel-26.01/obj/default/drivers/net/ethern
et/mellanox/mlx5/core/dpll.c: In function 'mlx5_dpll_remove':
./include/linux/dpll.h:273:25: error: too few arguments to function 'dpll_pin_put_rh'
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: in definition of macro 'dpll_pin_put'
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: declared hered:
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:273:25: note: in definition of macro 'dpll_pin_put'─────────────────────
273 | #define dpll_pin_put dpll_pin_put_rh
| ^~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: error: too few arguments to function 'dpll_device_put_rh'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~sers/ibrahim.atomanson/Library/Cl
./include/linux/dpll.h:271:25: note: in definition of macro 'dpll_device_put'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: note: declared here
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
./include/linux/dpll.h:271:25: note: in definition of macro 'dpll_device_put'
271 | #define dpll_device_put dpll_device_put_rh
| ^~~~~~~~~~~~~~~~~~
mlnx-ofa_kernel.log.zip (35.2 KB)
Here is the kernel version:
5.14.0-570.103.1.el9_6.x86_64
RHEL9.6
DOCA version 3.3.0 (this also did not work on this kernel version for 3.2.1)
I have tested this also works on RHEL 10.1