Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77586 - bbswitch-dkms 0.8-572 doesn't compile against linux-lts 6.1.12-1

Attached to Project: Community Packages
Opened by dbkblk (dbkblk) - Monday, 20 February 2023, 18:10 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 20 February 2023, 18:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 20 February 2023, 18:51 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Monday, 20 February 2023, 18:22 GMT
That error generally means you have the headers for that version, but not the kernel itself. What does pacman -Q linux-lts linux-lts-headers show?
Edit: pacman -Q linux linux-headers as well.
Comment by dbkblk (dbkblk) - Monday, 20 February 2023, 18:25 GMT
pacman -Q linux-lts linux-lts-headers
linux-lts 6.1.12-1.1
linux-lts-headers 6.1.12-1.1

(those are the rebuild with x86_64_v2)
Comment by Doug Newgard (Scimmia) - Monday, 20 February 2023, 18:27 GMT
And pacman -Q linux linux-headers?

If you're not using the Arch packages, this isn't an Arch issue.
Comment by dbkblk (dbkblk) - Monday, 20 February 2023, 18:29 GMT
I've tried to "downgrade" to the standard packages (no v2) linux-lts and linux-lts-headers and I see no error message but the module is still not there:
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod bbswitch/0.8 -k 6.1.12-1-lts
==> dkms remove --no-depmod bbswitch/0.8 -k 6.1.12-arch1-1.1
==> dkms remove bbswitch/0.8
:: Traitement des changements du paquet…
(1/1) réinstallation bbswitch-dkms [####################################################] 100%
:: Exécution des crochets (« hooks ») de post-transaction…
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod bbswitch/0.8 -k 6.1.12-1-lts
==> depmod 6.1.12-1-lts
[hadrien@hportable ~]$ sudo modprobe bbswitch
modprobe: ERROR: could not insert 'bbswitch': No such device
Comment by Doug Newgard (Scimmia) - Monday, 20 February 2023, 18:30 GMT
Notice the names there, your issue isn't with the lts kernel at all, it's with the standard kernel.

Anyway, this is a support issue, not a bug issue. Please seek support on the forums, IRC, or mailing lists.
Comment by dbkblk (dbkblk) - Monday, 20 February 2023, 18:30 GMT
I don't have linux and linux-headers because it is an optimus laptop, and I prefer to stay delayed because it often brings compatibility problems (like this one, for example...).
Comment by dbkblk (dbkblk) - Monday, 20 February 2023, 18:32 GMT
No, the lts is aligned with standard linux since today (both are 6.1.12) and you can dkms removing the linux module because I've made a test just some seconds before.

Loading...