PDA

View Full Version : Errors were encountered while processing: broadcom-sta-dkms



retiolus
2020-08-08, 12:14
Using a BCM4360 802.11ac on a MacBook Air (2013)
dpkg -i broadcom-sta-dkms_6.30.223.271-14~bpo10+1_all.deb
dpkg: warning: downgrading broadcom-sta-dkms from 6.30.223.271-14 to 6.30.223.271-14~bpo10+1
(Reading database ... 307010 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.271-14~bpo10+1_all.deb ...
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.7.0-kali1-amd64 (x86_64)
Status: This module version was INACTIVE for this kernel.
depmod...
DKMS: uninstall completed.
Deleting module version: 6.30.223.271
completely from the DKMS tree.
Done.
Unpacking broadcom-sta-dkms (6.30.223.271-14~bpo10+1) over (6.30.223.271-14) ...
Setting up broadcom-sta-dkms (6.30.223.271-14~bpo10+1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 5.7.0-kali1-amd64
Building initial module for 5.7.0-kali1-amd64
Done.
wl.ko:
Running module version sanity check.


Original module

- No original module exists within this kernel


Installation

- Installing to /lib/modules/5.7.0-kali1-amd64/updates/dkms/
depmod...
Backing up initrd.img-5.7.0-kali1-amd64 to /boot/initrd.img-5.7.0-kali1-amd64.old-dkms
Making new initrd.img-5.7.0-kali1-amd64
(If next boot fails, revert to initrd.img-5.7.0-kali1-amd64.old-dkms image)
update-initramfs......(bad exit status: 1)
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.7.0-kali1-amd64 (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:


Uninstallation

- Deleting from: /lib/modules/5.7.0-kali1-amd64/updates/dkms/


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...
update-initramfs......(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.
DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (--install):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
broadcom-sta-dkms

andremtsilva
2020-10-04, 17:55
Same problem since [2020-10-02] broadcom-sta 6.30.223.271-15 imported into kali-rolling (Kali Repository)

Error building module as follow:

Building for 5.8.0-kali2-amd64
Building initial module for 5.8.0-kali2-amd64
Error! Bad return status for module build on kernel: 5.8.0-kali2-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
broadcom-sta-dkms


make.log file content:

DKMS make.log for broadcom-sta-6.30.223.271 for kernel 5.8.0-kali2-amd64 (x86_64)
Sun 04 Oct 2020 02:35:52 PM -03
CFG80211 API is prefered for this kernel version
Makefile:89: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/5.8.0-kali2-amd64/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali2-amd64'


ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.


make[2]: *** [/usr/src/linux-headers-5.8.0-kali2-common/Makefile:718: include/config/auto.conf] Error 1
make[1]: *** [/usr/src/linux-headers-5.8.0-kali2-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali2-amd64'
make: *** [Makefile:181: all] Error 2