I am on Fedora 38 and I cannot install the kernel module for a Broadcom BCM 43142 Network Controller. I eventually understood that it is because the module is not correctly signed and that I have to:
After disabling secure boot I could manage to have the module loaded and the wifi working.
But I came back re-enabling secure boot in order to try self sign the module.
I followed this tutorial Working with kerned modules but it didn't worked as I do not fully understand everything.
Particularly the module I have is /lib/modules/6.4.15-200.fc38.x86_64/extra/wl/wl.ko.xz
Is it normal that it ends with .ko.xz
?
Will the signed module have the same name?
Is it normal that it ends with .ko.xz?
Yes.
.xz
just means it's a compressed binary:
Modules can be compressed using either
gzip
orxz
. Compression is enabled using theMODULE_COMPRESS
kernel build option, withMODULE_COMPRESS_GZIP
orMODULE_COMPRESS_XZ
to select the compression tool.
Will the signed module have the same name?
By default, No.
...though a thoroughly correct answer would depend on how, exactly, you intend to sign and recompress the module file, though:
.ko.xz
to just .ko
)..ko
as-is, or you can recompress it again back with xz -f yourModule.ko
xz -f <output.ko>
then the actual output filename will be output.ko.xz
- this is because (by default) the xz
program will append the compression algorithm's name to the file's name.