You are not logged in.

#1 2023-02-20 18:50:04

dbkblk
Member
Registered: 2023-02-20
Posts: 2

[Solved] bbswitch-dkms 0.8 doesn't compile against linux-lts 6.1.12

Hi,

I opened a bug report, because it looks like a bug, but I was said to request help here : https://bugs.archlinux.org/task/77586#comment215403

Description:
I'm unable to compile bbswitch-dkms with the new linux-lts with linux-lts linux-lts-headers and bbswitch-dkms installed. It was working with the previous LTS kernel (5.15 if I remember).

Additional info:
The error is the following:
==> ERROR: Missing 6.1.12-arch1-1.1 kernel modules tree for module bbswitch/0.8.

Steps to reproduce:
pacman -S linux-lts linux-lts-headers bbswitch-dkms

If I install the linux-lts from the standard repos (not the v2), I get no compilation error BUT the module is not built and cannot be loaded.

[hadrien@hportable ~]$ sudo modprobe bbswitch
modprobe: ERROR: could not insert 'bbswitch': No such device
[hadrien@hportable ~]$ sudo dkms status
bbswitch/0.8, 6.1.12-1-lts, x86_64: installed

Can you help me?
Thank you

Last edited by dbkblk (2023-02-20 22:12:20)

Offline

#2 2023-02-20 18:55:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [Solved] bbswitch-dkms 0.8 doesn't compile against linux-lts 6.1.12

You've got two totally different things going on there. The error from DKMS is saying that it has the headers for the standard kernel but not the actual kernel/modules. It has nothing to do with the lts kernel.

The modprobe error is separate. It means the module was built and is present, but there's no device to use it with.

Online

#3 2023-02-20 19:50:20

dbkblk
Member
Registered: 2023-02-20
Posts: 2

Re: [Solved] bbswitch-dkms 0.8 doesn't compile against linux-lts 6.1.12

Thank you for trying to help me again smile
I'm really confused, because I had a previously working install with 5.15 and all I did first was "pacman -Syu". It stopped working.
Then, as described, I tried to reinstall linux / linux-lts / bbswitch-dkms etc and nothing worked.

I just powered on my laptop to answer you and... it works. I don't understand what has changed because I rebooted many times. Perhaps I needed to shut it down instead of rebooting? (because on my desktop, if I boot Windows then reboot, the sound card will crackle, but if I shut it down then start again, it does works properly).
Anyway, thank you a lot for your help smile

Last edited by dbkblk (2023-02-20 19:50:50)

Offline

Board footer

Powered by FluxBB