Confirmed that bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu10~22.04.1) can be installed and built on a jammy system running the hwe-5.19 kernel:
======================================= Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu10~22.04.1) ... Loading new bcmwl-6.30.223.271+bdcom DKMS files... Building for 5.19.0-32-generic Building for architecture x86_64 Building initial module for 5.19.0-32-generic Done. wl.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/ depmod... ======================================= The module can be loaded but not fully tested 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/bcmwl/20230119_194034_a1080@/log.gz ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bcmwl in Ubuntu. https://bugs.launchpad.net/bugs/1981968 Title: bcmwl fails to build on the latest kinetic kernel 5.19 Status in bcmwl package in Ubuntu: Fix Released Status in bcmwl source package in Jammy: Fix Committed Status in bcmwl source package in Kinetic: Fix Released Bug description: [Impact] bcmwl fails to build on kernel 5.19 with the following errors: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:603:14: error: implicit declaration of function ‘pci_alloc_consistent’; did you mean ‘osl_dma_alloc_consistent’? [-Werror=implicit-function-declaration] 603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap); | ^~~~~~~~~~~~~~~~~~~~ | osl_dma_alloc_consistent /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3307:26: error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? [-Werror=implicit-function-declaration] 3307 | wl_info_t * wl = PDE_DATA(file_inode(filp)); | ^~~~~~~~ | NODE_DATA /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_map’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’? 626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~ | DMA_TO_DEVICE /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:38: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’? 626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~~~ | DMA_FROM_DEVICE /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:659:17: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? [-Werror=implicit-function-declaration] 659 | return (pci_map_single(osh->pdev, va, size, dir)); | ^~~~~~~~~~~~~~ | dma_map_single /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_unmap’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:668:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’? 668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~ | DMA_TO_DEVICE /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:668:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’? 668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~~~ | DMA_FROM_DEVICE /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:669:9: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? [-Werror=implicit-function-declaration] 669 | pci_unmap_single(osh->pdev, (uint32)pa, size, dir); | ^~~~~~~~~~~~~~~~ | dma_unmap_single [Test case] $ sudo apt install bcmwl-kernel-source [Fix] Patch bcmwl to support the new 5.18+ kernel ABI (PCI/DMA-related functions). [Regression potential] We may experience regressions with bcmwl in kernels >= 5.18. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1981968/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp