Re: Module failure on new install of Debian Bullseye

From: Leslie Rhorer
Date: Mon May 30 2022 - 02:43:31 EST




On 5/30/2022 1:08 AM, Christophe Leroy wrote:


Le 30/05/2022 à 01:46, Leslie Rhorer a écrit :

    Below is the output of dmesg after removing quite a few of what I
am certain are unrelated lines:

[    0.000000] Linux version 5.10.0-13-amd64
(debian-kernel@xxxxxxxxxxxxxxxx) (gcc-10 (Debian 10.2.1-6) 10.2.1
20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian
5.10.106-1 (2022-03-17)

[    1.465675] bnx2x: disagrees about version of symbol module_layout

[   12.075903] bnx2x: disagrees about version of symbol module_layout


Those two messages means that you are trying to use modules that were
built for a different kernel version.

That is pretty clear


As far as I can see you are using kernel 5.10

You have to use bnx2 modules for that exact kernel.

Right. I thought of compiling them myself, but so far I have not been successful in loading the kernel headers. I have tried adding a line to the sources.list file, but so far I haven't found a directory in the installation drive that apt doesn't complain about.