Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Testing - Trixie] Error building missing btintel_pcie module for BT on Intel BE201

$
0
0
I've installed Testing on a Dell XPS 13 9359 with Lunar Lake 258V and a BE201 Wi-Fi/BT network device.

The WiFi works correctly with the iwlwifi module and the firmware which is already available in the deb package.
Instead, the Bluetooth device is not working due to missing driver and firmware. The firmware is available in the firmware git repo, but the module is missing (I've checked both config file in /boot directory and linux-config-6.12 package).
The module solves the issue, as can be seen when testing an Ubuntu 24.10 live stick.

After installing the required package dependencies, I've tried an in-tree build of the module with the following procedure:

Code:

sudo apt install linux-source-6.12mkdir ~/kernelcd ~/kerneltar xf /usr/src/linux-source-6.12.tar.xzcp /boot/config-6.12.6-amd64 .configcp /usr/src/linux-headers-6.12.6-amd64/Module.symvers .make clean
I've set CONFIG_BT_INTEL_PCIE=M (verified with grep on the saved .config file) using

Code:

make menuconfig
Then, I've compiled the module with
make module_prepare
make M=drivers/bluetooth

The building ends without any error or warning, but trying to load the modules with

Code:

sudo insmode drivers/bluetooth/btintel_pcie.ko
Which step I've missed or is wrong?
I get the following error:

Code:

insmod: ERROR: could not insert module drivers/bluetooth/btintel_pcie.ko: Invalid module format
Checking dmesg I get the following error:

Code:

module btintel_pcie: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time 
Checking with modinfo the module, I see

Code:

vermagic: 6.12.6 SMP preempt mod_unload modv versions
while checking a module in the kernel package (e.g., btintel) I see

Code:

vermagic: 6.12.6-amd64 SMP preempt mod_unload modv versions
The same happens if I disable the signature with

Code:

./script/config --disable MODULE_SIG

Statistics: Posted by TheNino — 2025-01-08 09:40 — Replies 0 — Views 31



Viewing all articles
Browse latest Browse all 3474

Trending Articles