Bug#1012560: bbswitch not compatible with kernel 5.18.0-1-amd64 (api change?)

Krzysztof Krzyżaniak (eloy) eloy at debian.org
Thu Jun 9 10:32:21 BST 2022


Source: bbswitch
Version: 0.8-10
Severity: important

Dear Maintainer,

   * What led up to the situation?
 
 Installation of new kernel in unstable, 5.18.0-1-amd64
   
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     
Module bbswitch-0.8 for kernel 5.17.0-3-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

bbswitch.ko:
 - Uninstallation
    - Deleting from: /lib/modules/5.17.0-3-amd64/
    rmdir: failed to remove '': No such file or directory
     - Original module
        - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous
module version.
depmod...
Deleting module bbswitch-0.8 completely from the DKMS tree.
Loading new bbswitch-0.8 DKMS files...
Building for 5.18.0-1-amd64
Building initial module for 5.18.0-1-amd64
Error! Bad return status for module build on kernel: 5.18.0-1-amd64
(x86_64)
Consult /var/lib/dkms/bbswitch/0.8/build/make.log for more information.


and this is body of make.log:

DKMS make.log for bbswitch-0.8 for kernel 5.18.0-1-amd64 (x86_64)
Thu Jun  9 09:29:05 AM CEST 2022
make -C /lib/modules/5.18.0-1-amd64/build M="$(pwd)" modules
make[1]: Entering directory '/usr/src/linux-headers-5.18.0-1-amd64'
  CC [M]  /var/lib/dkms/bbswitch/0.8/build/bbswitch.o
  /var/lib/dkms/bbswitch/0.8/build/bbswitch.c: In function
‘bbswitch_off’:
/var/lib/dkms/bbswitch/0.8/build/bbswitch.c:271:13: error: implicit
declaration of function ‘acpi_bus_get_device’; did you mean
‘acpi_is_pnp_device’? [-Werror=implicit-function-declaration]
  271 |         r = acpi_bus_get_device(dis_handle, &ad);
        |             ^~~~~~~~~~~~~~~~~~~
	      |             acpi_is_pnp_device
	      cc1: some warnings being treated as errors
	      make[2]: ***
[/usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build:293:
/var/lib/dkms/bbswitch/0.8/build/bbswitch.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.18.0-1-common/Makefile:1858:
/var/lib/dkms/bbswitch/0.8/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-1-amd64'
make: *** [Makefile:13: default] Error 2


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the pkg-nvidia-devel mailing list