The Mellanox mlx4 device driver can be configured with a kernel configuration option for
debugging.
About this task
Debugging for the Mellanox mlx4 device driver is only available if the device
driver is compiled with the kernel-configuration menu option CONFIG_MLX4_DEBUG.
Procedure
-
Check that the device driver has the CONFIG_MLX4_DEBUG option
enabled.
-
Load the mlx4 modules with the sysfs parameter
debug_level=1
to write debug
messages to the syslog.
Check the value of the debug_level
parameter . If the parameter
is set to 0, you can set it to 1 with the following command:
echo 1 > /sys/module/mlx4_core/parameters/debug_level