Hello,
According to your previous post, you are trying to modify a kernel to add newer versions for some kernel modules (ice and iavf).
The kernel modules named ice and iavf are already included in the linux kernel shipped with latest Debian 11 (11.11):Why are you trying to replace the ice and iavf shipped in the Debian kernel ?Otherwise, the symbol auxiliary_device_init is used, as an example, in the linux kernel from Debian 12.8 by the following source code:As you can see, it used by the mellanox and ice kernel modules.
So, I suspect you are trying to add modules from newer kernels to an older kernel (backporting) modifing existing ones. Not only the ice and iavf kernel modules, but the mellanox, too.
This is not a trivial task, at all.
You would do better using a newer kernel with all required kernel modules.
Hope this helps.
--
notes:
1) you are not using the latest version 11.11 of Debian 11 (aka Bullseye):
2) please use code tags for code and logs; this time I changed for you previous posts.
According to your previous post, you are trying to modify a kernel to add newer versions for some kernel modules (ice and iavf).
The kernel modules named ice and iavf are already included in the linux kernel shipped with latest Debian 11 (11.11):
Code:
$ find /lib/modules/5.10.0-33-amd64/ -name ice.ko/lib/modules/5.10.0-33-amd64/kernel/drivers/net/ethernet/intel/ice/ice.ko$ find /lib/modules/5.10.0-33-amd64/ -name iavf.ko/lib/modules/5.10.0-33-amd64/kernel/drivers/net/ethernet/intel/iavf/iavf.kf
According to kernel source code, the symbol auxiliary_device_init is not used in the linux kernel from Debian 11.11; the following commands return nothing:I am not able to install Intel's ice iavf and mellanox driver at the same time as there is dependency on auxiliary driver. Getting below error whenI try to load load mlx when ice/iavf are already loadedCode:
[72867.066778] mlx5_core: disagrees about version of symbol auxiliary_device_init[72867.066781] mlx5_core: Unknown symbol auxiliary_device_init (err -22)
Code:
$ apt source linux-image-5.10.0-33-amd64-unsigned$ cd linux-5.10.226/drivers/net$ grep -r auxiliary_device_init
Code:
$ apt source linux-image-$(uname -r)-unsigned$ cd linux-6.1.115/drivers/net $ grep -r auxiliary_device_initethernet/mellanox/mlxsw/core_linecard_dev.c: err = auxiliary_device_init(&linecard_bdev->adev);ethernet/mellanox/mlx5/core/sf/dev/dev.c: err = auxiliary_device_init(&sf_dev->adev);ethernet/mellanox/mlx5/core/dev.c: ret = auxiliary_device_init(adev);ethernet/microsoft/mana/mana_en.c: ret = auxiliary_device_init(adev);ethernet/intel/i40e/i40e_client.c: ret = auxiliary_device_init(aux_dev);ethernet/intel/ice/ice_idc.c: ret = auxiliary_device_init(adev);
So, I suspect you are trying to add modules from newer kernels to an older kernel (backporting) modifing existing ones. Not only the ice and iavf kernel modules, but the mellanox, too.
This is not a trivial task, at all.
You would do better using a newer kernel with all required kernel modules.
Hope this helps.
--
notes:
1) you are not using the latest version 11.11 of Debian 11 (aka Bullseye):
2) please use code tags for code and logs; this time I changed for you previous posts.
Statistics: Posted by Aki — 2024-12-08 12:24