Bug 27064 - dkms-bbswitch needs a patch to build with kernel 5.7
Summary: dkms-bbswitch needs a patch to build with kernel 5.7
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-32-OK MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-08-08 00:28 CEST by David Walser
Modified: 2020-08-19 17:44 CEST (History)
3 users (show)

See Also:
Source RPM: dkms-bbswitch-0.8-12.mga7.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2020-08-08 00:28:28 CEST
Advisory:
----------------------------------------

The dkms-bbswitch package has been patched to be able to build against the 5.7
series Linux kernels.

----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
dkms-bbswitch-0.8-12.mga7

from dkms-bbswitch-0.8-12.mga7.src.rpm
Comment 1 Ben McMonagle 2020-08-19 05:11:23 CEST
uname -a
Linux localhost.localdomain 5.7.14-desktop-1.mga7 #1 SMP Fri Aug 7 14:45:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


urpmi dkms-bbswitch 

installing dkms-bbswitch-0.8-12.mga7.noarch.rpm from /var/cache/urpmi/rpms   
Preparing...                     #############################################
      1/1: dkms-bbswitch         #############################################

Creating symlink /var/lib/dkms/bbswitch/0.8-12.mga7/source ->
                 /usr/src/bbswitch-0.8-12.mga7

DKMS: add Completed.

Preparing kernel 5.7.14-desktop-1.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)

Building module:
cleaning build area....
make -j2 KERNELRELEASE=5.7.14-desktop-1.mga7 KVERSION=5.7.14-desktop-1.mga7.....
cleaning build area....
cleaning kernel tree (make mrproper)....(bad exit status: 2)

DKMS: build Completed.

bbswitch.ko.xz:
 - Installation
   - Installing to /lib/modules/5.7.14-desktop-1.mga7/dkms/drivers/acpi/

depmod.......

DKMS: install Completed.
modprobe: ERROR: could not insert 'bbswitch': No such device

CC: (none) => westel

Comment 2 Ben McMonagle 2020-08-19 05:20:27 CEST
uname -a
Linux localhost.localdomain 5.7.14-desktop-1.mga7 #1 SMP Fri Aug 7 15:21:29 UTC 2020 i686 i686 i386 GNU/Linux

installing dkms-bbswitch-0.8-12.mga7.noarch.rpm from /var/cache/urpmi/rpms     
Preparing...                     #############################################
      1/1: dkms-bbswitch         #############################################

Creating symlink /var/lib/dkms/bbswitch/0.8-12.mga7/source ->
                 /usr/src/bbswitch-0.8-12.mga7

DKMS: add Completed.

Preparing kernel 5.7.14-desktop-1.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)

Building module:
cleaning build area....
make -j2 KERNELRELEASE=5.7.14-desktop-1.mga7 KVERSION=5.7.14-desktop-1.mga7.....
cleaning build area....
cleaning kernel tree (make mrproper)....(bad exit status: 2)

DKMS: build Completed.

bbswitch.ko.xz:
 - Installation
   - Installing to /lib/modules/5.7.14-desktop-1.mga7/dkms/drivers/acpi/

depmod.......

DKMS: install Completed.
modprobe: ERROR: could not insert 'bbswitch': No such device

same hardware as comment #1

lspcidrake
~
Card:NVIDIA GeForce 8100 to GeForce 415: NVIDIA Corporation|G84GLM [Quadro FX 570M] [DISPLAY_VGA] (rev: a1)
Comment 3 David Walser 2020-08-19 06:32:28 CEST
Advisory and package list in Comment 0.

CC: (none) => sysadmin-bugs
Whiteboard: (none) => MGA7-32-OK MGA7-64-OK
Keywords: (none) => validated_update

Aurelien Oudelet 2020-08-19 17:05:51 CEST

CC: (none) => ouaurelien
Keywords: (none) => advisory

Comment 4 Mageia Robot 2020-08-19 17:44:34 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0184.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.