bbswitch-dkms fails to build with jammy/linux-hwe-5.19

Bug #2002510 reported by Paolo Pisati
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bbswitch (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
bbswitch-dkms fails to build with jammy/linux-hwe-5.19.

[Test case]

 $ sudo apt-get install bbswitch-dkms

[Fix]

To fix it we can take two approches:

a) we import the Lunar version (0.8-14) into Jammy, and it's missing dependency (dh-dkms)

or

b) we apply the attached debdiff that is syncing the Jammy version up to Lunar, reverting on top the bits depending on dh-dkms.

Whichever is the path of last resistance, i'm happy with it.

[Regression potential]

It's the same DKMS we are already using in Lunar, and it contains all the fixes upstream developed so far: Jammy and Lunar share the same base version (0.8).

Paolo Pisati (p-pisati)
description: updated
Revision history for this message
Paolo Pisati (p-pisati) wrote :
description: updated
summary: - bbswitch-dkms fails to build with linux 5.19 on jammy
+ bbswitch-dkms fails to build with jammy/linux-hwe-5.19
tags: added: patch
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

uploaded changes into lunar to make it more backport friendly.

for jammy, i think i will upload cherrypick of linux-5.18 compat patch.

Changed in bbswitch (Ubuntu):
status: New → Fix Released
Changed in bbswitch (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Paolo, or anyone else affected,

Accepted bbswitch into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/bbswitch/0.8-10ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in bbswitch (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote (last edit ):

Confirmed that bbswitch-dkms (0.8-10ubuntu2.1) can be installed and built on a jammy system running the hwe-5.19 kernel:

=======================================
Setting up bbswitch-dkms (0.8-10ubuntu2.1) ...
Loading new bbswitch-0.8 DKMS files...
Building for 5.19.0-32-generic
Building initial module for 5.19.0-32-generic
Done.

bbswitch.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-32-generic/updates/dkms/
=======================================

I couldn't test loading the module due to lack of hardware.

ADT tests were also successful with the GA 5.15 kernel:

- amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/b/bbswitch/20230127_140815_7abe1@/log.gz
- arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/arm64/b/bbswitch/20230127_140058_98ecd@/log.gz

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bbswitch - 0.8-10ubuntu2.1

---------------
bbswitch (0.8-10ubuntu2.1) jammy; urgency=medium

  * Backport dkms support for HWE kernels. LP: #2002510

 -- Dimitri John Ledkov <email address hidden> Tue, 17 Jan 2023 12:02:20 +0000

Changed in bbswitch (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for bbswitch has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.